meta-openembedded/meta-python/recipes-devtools/python/python3-ecdsa_0.18.0.bb
Bartosz Golaszewski d6ad0dae17 python3-ecdsa: don't install tests
If we don't want to pull python3-unittest at run-time then we must not
install test packages. This recipe doesn't provide ptest anyway.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-24 09:01:52 -07:00

20 lines
542 B
BlitzBasic

SUMMARY = "ECDSA cryptographic signature library (pure python)"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=66ffc5e30f76cbb5358fe54b645e5a1d"
DEPENDS += "python3-pip python3-pbr"
PYPI_PACKAGE = "ecdsa"
SRC_URI[sha256sum] = "190348041559e21b22a1d65cee485282ca11a6f81d503fddb84d5017e9ed1e49"
inherit pypi setuptools3 python3native
RDEPENDS:${PN} += "python3-six python3-gmpy2 python3-pbr"
BBCLASSEXTEND = "native nativesdk"
do_install:append() {
rm ${D}${PYTHON_SITEPACKAGES_DIR}/ecdsa/test_*.py
}