diff options
Diffstat (limited to 'meta-python/recipes-extended')
11 files changed, 25 insertions, 101 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch deleted file mode 100644 index d3ab8f8526..0000000000 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0008-use-oe-variable-to-replace-hardcoded-dir.patch +++ /dev/null | |||
| @@ -1,35 +0,0 @@ | |||
| 1 | From 6a85945c060154581f5a129a6a946258bf9333c4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Mon, 8 May 2017 03:54:12 -0400 | ||
| 4 | Subject: [PATCH 08/11] use oe variable to replace hardcoded dir | ||
| 5 | |||
| 6 | Upstream-Status: Pending | ||
| 7 | |||
| 8 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 9 | |||
| 10 | Rebase for python3-blivet 3.4.0. | ||
| 11 | |||
| 12 | Signed-off-by: Kai Kang <kai.kang@windriver.com> | ||
| 13 | --- | ||
| 14 | setup.py | 8 ++++---- | ||
| 15 | 1 file changed, 4 insertions(+), 4 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/setup.py b/setup.py | ||
| 18 | index e6bb3f3..700085b 100644 | ||
| 19 | --- a/setup.py | ||
| 20 | +++ b/setup.py | ||
| 21 | @@ -73,10 +73,10 @@ class blivet_sdist(sdist): | ||
| 22 | |||
| 23 | |||
| 24 | data_files = [ | ||
| 25 | - ('/etc/dbus-1/system.d', ['dbus/blivet.conf']), | ||
| 26 | - ('/usr/share/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']), | ||
| 27 | - ('/usr/libexec', ['dbus/blivetd']), | ||
| 28 | - ('/usr/lib/systemd/system', ['dbus/blivet.service']) | ||
| 29 | + (os.environ.get('sysconfdir')+'/dbus-1/system.d', ['dbus/blivet.conf']), | ||
| 30 | + (os.environ.get('datadir')+'/dbus-1/system-services', ['dbus/com.redhat.Blivet0.service']), | ||
| 31 | + (os.environ.get('libexecdir'), ['dbus/blivetd']), | ||
| 32 | + (os.environ.get('systemd_system_unitdir'), ['dbus/blivet.service']) | ||
| 33 | ] | ||
| 34 | |||
| 35 | |||
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet_3.12.1.bb b/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb index bf492b3d57..a159979b73 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet_3.12.1.bb +++ b/meta-python/recipes-extended/python-blivet/python3-blivet_3.13.2.bb | |||
| @@ -11,23 +11,34 @@ SRC_URI += "\ | |||
| 11 | file://0005-fix-incorrect-timeout-while-system-time-changed.patch \ | 11 | file://0005-fix-incorrect-timeout-while-system-time-changed.patch \ |
| 12 | file://0006-tweak-btrfs-packages.patch \ | 12 | file://0006-tweak-btrfs-packages.patch \ |
| 13 | file://0007-invoking-mount-with-infinite-timeout.patch \ | 13 | file://0007-invoking-mount-with-infinite-timeout.patch \ |
| 14 | file://0008-use-oe-variable-to-replace-hardcoded-dir.patch \ | ||
| 15 | file://0009-invoking-fsck-with-infinite-timeout.patch \ | 14 | file://0009-invoking-fsck-with-infinite-timeout.patch \ |
| 16 | file://0010-invoking-mkfs-with-infinite-timeout.patch \ | 15 | file://0010-invoking-mkfs-with-infinite-timeout.patch \ |
| 17 | file://0011-invoking-dd-with-infinite-timeout.patch \ | 16 | file://0011-invoking-dd-with-infinite-timeout.patch \ |
| 18 | " | 17 | " |
| 19 | SRC_URI[sha256sum] = "54775ba212d1574b1b0750ce147f0d3cf3b5d73aaf040d172283edb57db4ba15" | 18 | SRC_URI[sha256sum] = "6d8374d05eeab513b2a26cf01267e853df7b31e13ad1a1ba7d73a856190d0518" |
| 20 | 19 | ||
| 21 | inherit pypi features_check systemd setuptools3_legacy | 20 | inherit pypi features_check systemd setuptools3_legacy |
| 22 | 21 | ||
| 23 | REQUIRED_DISTRO_FEATURES = "systemd" | 22 | REQUIRED_DISTRO_FEATURES = "systemd" |
| 24 | 23 | ||
| 25 | RDEPENDS:${PN} += "python3-pykickstart python3-pyudev \ | 24 | RDEPENDS:${PN} += "python3-dasbus python3-pygobject python3-pykickstart python3-pyudev \ |
| 26 | parted python3-pyparted multipath-tools \ | 25 | parted python3-pyparted multipath-tools \ |
| 27 | lsof cryptsetup libblockdev libblockdev-bin \ | 26 | lsof cryptsetup libblockdev libblockdev-bin \ |
| 28 | libbytesize \ | 27 | libbytesize \ |
| 28 | util-linux \ | ||
| 29 | " | 29 | " |
| 30 | 30 | ||
| 31 | do_install:append() { | ||
| 32 | install -d ${D}${sysconfdir}/dbus-1/system.d | ||
| 33 | install -m 644 ${S}/dbus/blivet.conf ${D}${sysconfdir}/dbus-1/system.d/blivet.conf | ||
| 34 | install -d ${D}${datadir}/dbus-1/system-services | ||
| 35 | install -m 644 ${S}/dbus/com.redhat.Blivet0.service ${D}${datadir}/dbus-1/system-services/com.redhat.Blivet0.service | ||
| 36 | install -d ${D}${libexecdir} | ||
| 37 | install -m 755 ${S}/dbus/blivetd ${D}${libexecdir}/blivetd | ||
| 38 | install -d ${D}${systemd_system_unitdir} | ||
| 39 | install -m 644 ${S}/dbus/blivet.service ${D}${systemd_system_unitdir}/blivet.service | ||
| 40 | } | ||
| 41 | |||
| 31 | FILES:${PN} += " \ | 42 | FILES:${PN} += " \ |
| 32 | ${datadir}/dbus-1/system-services \ | 43 | ${datadir}/dbus-1/system-services \ |
| 33 | " | 44 | " |
diff --git a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.bb b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.1.bb index 0817bc732a..bc4267ac87 100644 --- a/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.bb +++ b/meta-python/recipes-extended/python-pyephem/python3-pyephem_4.2.1.bb | |||
| @@ -4,7 +4,7 @@ HOMEPAGE = "https://rhodesmill.org/pyephem/" | |||
| 4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9c930b395b435b00bb13ec83b0c99f40" |
| 6 | 6 | ||
| 7 | SRC_URI[sha256sum] = "3c4fd64f453e8f40cf862420a70da95a71b6487ace75e8e0cf85d73707db6065" | 7 | SRC_URI[sha256sum] = "920cb30369c79fde1088c2060d555ea5f8a50fdc80a9265832fd5bf195cf147f" |
| 8 | 8 | ||
| 9 | PYPI_PACKAGE = "ephem" | 9 | PYPI_PACKAGE = "ephem" |
| 10 | 10 | ||
diff --git a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb index 830e46a63c..c566f5a0e6 100644 --- a/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.63.bb +++ b/meta-python/recipes-extended/python-pykickstart/python3-pykickstart_3.69.bb | |||
| @@ -33,7 +33,7 @@ SRC_URI = "git://github.com/rhinstaller/pykickstart.git;protocol=https;branch=ma | |||
| 33 | file://0004-load.py-retry-to-invoke-request-with-timeout.patch \ | 33 | file://0004-load.py-retry-to-invoke-request-with-timeout.patch \ |
| 34 | file://run-ptest \ | 34 | file://run-ptest \ |
| 35 | " | 35 | " |
| 36 | SRCREV = "6e0d1238cb4696a9040072a5a28a706e5775c552" | 36 | SRCREV = "601ec2d2f254909f56e2ee961d2056e0d5bc4a97" |
| 37 | 37 | ||
| 38 | UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)" | 38 | UPSTREAM_CHECK_GITTAGREGEX = "r(?P<pver>\d+(\.\d+)+(-\d+)*)" |
| 39 | 39 | ||
diff --git a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb index 0f7065f5ae..ab0fe8c602 100644 --- a/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb +++ b/meta-python/recipes-extended/python-pyparted/python3-pyparted_3.13.0.bb | |||
| @@ -15,7 +15,7 @@ inherit pkgconfig pypi setuptools3 | |||
| 15 | 15 | ||
| 16 | DEPENDS += "parted" | 16 | DEPENDS += "parted" |
| 17 | 17 | ||
| 18 | RDEPENDS:${PN}:class-target += " \ | 18 | RDEPENDS:${PN}:append:class-target = " \ |
| 19 | parted (>= 2.3) \ | 19 | parted (>= 2.3) \ |
| 20 | python3-codecs \ | 20 | python3-codecs \ |
| 21 | python3-math \ | 21 | python3-math \ |
diff --git a/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb index 0d8cfcb408..034568251b 100644 --- a/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb +++ b/meta-python/recipes-extended/python-pytesseract/pytesseract_0.3.13.bb | |||
| @@ -5,7 +5,7 @@ HOMEPAGE = "https://github.com/madmaze/pytesseract" | |||
| 5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 7 | 7 | ||
| 8 | SRC_URI[md5sum] = "73f9645e59b437f064d05882b95832ce" | 8 | SRC_URI[sha256sum] = "4bf5f880c99406f52a3cfc2633e42d9dc67615e69d8a509d74867d3baddb5db9" |
| 9 | 9 | ||
| 10 | RDEPENDS:${PN}:append = " python3-packaging tesseract" | 10 | RDEPENDS:${PN}:append = " python3-packaging tesseract" |
| 11 | 11 | ||
diff --git a/meta-python/recipes-extended/python-rich/python3-rich_14.2.0.bb b/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb index c51d55c633..2ab3b2fdbc 100644 --- a/meta-python/recipes-extended/python-rich/python3-rich_14.2.0.bb +++ b/meta-python/recipes-extended/python-rich/python3-rich_15.0.0.bb | |||
| @@ -8,7 +8,7 @@ LICENSE = "MIT" | |||
| 8 | 8 | ||
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303" | 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b5f0b94fbc94f5ad9ae4efcf8a778303" |
| 10 | 10 | ||
| 11 | SRC_URI[sha256sum] = "73ff50c7c0c1c77c8243079283f4edb376f0f6442433aecb8ce7e6d0b92d1fe4" | 11 | SRC_URI[sha256sum] = "edd07a4824c6b40189fb7ac9bc4c52536e9780fbbfbddf6f1e2502c31b068c36" |
| 12 | 12 | ||
| 13 | inherit pypi python_poetry_core | 13 | inherit pypi python_poetry_core |
| 14 | 14 | ||
diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_1.9.0.bb index 6857563079..c2fe5f9738 100644 --- a/meta-python/recipes-extended/pywbem/python3-pywbem_1.7.3.bb +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_1.9.0.bb | |||
| @@ -16,15 +16,16 @@ HOMEPAGE = "https://pywbem.github.io" | |||
| 16 | LICENSE = "LGPL-2.1-only" | 16 | LICENSE = "LGPL-2.1-only" |
| 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" | 17 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" |
| 18 | 18 | ||
| 19 | SRC_URI[sha256sum] = "d1f0a2ebd4ffedef8d067af3855216db5190c7f6f27c8d2dcd467e09701c90b0" | 19 | SRC_URI[sha256sum] = "65c1ff972cea2f017b06795f47c0ad7442f8434ff643a544050c10726704f6ab" |
| 20 | 20 | ||
| 21 | inherit pypi setuptools3 update-alternatives | 21 | inherit pypi python_setuptools_build_meta update-alternatives |
| 22 | 22 | ||
| 23 | DEPENDS += " \ | 23 | DEPENDS += " \ |
| 24 | python3-ply-native \ | 24 | python3-ply-native \ |
| 25 | python3-pyyaml-native \ | 25 | python3-pyyaml-native \ |
| 26 | python3-six-native \ | 26 | python3-six-native \ |
| 27 | python3-wheel-native \ | 27 | python3-wheel-native \ |
| 28 | python3-setuptools-scm-native \ | ||
| 28 | " | 29 | " |
| 29 | 30 | ||
| 30 | RDEPENDS:${PN} += "\ | 31 | RDEPENDS:${PN} += "\ |
diff --git a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb index f02c96e405..83156cfddf 100644 --- a/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb +++ b/meta-python/recipes-extended/pywbemtools/python3-pywbemtools_1.3.1.bb | |||
| @@ -8,7 +8,7 @@ SRC_URI[sha256sum] = "7fb1c32e358d55c2c6966a071c8ecc0ca81de3d32944a67cc646c57b1a | |||
| 8 | 8 | ||
| 9 | inherit pypi setuptools3 | 9 | inherit pypi setuptools3 |
| 10 | 10 | ||
| 11 | RDEPENDS:${PN}:class-target += "\ | 11 | RDEPENDS:${PN}:append:class-target = " \ |
| 12 | python3-ply \ | 12 | python3-ply \ |
| 13 | python3-pyyaml \ | 13 | python3-pyyaml \ |
| 14 | python3-six \ | 14 | python3-six \ |
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch b/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch deleted file mode 100644 index 1592fd661c..0000000000 --- a/meta-python/recipes-extended/send2trash/python3-send2trash/0001-add-missing-conftest.py.patch +++ /dev/null | |||
| @@ -1,52 +0,0 @@ | |||
| 1 | From ed6d20884108fd7e681baf7278e38ac4800fb5c1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 3 | Date: Fri, 9 Jan 2026 18:04:08 +0100 | ||
| 4 | Subject: [PATCH] add missing conftest.py | ||
| 5 | |||
| 6 | Conftest.py is missing from the source dictribution of v2.0.0, | ||
| 7 | making the tests to fail. | ||
| 8 | |||
| 9 | The issue is already solved by upstream, but not tagged yet. | ||
| 10 | This patch can be removed with the next release. | ||
| 11 | |||
| 12 | Upstream-Status: Inappropriate [workaround until https://github.com/arsenetar/send2trash/commit/f8a40143f696da41f81cae87e1c7f9a345cd4003 is tagged] | ||
| 13 | |||
| 14 | Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> | ||
| 15 | --- | ||
| 16 | tests/conftest.py | 27 +++++++++++++++++++++++++++ | ||
| 17 | 1 file changed, 27 insertions(+) | ||
| 18 | create mode 100644 tests/conftest.py | ||
| 19 | |||
| 20 | diff --git a/tests/conftest.py b/tests/conftest.py | ||
| 21 | new file mode 100644 | ||
| 22 | index 0000000..0753384 | ||
| 23 | --- /dev/null | ||
| 24 | +++ b/tests/conftest.py | ||
| 25 | @@ -0,0 +1,27 @@ | ||
| 26 | +# encoding: utf-8 | ||
| 27 | +import sys | ||
| 28 | +import os | ||
| 29 | +from tempfile import NamedTemporaryFile | ||
| 30 | +import pytest | ||
| 31 | + | ||
| 32 | +# Only import HOMETRASH on supported platforms | ||
| 33 | +if sys.platform != "win32": | ||
| 34 | + from send2trash.plat_other import HOMETRASH | ||
| 35 | + | ||
| 36 | + | ||
| 37 | +@pytest.fixture(name="test_file") | ||
| 38 | +def fixture_test_file(): | ||
| 39 | + file = NamedTemporaryFile(dir=os.path.expanduser("~"), prefix="send2trash_test", delete=False) | ||
| 40 | + file.close() | ||
| 41 | + # Verify file was actually created | ||
| 42 | + assert os.path.exists(file.name) is True | ||
| 43 | + yield file.name | ||
| 44 | + # Cleanup trash files on supported platforms | ||
| 45 | + if sys.platform != "win32": | ||
| 46 | + name = os.path.basename(file.name) | ||
| 47 | + # Remove trash files if they exist | ||
| 48 | + if os.path.exists(os.path.join(HOMETRASH, "files", name)): | ||
| 49 | + os.remove(os.path.join(HOMETRASH, "files", name)) | ||
| 50 | + os.remove(os.path.join(HOMETRASH, "info", name + ".trashinfo")) | ||
| 51 | + if os.path.exists(file.name): | ||
| 52 | + os.remove(file.name) | ||
diff --git a/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb b/meta-python/recipes-extended/send2trash/python3-send2trash_2.1.0.bb index 48dc8e793f..147603a45b 100644 --- a/meta-python/recipes-extended/send2trash/python3-send2trash_2.0.0.bb +++ b/meta-python/recipes-extended/send2trash/python3-send2trash_2.1.0.bb | |||
| @@ -4,9 +4,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a02659c2d5f4cc626e4dcf6504b865eb" | |||
| 4 | 4 | ||
| 5 | inherit pypi python_setuptools_build_meta ptest-python-pytest | 5 | inherit pypi python_setuptools_build_meta ptest-python-pytest |
| 6 | 6 | ||
| 7 | SRC_URI += "file://0001-add-missing-conftest.py.patch \ | 7 | SRC_URI += "file://run-ptest" |
| 8 | file://run-ptest" | 8 | SRC_URI[sha256sum] = "1c72b39f09457db3c05ce1d19158c2cbef4c32b8bedd02c155e49282b7ea7459" |
| 9 | SRC_URI[sha256sum] = "1761421da3f9930bfe51ed7c45343948573383ad4c27e3acebc91be324e7770d" | ||
| 10 | 9 | ||
| 11 | PYPI_PACKAGE = "send2trash" | 10 | PYPI_PACKAGE = "send2trash" |
| 12 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" | 11 | UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" |
