From 26057707452352ac9b4a2cf52f240a27ca72cb27 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 17 Aug 2022 18:35:38 +0300 Subject: 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 --- meta-python/recipes-devtools/python/python3-term_2.3.bb | 11 ----------- meta-python/recipes-devtools/python/python3-term_2.4.bb | 12 ++++++++++++ 2 files changed, 12 insertions(+), 11 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-term_2.3.bb create mode 100644 meta-python/recipes-devtools/python/python3-term_2.4.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-term_2.3.bb b/meta-python/recipes-devtools/python/python3-term_2.3.bb deleted file mode 100644 index 6b62eb02ce..0000000000 --- a/meta-python/recipes-devtools/python/python3-term_2.3.bb +++ /dev/null @@ -1,11 +0,0 @@ -SUMMARY = "An enhanced version of the tty module" -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" - -inherit pypi setuptools3 diff --git a/meta-python/recipes-devtools/python/python3-term_2.4.bb b/meta-python/recipes-devtools/python/python3-term_2.4.bb new file mode 100644 index 0000000000..bc6a4c3df6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-term_2.4.bb @@ -0,0 +1,12 @@ +SUMMARY = "An enhanced version of the tty module" +SECTION = "devel/python" +LICENSE = "Python-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d90e2d280a4836c607520383d1639be1" + +SRC_URI[sha256sum] = "2cca4cf5f83035ca12627c4bbeff2891ad4711666247a790fd8200d73f38c3f0" + +inherit pypi setuptools3 + +RDEPENDS:${PN} = "\ + ${PYTHON_PN}-io \ +" -- cgit v1.2.3-54-g00ecf