diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python-cryptography_1.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python-cryptography_1.1.bb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python-cryptography_1.1.bb b/meta-python/recipes-devtools/python/python-cryptography_1.1.bb new file mode 100644 index 0000000000..b3eee0309c --- /dev/null +++ b/meta-python/recipes-devtools/python/python-cryptography_1.1.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | SUMMARY = "Provides cryptographic recipes and primitives to Python developers" | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "Apache-2.0 | BSD" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=8c3617db4fb6fae01f1d253ab91511e4" | ||
5 | DEPENDS += " python-cffi-native python-cffi python-enum34 python-six python-pyasn1" | ||
6 | SRCNAME = "cryptography" | ||
7 | |||
8 | SRC_URI = "https://pypi.python.org/packages/source/c/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \ | ||
9 | file://run-ptest \ | ||
10 | " | ||
11 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
12 | |||
13 | SRC_URI[md5sum] = "dd06da41535184f48f2c8e8b74dd570f" | ||
14 | SRC_URI[sha256sum] = "059bc6428b1d0e2317f505698602642f1d8dda5b120ec573a59a430d8cb7a32d" | ||
15 | |||
16 | inherit pypi | ||
17 | |||
18 | RDEPENDS_${PN} = "\ | ||
19 | python-pyasn1\ | ||
20 | python-six\ | ||
21 | python-cffi\ | ||
22 | python-enum34\ | ||
23 | python-setuptools\ | ||
24 | python-pycparser\ | ||
25 | python-subprocess\ | ||
26 | python-threading\ | ||
27 | python-numbers\ | ||
28 | python-contextlib\ | ||
29 | python-ipaddress\ | ||
30 | python-pyasn1\ | ||
31 | python-idna\ | ||
32 | " | ||
33 | |||
34 | RDEPENDS_${PN}-ptest = "\ | ||
35 | ${PN}\ | ||
36 | python-pytest\ | ||
37 | python-pretend\ | ||
38 | python-iso8601\ | ||
39 | python-cryptography-vectors\ | ||
40 | " | ||
41 | |||
42 | inherit ptest | ||
43 | |||
44 | do_install_ptest() { | ||
45 | install -d ${D}${PTEST_PATH}/tests | ||
46 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
47 | install -d ${D}${PTEST_PATH}/tests/hazmat | ||
48 | cp -rf ${S}/tests/hazmat/* ${D}${PTEST_PATH}/tests/hazmat/ | ||
49 | } | ||
50 | |||
51 | FILES_${PN}-dbg += " \ | ||
52 | ${libdir}/python2.7/site-packages/${SRCNAME}/hazmat/bindings/.debug \ | ||
53 | " \ No newline at end of file | ||