blob: ce9791993c2065303a7f738f08410c96dae56147 [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001SUMMARY = "A collection of ASN.1-based protocols modules."
2DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\
3 classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\
4 data structures (X.509, PKCS etc.)."
5HOMEPAGE = "https://github.com/etingof/pyasn1-modules"
6LICENSE = "BSD-2-Clause"
Brad Bishop26bdd442019-08-16 17:08:17 -04007LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd"
Brad Bishop316dfdd2018-06-25 12:45:53 -04008
Brad Bishop6a62e0e2019-10-21 08:11:42 -04009SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859"
10SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b"
Brad Bishop316dfdd2018-06-25 12:45:53 -040011
Andrew Geissler82c905d2020-04-13 13:39:40 -050012inherit pypi ptest
Brad Bishop316dfdd2018-06-25 12:45:53 -040013
14RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1"
15
16BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
18SRC_URI += " \
19 file://run-ptest \
20"
21
22RDEPENDS_${PN}-ptest += " \
23 ${PYTHON_PN}-pytest \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}