diff options
author | Ross Burton <ross.burton@arm.com> | 2024-07-23 15:51:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-07-24 22:51:40 +0100 |
commit | 14d584b9975e9a6509e819ee34660b35ad25842c (patch) | |
tree | 49a14b23aaa6ccc36132e998deb484de42d7062f | |
parent | c0c4bc2542a3e30b8a1dd7825c228a5cbbd00ec5 (diff) | |
download | poky-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.inc | 31 | ||||
-rw-r--r-- | meta/recipes-devtools/python/python3-pyasn1_0.6.0.bb | 32 |
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 @@ | |||
1 | SUMMARY = "Python library implementing ASN.1 types." | ||
2 | HOMEPAGE = "http://pyasn1.sourceforge.net/" | ||
3 | LICENSE = "BSD-2-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" | ||
5 | |||
6 | SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" | ||
7 | |||
8 | RDEPENDS:${PN}:class-target += " \ | ||
9 | python3-codecs \ | ||
10 | python3-logging \ | ||
11 | python3-math \ | ||
12 | python3-shell \ | ||
13 | " | ||
14 | |||
15 | BBCLASSEXTEND = "native nativesdk" | ||
16 | |||
17 | inherit ptest | ||
18 | |||
19 | SRC_URI += " \ | ||
20 | file://run-ptest \ | ||
21 | " | ||
22 | |||
23 | RDEPENDS:${PN}-ptest += " \ | ||
24 | python3-pytest \ | ||
25 | python3-unittest-automake-output \ | ||
26 | " | ||
27 | |||
28 | do_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 @@ | |||
1 | inherit pypi setuptools3 | 1 | SUMMARY = "Python library implementing ASN.1 types." |
2 | require python-pyasn1.inc | 2 | HOMEPAGE = "http://pyasn1.sourceforge.net/" |
3 | LICENSE = "BSD-2-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.rst;md5=190f79253908c986e6cacf380c3a5f6d" | ||
3 | 5 | ||
6 | SRC_URI[sha256sum] = "3a35ab2c4b5ef98e17dfdec8ab074046fbda76e281c5a706ccd82328cfc8f64c" | ||
7 | |||
8 | inherit pypi setuptools3 pytest | ||
9 | |||
10 | RDEPENDS:${PN}:class-target += " \ | ||
11 | python3-codecs \ | ||
12 | python3-logging \ | ||
13 | python3-math \ | ||
14 | python3-shell \ | ||
15 | " | ||
16 | |||
17 | SRC_URI += " \ | ||
18 | file://run-ptest \ | ||
19 | " | ||
20 | |||
21 | RDEPENDS:${PN}-ptest += " \ | ||
22 | python3-pytest \ | ||
23 | python3-unittest-automake-output \ | ||
24 | " | ||
25 | |||
26 | do_install_ptest() { | ||
27 | install -d ${D}${PTEST_PATH}/tests | ||
28 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
29 | } | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||