From 0d624eac47a4d1e1740b84966cac828e00f9728c Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 3 Jul 2020 12:30:18 +0300 Subject: python3-pyasn1-modules: Consolidate in a single file Consolidate inc and bb files into a single bb file. Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python-pyasn1-modules.inc | 29 -------------------- .../python/python3-pyasn1-modules_0.2.7.bb | 31 ++++++++++++++++++++-- 2 files changed, 29 insertions(+), 31 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python-pyasn1-modules.inc (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python-pyasn1-modules.inc b/meta-python/recipes-devtools/python/python-pyasn1-modules.inc deleted file mode 100644 index ce9791993c..0000000000 --- a/meta-python/recipes-devtools/python/python-pyasn1-modules.inc +++ /dev/null @@ -1,29 +0,0 @@ -SUMMARY = "A collection of ASN.1-based protocols modules." -DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ - classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\ - data structures (X.509, PKCS etc.)." -HOMEPAGE = "https://github.com/etingof/pyasn1-modules" -LICENSE = "BSD-2-Clause" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd" - -SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859" -SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b" - -inherit pypi ptest - -RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1" - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS_${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb index 3b1186f06c..f2a836b04a 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.2.7.bb @@ -1,2 +1,29 @@ -require python-pyasn1-modules.inc -inherit setuptools3 +SUMMARY = "A collection of ASN.1-based protocols modules." +DESCRIPTION = "A collection of ASN.1 modules expressed in form of pyasn1\ + classes. Includes protocols PDUs definition (SNMP, LDAP etc.) and various\ + data structures (X.509, PKCS etc.)." +HOMEPAGE = "https://github.com/etingof/pyasn1-modules" +LICENSE = "BSD-2-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a14482d15c2249de3b6f0e8a47e021fd" + +SRC_URI[md5sum] = "18c77d56abeef631d94f95ff2d652859" +SRC_URI[sha256sum] = "0c35a52e00b672f832e5846826f1fb7507907f7d52fba6faa9e3c4cbe874fe4b" + +inherit pypi ptest setuptools3 + +RDEPENDS_${PN} = "${PYTHON_PN}-pyasn1" + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS_${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} -- cgit v1.2.3-54-g00ecf