From f474f669fb1eea164d0cdbce02bee3fa888ae57f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 1 Apr 2024 22:50:59 +0800 Subject: python3-pyasn1-modules: upgrade 0.3.0 -> 0.4.0 Changelog: ========== - Added support for Python 3.11, 3.12 - Removed support for EOL Pythons 2.7, 3.6, 3.7 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-pyasn1-modules_0.3.0.bb | 31 ---------------------- .../python/python3-pyasn1-modules_0.4.0.bb | 31 ++++++++++++++++++++++ 2 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb deleted file mode 100644 index ccd6025be1..0000000000 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.3.0.bb +++ /dev/null @@ -1,31 +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=190f79253908c986e6cacf380c3a5f6d" - -SRC_URI[sha256sum] = "5bd01446b736eb9d31512a30d46c1ac3395d676c6f3cafa4c03eb54b9925631c" - -PYPI_PACKAGE = "pyasn1_modules" - -inherit pypi ptest setuptools3 - -RDEPENDS:${PN} = "python3-pyasn1" - -BBCLASSEXTEND = "native nativesdk" - -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-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb new file mode 100644 index 0000000000..34f3639e53 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.0.bb @@ -0,0 +1,31 @@ +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=190f79253908c986e6cacf380c3a5f6d" + +SRC_URI[sha256sum] = "831dbcea1b177b28c9baddf4c6d1013c24c3accd14a1873fffaa6a2e905f17b6" + +PYPI_PACKAGE = "pyasn1_modules" + +inherit pypi ptest setuptools3 + +RDEPENDS:${PN} = "python3-pyasn1" + +BBCLASSEXTEND = "native nativesdk" + +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/ +} -- cgit v1.2.3-54-g00ecf