diff mbox series

[meta-python,2/3] python3-prettytable: Upgrade 3.4.1 -> 3.6.0

Message ID 20230110105609.56178-2-leon.anavi@konsulko.com
State Under Review
Headers show
Series [meta-python,1/3] python3-traitlets: Upgrade 5.8.0 -> 5.8.1 | expand

Commit Message

Leon Anavi Jan. 10, 2023, 10:56 a.m. UTC
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 <leon.anavi@konsulko.com>
---
 ...-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 mbox series

Patch

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<pver>(\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 \