From e1b8d6c157b01517430c0d548ae9f6427c2b7996 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 10 Jan 2023 12:56:08 +0200 Subject: [PATCH] python3-prettytable: Upgrade 3.4.1 -> 3.6.0 Upgrade to release 3.6.0: - Updated pre-commit with mypy - Test Python 3.12 pre-releases - Fix to min_table_width parameter - Widen tables with long titles Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- ...-prettytable_3.4.1.bb => python3-prettytable_3.6.0.bb} | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) rename meta-python/recipes-devtools/python/{python3-prettytable_3.4.1.bb => python3-prettytable_3.6.0.bb} (84%) diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.4.1.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.6.0.bb similarity index 84% rename from meta-python/recipes-devtools/python/python3-prettytable_3.4.1.bb rename to meta-python/recipes-devtools/python/python3-prettytable_3.6.0.bb index c8b50f0b2..0c0692b14 100644 --- a/meta-python/recipes-devtools/python/python3-prettytable_3.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-prettytable_3.6.0.bb @@ -3,7 +3,7 @@ HOMEPAGE = "http://code.google.com/p/prettytable" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=c9a6829fcd174d9535b46211917c7671" -SRC_URI[sha256sum] = "7d7dd84d0b206f2daac4471a72f299d6907f34516064feb2838e333a4e2567bd" +SRC_URI[sha256sum] = "2e0026af955b4ea67b22122f310b90eae890738c08cb0458693a49b6221530ac" do_install:append() { perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` @@ -16,13 +16,15 @@ UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/PrettyTable/" UPSTREAM_CHECK_REGEX = "/PrettyTable/(?P(\d+[\.\-_]*)+)" BBCLASSEXTEND = "native nativesdk" -inherit pypi ptest setuptools3 +inherit pypi ptest python_hatchling SRC_URI += " \ file://run-ptest \ " -DEPENDS += "${PYTHON_PN}-setuptools-scm-native" +DEPENDS += "\ + ${PYTHON_PN}-hatch-vcs-native \ +" RDEPENDS:${PN} += " \ ${PYTHON_PN}-math \