blob: 601b12b6a785477201daa63fac6e749fa9512384 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Provides cryptographic recipes and primitives to python developers"
2LICENSE = "Apache-2.0 | BSD"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05003LIC_FILES_CHKSUM = "file://LICENSE;md5=d5ede125ed08d4fd14ec44d334bdb388"
Patrick Williamsddad1a12017-02-23 20:36:32 -06004
5DEPENDS += " \
6 ${PYTHON_PN}-cffi \
7 ${PYTHON_PN}-cffi-native \
8 ${PYTHON_PN}-pyasn1 \
9 ${PYTHON_PN}-six \
10"
11
Brad Bishop6e60e8b2018-02-01 10:27:11 -050012SRC_URI[md5sum] = "fade66de437392ed1ba6980768626204"
13SRC_URI[sha256sum] = "878cb68b3da3d493ffd68f36db11c29deee623671d3287c3f8d685117ffda9a9"
Patrick Williamsddad1a12017-02-23 20:36:32 -060014
15RDEPENDS_${PN} += " \
16 ${PYTHON_PN}-cffi \
17 ${PYTHON_PN}-idna \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018 ${PYTHON_PN}-pyasn1 \
19 ${PYTHON_PN}-pycparser \
20 ${PYTHON_PN}-setuptools \
21 ${PYTHON_PN}-six \
22"
23
24RDEPENDS_${PN}_class-target += " \
25 ${PYTHON_PN}-cffi \
26 ${PYTHON_PN}-idna \
Patrick Williamsddad1a12017-02-23 20:36:32 -060027 ${PYTHON_PN}-numbers \
28 ${PYTHON_PN}-pyasn1 \
29 ${PYTHON_PN}-pycparser \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050030 ${PYTHON_PN}-subprocess \
Patrick Williamsddad1a12017-02-23 20:36:32 -060031 ${PYTHON_PN}-setuptools \
32 ${PYTHON_PN}-six \
Patrick Williamsddad1a12017-02-23 20:36:32 -060033 ${PYTHON_PN}-threading \
34"
35
36RDEPENDS_${PN}-ptest += " \
37 ${PN} \
38 ${PYTHON_PN}-cryptography-vectors \
39 ${PYTHON_PN}-iso8601 \
40 ${PYTHON_PN}-pretend \
41 ${PYTHON_PN}-pytest \
42"
43
44inherit ptest
45
46do_install_ptest() {
47 install -d ${D}${PTEST_PATH}/tests
48 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
49 install -d ${D}${PTEST_PATH}/tests/hazmat
50 cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/
51}
52
53FILES_${PN}-dbg += " \
54 ${libdir}/${PYTHON_PN}2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \
55"
56
57BBCLASSEXTEND = "native nativesdk"