diff options
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.bb | 30 |
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 @@ | |||
| 1 | SUMMARY = "ECDSA cryptographic signature library (pure python)" | ||
| 2 | SECTION = "devel/python" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d" | ||
| 5 | |||
| 6 | PYPI_PACKAGE = "ecdsa" | ||
| 7 | SRC_URI[sha256sum] = "478cba7b62555866fcb3bb3fe985e06decbdb68ef55713c4e5ab98c57d508e61" | ||
| 8 | |||
| 9 | inherit pypi setuptools3 python3native ptest-python-pytest | ||
| 10 | |||
| 11 | RDEPENDS:${PN}-ptest += " \ | ||
| 12 | python3-hypothesis \ | ||
| 13 | " | ||
| 14 | |||
| 15 | do_install_ptest:append () { | ||
| 16 | install -d ${D}${PTEST_PATH}/tests | ||
| 17 | cp -rf ${S}/src/ecdsa/* ${D}${PTEST_PATH}/tests/ | ||
| 18 | } | ||
| 19 | |||
| 20 | RDEPENDS:${PN} += " \ | ||
| 21 | python3-gmpy2 \ | ||
| 22 | python3-json \ | ||
| 23 | python3-six \ | ||
| 24 | " | ||
| 25 | |||
| 26 | do_install:append() { | ||
| 27 | rm ${D}${PYTHON_SITEPACKAGES_DIR}/ecdsa/test_*.py | ||
| 28 | } | ||
| 29 | |||
| 30 | BBCLASSEXTEND = "native nativesdk" | ||
