blob: 1b941630e72801135792d2241d6f2dc4afe50dc2 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "Python library implementing ASN.1 types."
2HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause"
Brad Bishopc342db32019-05-15 21:57:59 -04004LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=a14482d15c2249de3b6f0e8a47e021fd"
Patrick Williamsddad1a12017-02-23 20:36:32 -06005
Brad Bishope42b3e32020-01-15 22:08:42 -05006SRC_URI[md5sum] = "dffae4ff9f997a83324b3f33fe62be54"
7SRC_URI[sha256sum] = "aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba"
Patrick Williamsddad1a12017-02-23 20:36:32 -06008
Patrick Williams213cb262021-08-07 19:21:33 -05009RDEPENDS:${PN}:class-target += " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 ${PYTHON_PN}-codecs \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050011 ${PYTHON_PN}-logging \
12 ${PYTHON_PN}-math \
Patrick Williamsddad1a12017-02-23 20:36:32 -060013 ${PYTHON_PN}-shell \
14"
15
16BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050017
18inherit ptest
19
20SRC_URI += " \
21 file://run-ptest \
Andrew Geissler615f2f12022-07-15 14:00:58 -050022 file://0001-Fix-DeprecationWarning-__int__-returned-non-int-on-P.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050023"
24
Patrick Williams213cb262021-08-07 19:21:33 -050025RDEPENDS:${PN}-ptest += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050026 ${PYTHON_PN}-pytest \
27"
28
29do_install_ptest() {
30 install -d ${D}${PTEST_PATH}/tests
31 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
32}