diff --git a/pytest_register_mark.patch b/pytest_register_mark.patch index 3f5a248..036be2a 100644 --- a/pytest_register_mark.patch +++ b/pytest_register_mark.patch @@ -1,7 +1,7 @@ -Index: pyudev-0.24.0/pytest.ini +Index: pyudev-0.24.1/pytest.ini =================================================================== ---- pyudev-0.24.0.orig/pytest.ini -+++ pyudev-0.24.0/pytest.ini +--- pyudev-0.24.1.orig/pytest.ini ++++ pyudev-0.24.1/pytest.ini @@ -1,3 +1,6 @@ -[tool:pytest] +[pytest] @@ -10,22 +10,10 @@ Index: pyudev-0.24.0/pytest.ini +markers = + conversion + real_udev -Index: pyudev-0.24.0/tests/_device_tests/_attributes_tests.py +Index: pyudev-0.24.1/tests/_device_tests/_device_tests.py =================================================================== ---- pyudev-0.24.0.orig/tests/_device_tests/_attributes_tests.py -+++ pyudev-0.24.0/tests/_device_tests/_attributes_tests.py -@@ -125,6 +125,7 @@ class TestAttributes(object): - except KeyError: - pass - -+ @pytest.mark.real_udev - @_UDEV_TEST(167, "test_available_attributes") - @given(strategies.sampled_from(_DEVICES)) - @settings(max_examples=5) -Index: pyudev-0.24.0/tests/_device_tests/_device_tests.py -=================================================================== ---- pyudev-0.24.0.orig/tests/_device_tests/_device_tests.py -+++ pyudev-0.24.0/tests/_device_tests/_device_tests.py +--- pyudev-0.24.1.orig/tests/_device_tests/_device_tests.py ++++ pyudev-0.24.1/tests/_device_tests/_device_tests.py @@ -212,6 +212,7 @@ class TestDevice(object): if device.device_node: assert is_unicode_string(device.device_node) @@ -34,10 +22,10 @@ Index: pyudev-0.24.0/tests/_device_tests/_device_tests.py @given(_CONTEXT_STRATEGY, strategies.sampled_from(_DEVICE_DATA)) @settings(max_examples=5) def test_device_number(self, a_context, device_datum): -Index: pyudev-0.24.0/tests/_device_tests/_devices_tests.py +Index: pyudev-0.24.1/tests/_device_tests/_devices_tests.py =================================================================== ---- pyudev-0.24.0.orig/tests/_device_tests/_devices_tests.py -+++ pyudev-0.24.0/tests/_device_tests/_devices_tests.py +--- pyudev-0.24.1.orig/tests/_device_tests/_devices_tests.py ++++ pyudev-0.24.1/tests/_device_tests/_devices_tests.py @@ -125,6 +125,7 @@ class TestDevices(object): assert error.subsystem == "no_such_subsystem" assert error.sys_name == "foobar" @@ -62,10 +50,10 @@ Index: pyudev-0.24.0/tests/_device_tests/_devices_tests.py @failed_health_check_wrapper @given( _CONTEXT_STRATEGY, -Index: pyudev-0.24.0/tests/test_enumerate.py +Index: pyudev-0.24.1/tests/test_enumerate.py =================================================================== ---- pyudev-0.24.0.orig/tests/test_enumerate.py -+++ pyudev-0.24.0/tests/test_enumerate.py +--- pyudev-0.24.1.orig/tests/test_enumerate.py ++++ pyudev-0.24.1/tests/test_enumerate.py @@ -101,7 +101,7 @@ class TestEnumerator(object): @failed_health_check_wrapper @@ -75,11 +63,11 @@ Index: pyudev-0.24.0/tests/test_enumerate.py def test_match_subsystem_nomatch_unfulfillable(self, context, subsystem): """ Combining match and no match should give an empty result. -Index: pyudev-0.24.0/tests/test_util.py +Index: pyudev-0.24.1/tests/test_util.py =================================================================== ---- pyudev-0.24.0.orig/tests/test_util.py -+++ pyudev-0.24.0/tests/test_util.py -@@ -129,6 +129,7 @@ def raise_valueerror(): +--- pyudev-0.24.1.orig/tests/test_util.py ++++ pyudev-0.24.1/tests/test_util.py +@@ -119,6 +119,7 @@ def raise_valueerror(): _CHAR_DEVICES = list(_CONTEXT.list_devices(subsystem="tty")) @@ -87,7 +75,7 @@ Index: pyudev-0.24.0/tests/test_util.py @pytest.mark.skipif(len(_CHAR_DEVICES) == 0, reason="no tty devices") @given(strategies.sampled_from(_CHAR_DEVICES)) @settings(max_examples=5) -@@ -142,6 +143,7 @@ def test_get_device_type_character_devic +@@ -132,6 +133,7 @@ def test_get_device_type_character_devic _BLOCK_DEVICES = list(_CONTEXT.list_devices(subsystem="block")) diff --git a/python-pyudev-0.24.0-gh.tar.gz b/python-pyudev-0.24.0-gh.tar.gz deleted file mode 100644 index 31c4090..0000000 --- a/python-pyudev-0.24.0-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:91fbc62f3a8425871a943cc424bf93d7d2c9cb3c5df4480f81efe23ef3a64603 -size 81712 diff --git a/python-pyudev-0.24.1-gh.tar.gz b/python-pyudev-0.24.1-gh.tar.gz new file mode 100644 index 0000000..933d68f --- /dev/null +++ b/python-pyudev-0.24.1-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b277149ebca914d3f5daff1a7fa1e0d00bea9c4950af8ac95d9a8a83f2937c79 +size 81689 diff --git a/python-pyudev.changes b/python-pyudev.changes index 897248a..ffb776e 100644 --- a/python-pyudev.changes +++ b/python-pyudev.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed May 3 09:11:27 UTC 2023 - Dirk Müller + +- update to 0.24.1: + * Recommended development release: Fedora 37 + * Add support for PySide6 + * Add missing 'priority' argument for GLib.to_add_watch() + * Tidies and Maintenance fixes + ------------------------------------------------------------------- Fri Apr 21 12:32:30 UTC 2023 - Dirk Müller diff --git a/python-pyudev.spec b/python-pyudev.spec index adb2f9f..6634a07 100644 --- a/python-pyudev.spec +++ b/python-pyudev.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-pyudev -Version: 0.24.0 +Version: 0.24.1 Release: 0 Summary: Udev bindings for Python License: LGPL-2.1-or-later