From 26057707452352ac9b4a2cf52f240a27ca72cb27 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 17 Aug 2022 18:35:38 +0300 Subject: [PATCH] python3-term: Upgrade 2.3 -> 2.4 Upgrade to release 2.4: - Add Python 3.8-3.10 to tox.ini. Remove old Python versions. - Replace deprecated python setup.py test in tox.ini. - Remove deprecated test_suite from setup.py. - Move metadata to setup.cfg and add a pyproject.toml file. - Include tests in sdist but not in wheel. - Fix escape sequence warning in byte string literal. - Open /dev/tty in binary mode under both Python 2 and 3. - Officially change opentty's bufsize argument default from 1 to -1. Under Python 3, 1 has effectively meant -1 all along but Python 3.8 now issues a warning. - Add readto, getfgcolor, getbgcolor, islightmode, and isdarkmode. Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/{python3-term_2.3.bb => python3-term_2.4.bb} | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) rename meta-python/recipes-devtools/python/{python3-term_2.3.bb => python3-term_2.4.bb} (54%) diff --git a/meta-python/recipes-devtools/python/python3-term_2.3.bb b/meta-python/recipes-devtools/python/python3-term_2.4.bb similarity index 54% rename from meta-python/recipes-devtools/python/python3-term_2.3.bb rename to meta-python/recipes-devtools/python/python3-term_2.4.bb index 6b62eb02ce..bc6a4c3df6 100644 --- a/meta-python/recipes-devtools/python/python3-term_2.3.bb +++ b/meta-python/recipes-devtools/python/python3-term_2.4.bb @@ -3,9 +3,10 @@ SECTION = "devel/python" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d90e2d280a4836c607520383d1639be1" -SRC_URI[md5sum] = "ab0c1bce381b1109fe4390c56aa06237" -SRC_URI[sha256sum] = "3dcc8c212e04700784e5c1c5b601916ba0549ae6025b35b64fd62144899e7180" - -PYPI_PACKAGE_EXT = "zip" +SRC_URI[sha256sum] = "2cca4cf5f83035ca12627c4bbeff2891ad4711666247a790fd8200d73f38c3f0" inherit pypi setuptools3 + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-io \ +"