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 | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 13 | SRC_URI[md5sum] = "a0f3f563ab1c5c3bc02fae8d4aa3ad16" |
| 14 | SRC_URI[sha256sum] = "c132bab45d4bd0fff1d3fe294d92b0a6eb8404e93337b3127bdec9f21de117e6" |
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}-pycparser \ |
| 21 | ${PYTHON_PN}-setuptools \ |
| 22 | ${PYTHON_PN}-six \ |
| 23 | " |
| 24 | |
| 25 | RDEPENDS_${PN}_class-target += " \ |
| 26 | ${PYTHON_PN}-cffi \ |
| 27 | ${PYTHON_PN}-idna \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 28 | ${PYTHON_PN}-numbers \ |
Brad Bishop | 0011132 | 2018-04-01 22:23:53 -0400 | [diff] [blame] | 29 | ${PYTHON_PN}-asn1crypto \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 30 | ${PYTHON_PN}-pycparser \ |
| 31 | ${PYTHON_PN}-setuptools \ |
| 32 | ${PYTHON_PN}-six \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 33 | ${PYTHON_PN}-threading \ |
| 34 | " |
| 35 | |
| 36 | RDEPENDS_${PN}-ptest += " \ |
| 37 | ${PN} \ |
| 38 | ${PYTHON_PN}-cryptography-vectors \ |
| 39 | ${PYTHON_PN}-iso8601 \ |
| 40 | ${PYTHON_PN}-pretend \ |
| 41 | ${PYTHON_PN}-pytest \ |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame^] | 42 | ${PYTHON_PN}-pytz \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 43 | " |
| 44 | |
| 45 | inherit ptest |
| 46 | |
| 47 | do_install_ptest() { |
| 48 | install -d ${D}${PTEST_PATH}/tests |
| 49 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 50 | install -d ${D}${PTEST_PATH}/tests/hazmat |
| 51 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ |
| 52 | } |
| 53 | |
| 54 | FILES_${PN}-dbg += " \ |
| 55 | ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \ |
| 56 | " |
| 57 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 58 | BBCLASSEXTEND = "native nativesdk" |