components/python/greenlet/Makefile
branchs11u2-sru
changeset 4156 4b1def16fe9b
parent 3028 5e73a3a3f66a
equal deleted inserted replaced
4146:097063f324c0 4156:4b1def16fe9b
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
    21 
    22 #
    22 #
       
    23 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
    23 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    24 
    27 
    25 COMPONENT_NAME=		greenlet
    28 COMPONENT_NAME=		greenlet
    26 COMPONENT_VERSION=	0.4.1
    29 COMPONENT_VERSION=	0.4.5
    27 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    28 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).zip
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).zip
    29 COMPONENT_ARCHIVE_HASH=	\
    32 COMPONENT_ARCHIVE_HASH=	\
    30     sha256:ea671592f8460541286b133ed46a6cf5311a6b75051cc31b53e2bc38992b775a
    33     sha256:b990f00f120c4cfb6672eec2acd32210990a2c7b70b815c034d1d8cbf08e2dbe
    31 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    34 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    32 COMPONENT_PROJECT_URL=	https://github.com/python-greenlet/greenlet
    35 COMPONENT_PROJECT_URL=	https://github.com/python-greenlet/greenlet
    33 COMPONENT_BUGDB=	python-mod/greenlet
    36 COMPONENT_BUGDB=	python-mod/greenlet
    34 
    37 
    35 include $(WS_TOP)/make-rules/prep.mk
    38 TPNO=			21721
    36 include $(WS_TOP)/make-rules/setup.py.mk
    39 
    37 include $(WS_TOP)/make-rules/ips.mk
    40 include $(WS_MAKE_RULES)/prep.mk
       
    41 include $(WS_MAKE_RULES)/setup.py.mk
       
    42 include $(WS_MAKE_RULES)/ips.mk
    38 
    43 
    39 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    44 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    40 
    45 
    41 COMPILER =	gcc
    46 COMPILER =	gcc
    42 CC =		$(COMPONENT_DIR)/CC.sh
    47 CC =		$(COMPONENT_DIR)/CC.sh
    52 PYTHON_ENV += LDSHARED="$(LDSHARED)"
    57 PYTHON_ENV += LDSHARED="$(LDSHARED)"
    53 PYTHON_ENV += LD="$(LD)"
    58 PYTHON_ENV += LD="$(LD)"
    54 PYTHON_ENV += CFLAGS="$(CFLAGS)"
    59 PYTHON_ENV += CFLAGS="$(CFLAGS)"
    55 COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
    60 COMPONENT_INSTALL_ENV += $(PYTHON_ENV)
    56 
    61 
    57 # One of the tests, test_exception_switch (tests.test_cpp.CPPTests), 
    62 # One of the tests, test_exception_switch (tests.test_cpp.CPPTests),
    58 # failed in 64-bit. Skip it for now.
    63 # failed in 64-bit. Skip it for now.
    59 COMPONENT_TEST_ENV +=	GREENLET_TEST_CPP=no
    64 COMPONENT_TEST_ENV +=	GREENLET_TEST_CPP=no
    60 COMPONENT_TEST_ENV +=	PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
    65 COMPONENT_TEST_ENV +=	PYTHONPATH=$(PROTO_DIR)$(PYTHON_VENDOR_PACKAGES.32)
    61 COMPONENT_TEST_DIR=	$(COMPONENT_SRC)
    66 COMPONENT_TEST_DIR=	$(COMPONENT_SRC)
    62 COMPONENT_TEST_ARGS=	setup.py test
    67 COMPONENT_TEST_ARGS=	setup.py test