mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00
33 lines
944 B
BlitzBasic
33 lines
944 B
BlitzBasic
SUMMARY = "A collection of ASN.1-based protocols modules."
|
|
DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\
|
|
classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\
|
|
data structures (X.509, PKCS etc.)."
|
|
HOMEPAGE = "https://github.com/etingof/pyasn1-modules"
|
|
LICENSE = "BSD-2-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=190f79253908c986e6cacf380c3a5f6d"
|
|
|
|
SRC_URI += "file://0001-Stop-using-pyasn1.compat.octets.patch"
|
|
SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2ab60a7c"
|
|
|
|
PYPI_PACKAGE = "pyasn1_modules"
|
|
|
|
inherit pypi ptest python_setuptools_build_meta
|
|
|
|
RDEPENDS:${PN} = "python3-pyasn1"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|
|
|
|
SRC_URI += " \
|
|
file://run-ptest \
|
|
"
|
|
|
|
RDEPENDS:${PN}-ptest += " \
|
|
python3-pytest \
|
|
python3-unittest-automake-output \
|
|
"
|
|
|
|
do_install_ptest() {
|
|
install -d ${D}${PTEST_PATH}/tests
|
|
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
|
|
}
|