equal
deleted
inserted
replaced
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 # |
21 # |
22 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
23 # |
23 # |
24 |
24 |
25 include ../../make-rules/shared-macros.mk |
25 include ../../make-rules/shared-macros.mk |
26 |
26 |
27 COMPONENT_NAME= pylint |
27 COMPONENT_NAME= pylint |
35 COMPONENT_BUGDB= utility/pylint |
35 COMPONENT_BUGDB= utility/pylint |
36 |
36 |
37 TPNO= 9026 |
37 TPNO= 9026 |
38 |
38 |
39 # Depends on logilab-common which is not Python 3 ready. |
39 # Depends on logilab-common which is not Python 3 ready. |
40 PYTHON_VERSIONS= 2.7 2.6 |
40 PYTHON_VERSIONS= $(PYTHON2_VERSIONS) |
41 |
41 |
42 include $(WS_MAKE_RULES)/prep.mk |
42 include $(WS_MAKE_RULES)/prep.mk |
43 include $(WS_MAKE_RULES)/ips.mk |
43 include $(WS_MAKE_RULES)/ips.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
44 include $(WS_MAKE_RULES)/setup.py.mk |
45 |
45 |
93 |
93 |
94 build: $(BUILD_32) |
94 build: $(BUILD_32) |
95 |
95 |
96 install: $(INSTALL_32) |
96 install: $(INSTALL_32) |
97 |
97 |
98 # The tests are run using python 2.7 only and require that |
|
99 # the python-27 package is installed (does not have to be the default python). |
|
100 # Testing using python-26 is done manually, since it requires |
|
101 # downloading and installing the unittest2 component (not part of Solaris), |
|
102 # which provides python 2.7 functionality to the unittest python library |
|
103 # in the python2.6 package. |
|
104 |
|
105 # Use the python 2.7 libraries for testing. |
98 # Use the python 2.7 libraries for testing. |
106 test: PYTHON_VERSION=2.7 |
99 test: PYTHON_VERSION=2.7 |
107 |
100 |
108 # logilab-common and logilab-astng are runtime dependencies of pylint, |
101 # logilab-common and logilab-astng are runtime dependencies of pylint, |
109 # and we need to use their latest versions from this workspace. |
102 # and we need to use their latest versions from this workspace. |
128 # failures: smoketest [7/14], unittest_lint [3/21] |
121 # failures: smoketest [7/14], unittest_lint [3/21] |
129 |
122 |
130 test: $(TEST_32) |
123 test: $(TEST_32) |
131 |
124 |
132 |
125 |
133 REQUIRED_PACKAGES += runtime/python-26 |
|
134 REQUIRED_PACKAGES += runtime/python-27 |
126 REQUIRED_PACKAGES += runtime/python-27 |
135 REQUIRED_PACKAGES += runtime/python-34 |
127 REQUIRED_PACKAGES += runtime/python-34 |