Skip to contentSkip to conversation

python3-prettytable: Upgrade 2.3.0 -> 2.4.0

PATCH New Leon Anavi 1 participant 5 messages Nov 8, 2021

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/5 python3-prettytable: Upgrade 2.3.0 -> 2.4.0

Upgrade to release 2.4.0:

- Markdown: Add colons to align the rendered output
- Add rows attribute to prettytable

---
 ...ython3-prettytable_2.3.0.bb => python3-prettytable_2.4.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-prettytable_2.3.0.bb => python3-prettytable_2.4.0.bb} (92%)
meta-python/recipes-devtools/python/python3-prettytable_2.4.0.bb renamed from meta-python/recipes-devtools/python/python3-prettytable_2.3.0.bb +1 -1
similarity index 92%
rename from meta-python/recipes-devtools/python/python3-prettytable_2.3.0.bb
rename to meta-python/recipes-devtools/python/python3-prettytable_2.4.0.bb
index d3d26f213e..8f5eb42996 100644
@@ -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] = "efd6f72d453bc0513b90f5b10fb4d085b919ca0f4c5ef033bda1dd894572ba64"
+SRC_URI[sha256sum] = "18e56447f636b447096977d468849c1e2d3cfa0af8e7b5acfcf83a64790c0aca"
 
 do_install:append() {
     perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/5 python3-imageio: Upgrade 2.10.1 -> 2.10.3

Upgrade to release 2.10.3:

- Fix file extension bug when filename contains '#'
- Allow devices above in ffmpeg

---
 .../{python3-imageio_2.10.1.bb => python3-imageio_2.10.3.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-imageio_2.10.1.bb => python3-imageio_2.10.3.bb} (81%)
meta-python/recipes-devtools/python/python3-imageio_2.10.3.bb renamed from meta-python/recipes-devtools/python/python3-imageio_2.10.1.bb +1 -1
similarity index 81%
rename from meta-python/recipes-devtools/python/python3-imageio_2.10.1.bb
rename to meta-python/recipes-devtools/python/python3-imageio_2.10.3.bb
index ea9ed18691..16d815131a 100644
@@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7b9bbbb543b6af3e6b53f9b7fb68f71d"
 
 
-SRC_URI[sha256sum] = "1fbf909bac3f07faabd05a3f71b3c49428709c3c55f43770a3f76e0eb1b525d1"
+SRC_URI[sha256sum] = "469c59fe71c81cdc41c84f842d62dd2739a08fac8cb85f5a518a92a6227e2ed6"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.17.1
author
#2 lore raw

PATCH 3/5 python3-pytz-deprecation-shim: Add recipe

In reply to Leon Anavi

Add release 0.1.0.post0:

- Fixes the project_urls metadata to point to the correct bug tracker and documentation.

---
 .../python3-pytz-deprecation-shim_0.1.0.post0.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb
meta-python/recipes-devtools/python/python3-pytz-deprecation-shim_0.1.0.post0.bb new file +16 -0
new file mode 100644
index 0000000000..76487c830f
@@ -0,0 +1,16 @@
+SUMMARY = "Shims to help you safely remove pytz"
+HOMEPAGE = "https://github.com/pganssle/pytz-deprecation-shim"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=fca9fd5c15a28eb874ba38577a585d48"
+
+SRC_URI[sha256sum] = "af097bae1b616dde5c5744441e2ddc69e74dfdcb0c263129610d85b87445a59d"
+
+PYPI_PACKAGE = "pytz_deprecation_shim"
+PYPI_SRC_URI = "https://files.pythonhosted.org/packages/94/f0/909f94fea74759654390a3e1a9e4e185b6cd9aa810e533e3586f39da3097/${PYPI_PACKAGE}-${PV}.tar.gz"
+
+inherit pypi setuptools3
+
+do_compile:prepend() {
+	echo "from setuptools import setup" > ${S}/setup.py
+	echo "setup()" >> ${S}/setup.py
+}
Signature · 1 line
2.17.1
author
#3 lore raw

PATCH 4/5 python3-tzlocal: Upgrade 4.0.1 -> 4.1

In reply to Leon Anavi

Upgrade to release 4.1:

- It turns out a lot of Linux distributions make the links between zoneinfo aliases backwards, so instead of linking GB to Europe/London it actually links the other way. When /etc/localtime then links to Europe/London, and you also have a config file saying Europe/London, the code that checks if /etc/localtime is a symlink ends up at GB instead of Europe/London and we get an error, as it thinks GB and Europe/London are different zones.

So now we check the symlink of all timezones in the uniqueness test. We still return the name in the config file, though, so you would only get GB or Zulu returned as the time zone instead of Europe/London or UTC if your only configuration is the /etc/localtime symlink, as that's checked last, and tzlocal will return the first configuration found.

- The above change also means that GMT and UTC are no longer seen as synonyms, as zoneinfo does not see them as synonyms. This might be controversial, but you just have to live with it. Pick one and stay with it.

---
 .../{python3-tzlocal_4.0.1.bb => python3-tzlocal_4.1.bb}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-tzlocal_4.0.1.bb => python3-tzlocal_4.1.bb} (61%)
meta-python/recipes-devtools/python/python3-tzlocal_4.1.bb renamed from meta-python/recipes-devtools/python/python3-tzlocal_4.0.1.bb +5 -1
similarity index 61%
rename from meta-python/recipes-devtools/python/python3-tzlocal_4.0.1.bb
rename to meta-python/recipes-devtools/python/python3-tzlocal_4.1.bb
index f8339bb2e8..29a69f8b8f 100644
@@ -3,6 +3,10 @@ HOMEPAGE = "https://pypi.org/project/tzlocal/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=57e0bd61643d81d05683cdce65b11d10"
 
-SRC_URI[sha256sum] = "8560aabba61b5d2a5e1697bb781f682e6eaa3ce386cee85a09a458cc0003f836"
+SRC_URI[sha256sum] = "0f28015ac68a5c067210400a9197fc5d36ba9bc3f8eaf1da3cbd59acdfed9e09"
 
 inherit pypi setuptools3
+
+RDEPENDS:${PN} += "\
+	${PYTHON_PN}-pytz-deprecation-shim \
+"
Signature · 1 line
2.17.1
author
#4 lore raw

PATCH 5/5 python3-soupsieve: Upgrade 2.2.1 -> 2.3

In reply to Leon Anavi

Upgrade to release 2.3:

- Officially support Python 3.10.
- Add static typing.
- :has(), :is(), and :where() now use use a forgiving selector list. While not as forgiving as CSS might be, it will forgive such things as empty sets and empty slots due to multiple consecutive commas, leading commas, or trailing commas. Essentially, these pseudo-classes will match all non-empty selectors and ignore empty ones. As the scraping environment is different than a browser environment, it was chosen not to aggressively forgive bad syntax and invalid features to ensure the user is alerted that their program may not perform as expected.
- Add support to output a pretty print format of a compiled SelectorList for debug purposes.
- Some small corner cases discovered with static typing.

---
 ...{python3-soupsieve_2.2.1.bb => python3-soupsieve_2.3.bb} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-soupsieve_2.2.1.bb => python3-soupsieve_2.3.bb} (78%)
meta-python/recipes-devtools/python/python3-soupsieve_2.3.bb renamed from meta-python/recipes-devtools/python/python3-soupsieve_2.2.1.bb +5 -1
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-soupsieve_2.2.1.bb
rename to meta-python/recipes-devtools/python/python3-soupsieve_2.3.bb
index a656af6246..3e0e6f0ee1 100644
@@ -4,7 +4,7 @@ HOMEPAGE = "https://github.com/facelessuser/soupsieve"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.md;md5=33c3a77def9b3ad83e01c65bdcc1af67"
 
-SRC_URI[sha256sum] = "052774848f448cf19c7e959adf5566904d525f33a3f8b6ba6f6f8f26ec7de0cc"
+SRC_URI[sha256sum] = "e4860f889dfa88774c07da0b276b70c073b6470fa1a4a8350800bb7bce3dcc76"
 
 inherit pypi setuptools3 ptest
 
@@ -12,6 +12,10 @@ SRC_URI += " \
         file://run-ptest \
 "
 
+RDEPENDS:${PN} += "\
+        ${PYTHON_PN}-beautifulsoup4 \
+"
+
 RDEPENDS:${PN}-ptest += " \
         ${PYTHON_PN}-pytest \
         ${PYTHON_PN}-beautifulsoup4 \
Signature · 1 line
2.17.1