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) 2013, 2015, Oracle and/or its affiliates. All rights reserved. |
21 # Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved. |
22 # |
22 # |
23 include ../../../make-rules/shared-macros.mk |
23 include ../../../make-rules/shared-macros.mk |
24 |
24 |
25 COMPONENT_NAME= pyasn1 |
25 COMPONENT_NAME= pyasn1 |
26 COMPONENT_VERSION= 0.1.7 |
26 COMPONENT_VERSION= 0.1.9 |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
27 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
28 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
29 COMPONENT_ARCHIVE_HASH= \ |
29 COMPONENT_ARCHIVE_HASH= \ |
30 sha256:e4f81d53c533f6bd9526b047f047f7b101c24ab17339c1a7ad8f98b25c101eab |
30 sha256:853cacd96d1f701ddd67aa03ecc05f51890135b7262e922710112f12a2ed2a7f |
31 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
31 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
32 COMPONENT_PROJECT_URL= http://pyasn1.sourceforge.net/ |
32 COMPONENT_PROJECT_URL= http://pyasn1.sourceforge.net/ |
33 COMPONENT_BUGDB= python-mod/pyasn1 |
33 COMPONENT_BUGDB= python-mod/pyasn1 |
34 |
34 |
35 TPNO= 14413 |
35 TPNO= 26348 |
36 |
36 |
37 include $(WS_MAKE_RULES)/prep.mk |
37 include $(WS_MAKE_RULES)/prep.mk |
38 include $(WS_MAKE_RULES)/setup.py.mk |
38 include $(WS_MAKE_RULES)/setup.py.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
39 include $(WS_MAKE_RULES)/ips.mk |
40 |
40 |
41 COMPONENT_TEST_DIR = $(SOURCE_DIR)/test |
41 COMPONENT_TEST_DIR = $(SOURCE_DIR) |
42 COMPONENT_TEST_ARGS = suite.py |
42 COMPONENT_TEST_ARGS = setup.py test |
|
43 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master |
|
44 |
|
45 # The test output contains arbitrary output. Use nawk to extract just the |
|
46 # sections that summarizes the test result. |
|
47 COMPONENT_TEST_TRANSFORMER = $(NAWK) |
|
48 COMPONENT_TEST_TRANSFORMS = "'/^Ran .+ / { sub(\" tests in .+s\", \" tests in\"); print }; /!NF/ { print }; /^OK/ { print };'" |
43 |
49 |
44 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
50 ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
45 |
51 |
46 # common targets |
52 # common targets |
47 build: $(BUILD_NO_ARCH) |
53 build: $(BUILD_NO_ARCH) |