Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "Provides cryptographic recipes and primitives to python developers" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 2 | HOMEPAGE = "https://cryptography.io/" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 3 | LICENSE = "Apache-2.0 | BSD" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=097f805837700cfac572ac274cd38124" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 5 | |
| 6 | DEPENDS += " \ |
| 7 | ${PYTHON_PN}-cffi \ |
| 8 | ${PYTHON_PN}-cffi-native \ |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 9 | ${PYTHON_PN}-asn1crypto \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 10 | ${PYTHON_PN}-six \ |
| 11 | " |
| 12 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame^] | 13 | SRC_URI[md5sum] = "464f180ff64622760cca7167f97b3ff4" |
| 14 | SRC_URI[sha256sum] = "e85b410885addaeb31a867eabcefc9ef4a7e904ad45eac9e60a763a54b244626" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 15 | |
| 16 | RDEPENDS_${PN} += " \ |
| 17 | ${PYTHON_PN}-cffi \ |
| 18 | ${PYTHON_PN}-idna \ |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 19 | ${PYTHON_PN}-asn1crypto \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 20 | ${PYTHON_PN}-setuptools \ |
| 21 | ${PYTHON_PN}-six \ |
| 22 | " |
| 23 | |
| 24 | RDEPENDS_${PN}_class-target += " \ |
| 25 | ${PYTHON_PN}-cffi \ |
| 26 | ${PYTHON_PN}-idna \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 27 | ${PYTHON_PN}-numbers \ |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 28 | ${PYTHON_PN}-asn1crypto \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 29 | ${PYTHON_PN}-setuptools \ |
| 30 | ${PYTHON_PN}-six \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 31 | ${PYTHON_PN}-threading \ |
| 32 | " |
| 33 | |
| 34 | RDEPENDS_${PN}-ptest += " \ |
| 35 | ${PN} \ |
| 36 | ${PYTHON_PN}-cryptography-vectors \ |
| 37 | ${PYTHON_PN}-iso8601 \ |
| 38 | ${PYTHON_PN}-pretend \ |
| 39 | ${PYTHON_PN}-pytest \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 40 | ${PYTHON_PN}-pytz \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 41 | " |
| 42 | |
| 43 | inherit ptest |
| 44 | |
| 45 | do_install_ptest() { |
| 46 | install -d ${D}${PTEST_PATH}/tests |
| 47 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 48 | install -d ${D}${PTEST_PATH}/tests/hazmat |
| 49 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ |
| 50 | } |
| 51 | |
| 52 | FILES_${PN}-dbg += " \ |
| 53 | ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \ |
| 54 | " |
| 55 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 56 | BBCLASSEXTEND = "native nativesdk" |