components/python/virtualenv/Makefile
changeset 6844 5800d36b7861
parent 4984 7145b15b7f0d
child 7687 1093e2a9adbd
equal deleted inserted replaced
6843:260146747afd 6844:5800d36b7861
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 
    21 
    22 #
    22 #
    23 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved.
    23 # Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
    24 #
    24 #
       
    25 
    25 include ../../../make-rules/shared-macros.mk
    26 include ../../../make-rules/shared-macros.mk
    26 
    27 
    27 COMPONENT_NAME=		virtualenv
    28 COMPONENT_NAME=		virtualenv
    28 COMPONENT_VERSION=	12.0.7
    29 COMPONENT_VERSION=	15.0.1
    29 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
    30 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
    31 COMPONENT_ARCHIVE_HASH=	\
    32 COMPONENT_ARCHIVE_HASH=	sha256:1a74278b8adb383ce4c7619e33c753b1eb7b58dc1e449601c096ca4b76125f84
    32     sha256:d681db1766cdc8aa1b37eb18252c264b775f971166c2bf658a9618c1f3d28741
       
    33 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    33 COMPONENT_ARCHIVE_URL=	$(call pypi_url)
    34 COMPONENT_PROJECT_URL=	https://pypi.python.org/pypi/virtualenv
    34 COMPONENT_PROJECT_URL=	https://github.com/pypa/virtualenv
    35 COMPONENT_BUGDB=	python-mod/virtualenv
    35 COMPONENT_BUGDB=	python-mod/virtualenv
    36 
    36 
    37 TPNO=			21744
    37 TPNO=			29529
    38 
    38 
    39 include $(WS_MAKE_RULES)/prep.mk
    39 include $(WS_MAKE_RULES)/prep.mk
    40 include $(WS_MAKE_RULES)/setup.py.mk
    40 include $(WS_MAKE_RULES)/setup.py.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    41 include $(WS_MAKE_RULES)/ips.mk
    42 
    42 
    43 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    43 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
       
    44 
       
    45 COMPONENT_POST_INSTALL_ACTION +=	\
       
    46     (cd $(PROTO_DIR)/usr/bin; $(MV) virtualenv virtualenv-$(PYTHON_VERSION))
    44 
    47 
    45 # common targets
    48 # common targets
    46 build:		$(BUILD_NO_ARCH)
    49 build:		$(BUILD_NO_ARCH)
    47 
    50 
    48 install:	$(INSTALL_NO_ARCH)
    51 install:	$(INSTALL_NO_ARCH)
    49 
    52 
    50 # Virtualenv has tests, but only in the source repo; not in the tarballs.
    53 # Virtualenv has tests, but only in the source repo; not in the tarballs.
    51 test:		$(NO_TESTS)
    54 test:		$(NO_TESTS)
    52 
    55 
    53 system-test:    $(NO_TESTS)
    56 system-test:	$(NO_TESTS)
    54 
    57 
    55 REQUIRED_PACKAGES += library/python/setuptools-27
    58 REQUIRED_PACKAGES += library/python/setuptools-27
    56 REQUIRED_PACKAGES += library/python/setuptools-34
    59 REQUIRED_PACKAGES += library/python/setuptools-34
       
    60 REQUIRED_PACKAGES += library/python/setuptools-35