blob: 52fd98589d376f57889e760de44f6091c58b6122 [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"
Patrick Williams520786c2023-06-25 16:20:36 -05004LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
Patrick Williamsddad1a12017-02-23 20:36:32 -06005
Patrick Williamsda295312023-12-05 16:48:56 -06006SRC_URI[sha256sum] = "6d391a96e59b23130a5cfa74d6fd7f388dbbe26cc8f1edf39fdddf08d9d6676c"
Patrick Williamsddad1a12017-02-23 20:36:32 -06007
Patrick Williams213cb262021-08-07 19:21:33 -05008RDEPENDS:${PN}:class-target += " \
Brad Bishop6e60e8b2018-02-01 10:27:11 -05009 ${PYTHON_PN}-codecs \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010 ${PYTHON_PN}-logging \
11 ${PYTHON_PN}-math \
Patrick Williamsddad1a12017-02-23 20:36:32 -060012 ${PYTHON_PN}-shell \
13"
14
15BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050016
17inherit ptest
18
19SRC_URI += " \
Patrick Williams520786c2023-06-25 16:20:36 -050020 file://run-ptest \
21 "
Andrew Geissler82c905d2020-04-13 13:39:40 -050022
Patrick Williams213cb262021-08-07 19:21:33 -050023RDEPENDS:${PN}-ptest += " \
Andrew Geissler82c905d2020-04-13 13:39:40 -050024 ${PYTHON_PN}-pytest \
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050025 ${PYTHON_PN}-unittest-automake-output \
Andrew Geissler82c905d2020-04-13 13:39:40 -050026"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31}