Skip to contentSkip to conversation

python3-expandvars: add recipe

PATCH Applied Leon Anavi 2 participants 7 messages Dec 15, 2023 – Dec 19, 2023

v1 of 2 Applied Latest is v2 →

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/6 python3-expandvars: add recipe

Add python3-expandvars to expand system variables Unix style.

---
 .../python/python3-expandvars_0.12.0.bb                | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-expandvars_0.12.0.bb
meta-python/recipes-devtools/python/python3-expandvars_0.12.0.bb new file +10 -0
new file mode 100644
index 000000000..6183c310e
@@ -0,0 +1,10 @@
+SUMMARY = "Expand system variables Unix style"
+HOMEPAGE = "https://github.com/sayanarijit/expandvars"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=8b2e744064bd184728ac09dbfb52aaf4"
+
+SRC_URI[sha256sum] = "7d1adfa55728cf4b5d812ece3d087703faea953e0c0a1a78415de9df5024d844"
+
+inherit pypi python_hatchling python_setuptools_build_meta
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
author
#1 lore raw

PATCH 2/6 python3-frozenlist: upgrade 1.4.0 -> 1.4.1

Upgrade to version 1.4.1:

- Declared Python 3.12 and PyPy 3.8-3.10 supported officially in the distribution package metadata.
- Replaced the packaging is replaced from an old-fashioned :file:setup.py to an in-tree :pep:517 build backend

---
 ...n3-frozenlist_1.4.0.bb => python3-frozenlist_1.4.1.bb} | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-frozenlist_1.4.0.bb => python3-frozenlist_1.4.1.bb} (66%)
meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb renamed from meta-python/recipes-devtools/python/python3-frozenlist_1.4.0.bb +6 -2
similarity index 66%
rename from meta-python/recipes-devtools/python/python3-frozenlist_1.4.0.bb
rename to meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb
index 340b0e384..1ce5c8452 100644
@@ -3,9 +3,13 @@ HOMEPAGE = "https://github.com/aio-libs/frozenlist"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c"
 
-SRC_URI[sha256sum] = "09163bdf0b2907454042edb19f887c6d33806adc71fbd54afc14908bfdc22251"
+SRC_URI[sha256sum] = "c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b"
 
 inherit pypi python_setuptools_build_meta
 
-BBCLASSEXTEND = "native nativesdk"
+DEPENDS += " \
+    ${PYTHON_PN}-expandvars-native \
+    ${PYTHON_PN}-cython-native \
+"
 
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.39.2
author
#2 lore raw

PATCH 3/6 python3-yarl: upgrade 1.9.2 -> 1.9.4

In reply to Leon Anavi

Upgrade to version 1.9.4:

- Started raising :py:exc:TypeError when a string value is passed into :py:meth:~yarl.URL.build as the port argument -- by :user:commonism
- The leading -- has been dropped from the :pep:517 in-tree build backend config setting names. --pure-python is now just pure-python
- A step-by-step :doc:Release Guide <contributing/release_guide> guide has been added, describing how to release yarl

---
 .../{python3-yarl_1.9.2.bb => python3-yarl_1.9.4.bb}     | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-yarl_1.9.2.bb => python3-yarl_1.9.4.bb} (70%)
meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb renamed from meta-python/recipes-devtools/python/python3-yarl_1.9.2.bb +7 -2
similarity index 70%
rename from meta-python/recipes-devtools/python/python3-yarl_1.9.2.bb
rename to meta-python/recipes-devtools/python/python3-yarl_1.9.4.bb
index 63700024c..d9fe4c0c4 100644
@@ -3,13 +3,18 @@ HOMEPAGE = "https://github.com/aio-libs/yarl/"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
 
-SRC_URI[sha256sum] = "04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571"
+SRC_URI[sha256sum] = "566db86717cf8080b99b58b083b773a908ae40f06681e87e589a976faf8246bf"
 
 SRC_URI += "file://run-ptest"
 
 PYPI_PACKAGE = "yarl"
 
-inherit pypi ptest setuptools3
+inherit pypi ptest python_setuptools_build_meta
+
+DEPENDS += " \
+    ${PYTHON_PN}-expandvars-native \
+    ${PYTHON_PN}-cython-native \
+"
 
 RDEPENDS:${PN} = "\
     ${PYTHON_PN}-multidict \
Signature · 1 line
2.39.2
author
#3 lore raw

PATCH 4/6 python3-coverage: upgrade 7.3.2 -> 7.3.3

In reply to Leon Anavi

Upgrade to version 7.3.3:

- Fix: function definitions with multi-line signatures can now be excluded by matching any of the lines.
- Fix: XML reports could fail with a TypeError if files had numeric components that were duplicates except for leading zeroes, like file1.py and file001.py.
- The coverage annotate command used to announce that it would be removed in a future version. Enough people got in touch to say that they use it, so it will stay. Don't expect it to keep up with other new features though.
- Added new debug options <cmd_run_debug>

---
 .../{python3-coverage_7.3.2.bb => python3-coverage_7.3.3.bb}    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta-python/recipes-devtools/python/{python3-coverage_7.3.2.bb => python3-coverage_7.3.3.bb} (83%)
meta-python/recipes-devtools/python/python3-coverage_7.3.3.bb renamed from meta-python/recipes-devtools/python/python3-coverage_7.3.2.bb +1 -1
similarity index 83%
rename from meta-python/recipes-devtools/python/python3-coverage_7.3.2.bb
rename to meta-python/recipes-devtools/python/python3-coverage_7.3.3.bb
index 12496b03d..16a67e9e6 100644
@@ -3,7 +3,7 @@ HOMEPAGE = "https://coverage.readthedocs.io"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ee41112a44fe7014dce33e26468ba93"
 
-SRC_URI[sha256sum] = "be32ad29341b0170e795ca590e1c07e81fc061cb5b10c74ce7203491484404ef"
+SRC_URI[sha256sum] = "df04c64e58df96b4427db8d0559e95e2df3138c9916c96f9f6a4dd220db2fdb7"
 
 inherit pypi setuptools3
 
Signature · 1 line
2.39.2
author
#4 lore raw

PATCH 5/6 python3-cycler: upgrade 0.11.0 -> 0.12.1

In reply to Leon Anavi

Upgrade to version 0.12.1:

- Addition of type hints.
- Fixes the previous release not shipping the py.typed file.

---
 .../{python3-cycler_0.11.0.bb => python3-cycler_0.12.1.bb}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-cycler_0.11.0.bb => python3-cycler_0.12.1.bb} (68%)
meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb renamed from meta-python/recipes-devtools/python/python3-cycler_0.11.0.bb +2 -2
similarity index 68%
rename from meta-python/recipes-devtools/python/python3-cycler_0.11.0.bb
rename to meta-python/recipes-devtools/python/python3-cycler_0.12.1.bb
index 59492e8bf..574083b61 100644
@@ -3,9 +3,9 @@ HOMEPAGE = "http://github.com/matplotlib/cycler"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=7713fe42cd766b15c710e19392bfa811"
 
-SRC_URI[sha256sum] = "9c87405839a19696e837b3b818fed3f5f69f16f1eec1a1ad77e043dcea9c772f"
+SRC_URI[sha256sum] = "88bb128f02ba341da8ef447245a9e138fae777f6a23943da4540077d3601eb1c"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += "\
     python3-core \
Signature · 1 line
2.39.2
author
#5 lore raw

PATCH 6/6 python3-aiohue: upgrade 4.6.2 -> 4.7.0

In reply to Leon Anavi

Upgrade to version 4.7.0:

- Backward compatibility fix
- Update project and CI
- Update models for updated schema and new resource types

---
 .../{python3-aiohue_4.6.2.bb => python3-aiohue_4.7.0.bb}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-aiohue_4.6.2.bb => python3-aiohue_4.7.0.bb} (74%)
meta-python/recipes-devtools/python/python3-aiohue_4.7.0.bb renamed from meta-python/recipes-devtools/python/python3-aiohue_4.6.2.bb +2 -2
similarity index 74%
rename from meta-python/recipes-devtools/python/python3-aiohue_4.6.2.bb
rename to meta-python/recipes-devtools/python/python3-aiohue_4.7.0.bb
index b9256ca20..84aace451 100644
@@ -4,9 +4,9 @@ SECTION = "devel/python"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=dab31a1d28183826937f4b152143a33f"
 
-SRC_URI[sha256sum] = "069af6bb0a7d34d566538af57cc10fb691ee04f844204e4f67d95a57f0b91a46"
+SRC_URI[sha256sum] = "3ca727b463e55bbe7c69b67f5503ffcd7d213c9644c4e458e3556ee6ea33855b"
 
-inherit pypi setuptools3
+inherit pypi python_setuptools_build_meta
 
 RDEPENDS:${PN} += " \
 	${PYTHON_PN}-aiohttp \
Signature · 1 line
2.39.2
Applied
#6 lore raw
In reply to Leon Anavi
Quoted 3 lines · Leon Anavi

Add python3-expandvars to expand system variables Unix style.

Applied, thanks!

[1/6] python3-expandvars: add recipe

      commit: 122e937a0e0f7986a36df0e4cbaf42d7bdd2ddee
[2/6] python3-frozenlist: upgrade 1.4.0 -> 1.4.1
      commit: 8cb3c9b8db52761d7384371baacdb8ac766c55aa
[3/6] python3-yarl: upgrade 1.9.2 -> 1.9.4
      commit: 038fd54f28ebc5c8d3de47b0a37d4a1dab555ede
[4/6] python3-coverage: upgrade 7.3.2 -> 7.3.3
      commit: 01bafc3eeb61e9ae78e096513ea9ff5f3c285fbc
[5/6] python3-cycler: upgrade 0.11.0 -> 0.12.1
      commit: 39ff8dc26c4cd742b5c93ced99ac4d4b31d4529e
[6/6] python3-aiohue: upgrade 4.6.2 -> 4.7.0
      commit: c754b8ec0c75dd1e8bccdfc45dcf9c2fa4979589

Best regards,

Signature · 1 line
Khem Raj <[email protected]>