summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2024-07-23 15:51:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-07-24 22:51:40 +0100
commit14d584b9975e9a6509e819ee34660b35ad25842c (patch)
tree49a14b23aaa6ccc36132e998deb484de42d7062f
parentc0c4bc2542a3e30b8a1dd7825c228a5cbbd00ec5 (diff)
downloadpoky-14d584b9975e9a6509e819ee34660b35ad25842c.tar.gz
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>
-rw-r--r--meta/recipes-devtools/python/python-pyasn1.inc31
-rw-r--r--meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb32
2 files changed, 30 insertions, 33 deletions
diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc
deleted file mode 100644
index 7b269f2940..0000000000
--- a/meta/recipes-devtools/python/python-pyasn1.inc
+++ /dev/null
@@ -1,31 +0,0 @@
1SUMMARY = "Python library implementing ASN.1 types."
2HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
5
6SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
7
8RDEPENDS:${PN}:class-target += " \
9 python3-codecs \
10 python3-logging \
11 python3-math \
12 python3-shell \
13"
14
15BBCLASSEXTEND = "native nativesdk"
16
17inherit ptest
18
19SRC_URI += " \
20 file://run-ptest \
21 "
22
23RDEPENDS:${PN}-ptest += " \
24 python3-pytest \
25 python3-unittest-automake-output \
26"
27
28do_install_ptest() {
29 install -d ${D}${PTEST_PATH}/tests
30 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
31}
diff --git a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
index 0519ba5edb..c321f4e58e 100644
--- a/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
+++ b/meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb
@@ -1,3 +1,31 @@
1inherit pypi setuptools3 1SUMMARY = "Python library implementing ASN.1 types."
2require python-pyasn1.inc 2HOMEPAGE = "http://pyasn1.sourceforge.net/"
3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d"
3 5
6SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c"
7
8inherit pypi setuptools3 pytest
9
10RDEPENDS:${PN}:class-target += " \
11 python3-codecs \
12 python3-logging \
13 python3-math \
14 python3-shell \
15"
16
17SRC_URI += " \
18 file://run-ptest \
19 "
20
21RDEPENDS:${PN}-ptest += " \
22 python3-pytest \
23 python3-unittest-automake-output \
24"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}
30
31BBCLASSEXTEND = "native nativesdk"