diff mbox series

[21/37] python3-pyasn1: merge bb/inc

Message ID 20240723145137.74198-21-ross.burton@arm.com
State Accepted, archived
Commit 9f88173917abdaa7334f28473a072186854ef999
Headers show
Series [01/37] python3: add dependency on -compression to -core | expand

Commit Message

Ross Burton July 23, 2024, 2:51 p.m. UTC
As there's just a single user of the include, merge them.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-devtools/python/python-pyasn1.inc | 31 ------------------
 .../python/python3-pyasn1_0.6.0.bb            | 32 +++++++++++++++++--
 2 files changed, 30 insertions(+), 33 deletions(-)
 delete mode 100644 meta/recipes-devtools/python/python-pyasn1.inc
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python-pyasn1.inc b/meta/recipes-devtools/python/python-pyasn1.inc
deleted file mode 100644
index 7b269f2940f..00000000000
--- a/meta/recipes-devtools/python/python-pyasn1.inc
+++ /dev/null
@@ -1,31 +0,0 @@ 
-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"
-
-RDEPENDS:${PN}:class-target += " \
-    python3-codecs \
-    python3-logging \
-    python3-math \
-    python3-shell \
-"
-
-BBCLASSEXTEND = "native nativesdk"
-
-inherit ptest
-
-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/
-}
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 0519ba5edb0..c321f4e58e5 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 @@ 
-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"