python3-zeroconf: Upgrade 0.149.17 -> 0.150.0
PATCH 1/4 python3-zeroconf: Upgrade 0.149.17 -> 0.150.0
Upgrade to release 0.150.0:
- Add async_update_interfaces to rescan network interfaces at runtime
---
...python3-zeroconf_0.149.17.bb => python3-zeroconf_0.150.0.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-zeroconf_0.149.17.bb => python3-zeroconf_0.150.0.bb} (88%)meta-python/recipes-devtools/python/python3-zeroconf_0.150.0.bb renamed from meta-python/recipes-devtools/python/python3-zeroconf_0.149.17.bb +1 -1
@@ -3,7 +3,7 @@ HOMEPAGE = "https://github.com/jstasiak/python-zeroconf" LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=9fe712b1bc27c5c4e9ecd7f31d208900" -SRC_URI[sha256sum] = "f10e58071bc5e749176b8dc8d7e7ed4d2e6b507dde20fd8169b760cf4f7f4c5a" +SRC_URI[sha256sum] = "a5fe7feab1de6ef5e541e0a3d07e534fd91629b813fc27281593584100f63164" SRC_URI += "file://run-ptest"
Signature · 1 line
2.47.3
PATCH 2/4 python3-jalali-core: Add recipe
Add a new recipe for jalali-core release 1.0.0.
--- .../python/python3-jalali-core_1.0.0.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb
meta-python/recipes-devtools/python/python3-jalali-core_1.0.0.bb new file +10 -0
@@ -0,0 +1,10 @@ +DESCRIPTION = "A Gregorian to Jalali and inverse date convertor" +HOMEPAGE = "https://github.com/slashmili/jalali-core" +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a88966a0e5f4057719d2cc2766c6e091" + +SRC_URI[sha256sum] = "f4287c70c630323dcf0a3ab26df905ba4d451e230ac1f65b3bb2f77797894a2b" + +PYPI_PACKAGE = "jalali_core" + +inherit pypi setuptools3
Signature · 1 line
2.47.3
PATCH 3/4 python3-jdatetime: Upgrade 5.2.0 -> 5.3.0
In reply to Leon AnaviUpgrade to release 5.3.0:
- Migrate CI to Ruff for Code Formatting and Linting
- Fix: Setuptools License Deprecation Warning
- Add Windows test CI support
- feat: add type hints to functions and methods in jdatetime module
Fixes:
WARNING: python3-jdatetime-5.3.0-r0 do_check_backend: QA Issue:
inherits setuptools3 but has pyproject.toml with setuptools.build_meta, use the correct class [pep517-backend]
---
...on3-jdatetime_5.2.0.bb => python3-jdatetime_5.3.0.bb} | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
rename meta-python/recipes-devtools/python/{python3-jdatetime_5.2.0.bb => python3-jdatetime_5.3.0.bb} (59%)meta-python/recipes-devtools/python/python3-jdatetime_5.3.0.bb renamed from meta-python/recipes-devtools/python/python3-jdatetime_5.2.0.bb +4 -5
@@ -3,15 +3,14 @@ HOMEPAGE = "https://github.com/slashmili/python-jalali" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" -SRC_URI[sha256sum] = "c81d5898717b82b609a3ce2a73f8b8d3230b0c757e5c0de9d6b1acfdc224f551" +SRC_URI[sha256sum] = "d20eb9fc2a00e86493a6156b2a0e4e579f23379e8fea186a0e603fd36a130227" -PYPI_PACKAGE = "jdatetime" - -inherit pypi setuptools3 +inherit pypi python_setuptools_build_meta CLEANBROKEN = "1" RDEPENDS:${PN} += " \ - python3-modules \ + python3-modules \ + python3-jalali-core \ "
Signature · 1 line
2.47.3
PATCH 4/4 python3-jdatetime: Enable tests
In reply to Leon AnaviInherit ptest and include tests for jdatetime. The PyPI package omits some files for testing like tests/__init__.py so use the GitHub source instead.
--- .../python/python3-jdatetime/run-ptest | 3 +++ .../python/python3-jdatetime_5.3.0.bb | 23 +++++++++++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-jdatetime/run-ptest
meta-python/recipes-devtools/python/python3-jdatetime/run-ptest new file +3 -0
@@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake
meta-python/recipes-devtools/python/python3-jdatetime_5.3.0.bb +21 -2
@@ -3,9 +3,15 @@ HOMEPAGE = "https://github.com/slashmili/python-jalali" LICENSE = "Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=c80be45b33471b4a23cf53d06a8172be" -SRC_URI[sha256sum] = "d20eb9fc2a00e86493a6156b2a0e4e579f23379e8fea186a0e603fd36a130227" +# The PyPI package omits some files for testing like tests/__init__.py +# so use the GitHub source instead. +SRCREV = "ea119aab729d4c48f797f3663a692680c93fb9f5" +SRC_URI = " \ + git://github.com/slashmili/jdatetime;branch=main;protocol=https \ + file://run-ptest \ +" -inherit pypi python_setuptools_build_meta +inherit python_setuptools_build_meta ptest CLEANBROKEN = "1"
@@ -14,3 +20,16 @@ RDEPENDS:${PN} += " \ python3-jalali-core \ " +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-core \ + python3-pickle \ + python3-unittest \ + python3-zoneinfo \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}
Signature · 1 line
2.47.3