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 |
|
22 # |
21 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2012, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
24 # |
23 include ../../../make-rules/shared-macros.mk |
25 include ../../../make-rules/shared-macros.mk |
24 |
26 |
25 COMPONENT_NAME= virtualenv |
27 COMPONENT_NAME= virtualenv |
26 COMPONENT_VERSION= 1.9.1 |
28 COMPONENT_VERSION= 12.0.7 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
29 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
30 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE_HASH= \ |
31 COMPONENT_ARCHIVE_HASH= \ |
30 sha256:d04f750c968e18de42ff15f50759f15ba22800b12247b95826e2f8b160f7d99a |
32 sha256:d681db1766cdc8aa1b37eb18252c264b775f971166c2bf658a9618c1f3d28741 |
31 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
33 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
32 COMPONENT_PROJECT_URL= https://pypi.python.org/pypi/virtualenv |
34 COMPONENT_PROJECT_URL= https://pypi.python.org/pypi/virtualenv |
33 COMPONENT_BUGDB= python-mod/virtualenv |
35 COMPONENT_BUGDB= python-mod/virtualenv |
34 |
36 |
35 TPNO= 15853 |
37 TPNO= 21744 |
36 |
|
37 # virtualenv includes bundled versions of setuptools and a couple of other |
|
38 # modules, versioned for older versions of Python only. This appears to be |
|
39 # deliberate, as 'pyvenv' in Python 3.4 appears to subsume this module. Thus |
|
40 # we are setting PYTHON_VERSIONS below to indicate that the (apparent) lack |
|
41 # of need to build this module with Python 3, but the module owner needs to |
|
42 # confirm this. |
|
43 PYTHON_VERSIONS= 2.7 2.6 |
|
44 |
38 |
45 include $(WS_MAKE_RULES)/prep.mk |
39 include $(WS_MAKE_RULES)/prep.mk |
46 include $(WS_MAKE_RULES)/setup.py.mk |
40 include $(WS_MAKE_RULES)/setup.py.mk |
47 include $(WS_MAKE_RULES)/ips.mk |
41 include $(WS_MAKE_RULES)/ips.mk |
48 |
42 |
51 # common targets |
45 # common targets |
52 build: $(BUILD_NO_ARCH) |
46 build: $(BUILD_NO_ARCH) |
53 |
47 |
54 install: $(INSTALL_NO_ARCH) |
48 install: $(INSTALL_NO_ARCH) |
55 |
49 |
|
50 # Virtualenv has tests, but only in the source repo; not in the tarballs. |
56 test: $(NO_TESTS) |
51 test: $(NO_TESTS) |
57 |
|
58 |
52 |
59 REQUIRED_PACKAGES += library/python/setuptools-26 |
53 REQUIRED_PACKAGES += library/python/setuptools-26 |
60 REQUIRED_PACKAGES += library/python/setuptools-27 |
54 REQUIRED_PACKAGES += library/python/setuptools-27 |
|
55 REQUIRED_PACKAGES += library/python/setuptools-34 |