18 # |
18 # |
19 # CDDL HEADER END |
19 # CDDL HEADER END |
20 # |
20 # |
21 |
21 |
22 # |
22 # |
23 # Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. |
23 # Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. |
24 # |
24 # |
25 |
25 |
26 include ../../../make-rules/shared-macros.mk |
26 include ../../../make-rules/shared-macros.mk |
27 |
27 |
28 COMPONENT_NAME= cryptography |
28 COMPONENT_NAME= cryptography |
29 COMPONENT_VERSION= 0.8.2 |
29 COMPONENT_VERSION= 1.2.1 |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
30 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
31 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
32 COMPONENT_ARCHIVE_HASH= \ |
32 COMPONENT_ARCHIVE_HASH= \ |
33 sha256:1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6 |
33 sha256:a13217a03a47e743d26edff7299e4be7358c2fd12a223ac5d6de3229690b6ee5 |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
34 COMPONENT_ARCHIVE_URL= $(call pypi_url) |
35 COMPONENT_PROJECT_URL= https://cryptography.io/ |
35 COMPONENT_PROJECT_URL= https://cryptography.io/ |
36 COMPONENT_BUGDB= python-mod/cryptography |
36 COMPONENT_BUGDB= python-mod/cryptography |
37 |
37 |
38 TPNO= 22524 |
38 TPNO= 26388 |
39 |
39 |
40 include $(WS_MAKE_RULES)/prep.mk |
40 include $(WS_MAKE_RULES)/prep.mk |
41 include $(WS_MAKE_RULES)/setup.py.mk |
41 include $(WS_MAKE_RULES)/setup.py.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
42 include $(WS_MAKE_RULES)/ips.mk |
43 |
43 |
54 build: $(BUILD_32_and_64) |
54 build: $(BUILD_32_and_64) |
55 |
55 |
56 install: $(INSTALL_32_and_64) |
56 install: $(INSTALL_32_and_64) |
57 |
57 |
58 # |
58 # |
59 # tests require cryptography_vectors, iso8601, pretend, pytest, and six, |
59 # tests require cryptography_vectors, iso8601, pretend, pytest>= 2.8.7, |
60 # some of which have not yet integrated. |
60 # hypothesis>=1.11.4 and pyasn1_modules, some of which have not yet integrated. |
|
61 # On a i386 kernel zone with the test dependencies installed, test results are: |
|
62 # Python2.7: 74000 passed, 6136 skipped |
|
63 # Python3.4: 74000 passed, 6136 skipped |
|
64 # Python3.5: 74000 passed, 6136 skipped |
61 # |
65 # |
62 test: $(NO_TESTS) |
66 test: $(NO_TESTS) |
63 |
67 |
|
68 system-test: $(SYSTEM_TESTS_NOT_IMPLEMENTED) |
64 |
69 |
65 REQUIRED_PACKAGES += library/python/cffi |
70 REQUIRED_PACKAGES += library/python/cffi |
66 REQUIRED_PACKAGES += library/security/openssl |
71 REQUIRED_PACKAGES += library/security/openssl |
67 REQUIRED_PACKAGES += system/library |
72 REQUIRED_PACKAGES += system/library |