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) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
22 # |
24 # |
|
25 |
23 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
24 |
27 |
25 COMPONENT_NAME= pyflakes |
28 COMPONENT_NAME= pyflakes |
26 COMPONENT_VERSION= 0.7.2 |
29 COMPONENT_VERSION= 0.8.1 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
30 sha256:e971804569e26a120ded70ca94882cbbf360390538fc3b5861f8ccecaf291178 |
33 sha256:3fa80a10b36d51686bf7744f5dc99622cd5c98ce8ed64022e629868aafc17769 |
31 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
32 COMPONENT_PROJECT_URL= https://pypi.python.org/pypi/pyflakes |
35 COMPONENT_PROJECT_URL= https://launchpad.net/pyflakes |
33 COMPONENT_BUGDB= python-mod/pyflakes |
36 COMPONENT_BUGDB= python-mod/pyflakes |
34 |
37 |
35 TPNO= 14503 |
38 TPNO= 21747 |
36 |
39 |
37 include $(WS_MAKE_RULES)/prep.mk |
40 include $(WS_MAKE_RULES)/prep.mk |
38 include $(WS_MAKE_RULES)/setup.py.mk |
41 include $(WS_MAKE_RULES)/setup.py.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
40 |
43 |
41 COMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \ |
44 COMPONENT_POST_INSTALL_ACTION += (cd $(PROTO_DIR)/usr/bin ; \ |
42 $(MV) -f pyflakes pyflakes-$(PYTHON_VERSION)) |
45 $(MV) -f pyflakes pyflakes-$(PYTHON_VERSION)) |
43 |
46 |
44 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
47 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
45 |
48 |
|
49 COMPONENT_TEST_CMD= $(PYTHON) |
|
50 COMPONENT_TEST_ARGS= setup.py test |
|
51 COMPONENT_TEST_DIR= $(SOURCE_DIR) |
|
52 |
46 # common targets |
53 # common targets |
47 build: $(BUILD_NO_ARCH) |
54 build: $(BUILD_NO_ARCH) |
48 |
55 |
49 install: $(INSTALL_NO_ARCH) |
56 install: $(INSTALL_NO_ARCH) |
50 |
57 |
51 test: $(NO_TESTS) |
58 test: $(TEST_NO_ARCH) |
52 |
59 |
53 |
60 |
54 REQUIRED_PACKAGES += library/python/setuptools-26 |
61 REQUIRED_PACKAGES += library/python/setuptools-26 |
55 REQUIRED_PACKAGES += library/python/setuptools-27 |
62 REQUIRED_PACKAGES += library/python/setuptools-27 |
56 REQUIRED_PACKAGES += library/python/setuptools-34 |
63 REQUIRED_PACKAGES += library/python/setuptools-34 |