python3-pyasn1: merge bb/inc

As there's just a single user of the include, merge them.

(From OE-Core rev: 9f88173917abdaa7334f28473a072186854ef999)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-07-23 15:51:21 +01:00
committed by Richard Purdie
parent c0c4bc2542
commit 14d584b997
2 changed files with 30 additions and 33 deletions

View File

@@ -1,3 +1,31 @@
inherit pypi setuptools3
require python-pyasn1.inc
SUMMARY = "Python library implementing ASN.1 types."
HOMEPAGE = "http://pyasn1.sourceforge.net/"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
inherit pypi setuptools3 pytest
RDEPENDS:${PN}:class-target += " \
python3-codecs \
python3-logging \
python3-math \
python3-shell \
"
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/
}
BBCLASSEXTEND = "native nativesdk"