summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb
new file mode 100644
index 0000000000..4e884b2d74
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-ecdsa_0.19.1.bb
@@ -0,0 +1,30 @@
1SUMMARY = "ECDSA cryptographic signature library (pure python)"
2SECTION = "devel/python"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d"
5
6PYPI_PACKAGE = "ecdsa"
7SRC_URI[sha256sum] = "478cba7b62555866fcb3bb3fe985e06decbdb68ef55713c4e5ab98c57d508e61"
8
9inherit pypi setuptools3 python3native ptest-python-pytest
10
11RDEPENDS:${PN}-ptest += " \
12 python3-hypothesis \
13"
14
15do_install_ptest:append () {
16 install -d ${D}${PTEST_PATH}/tests
17 cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/
18}
19
20RDEPENDS:${PN} += " \
21 python3-gmpy2 \
22 python3-json \
23 python3-six \
24"
25
26do_install:append() {
27 rm ${D}${PYTHON_SITEPACKAGES_DIR}/ecdsa/test_*.py
28}
29
30BBCLASSEXTEND = "native nativesdk"