Commit Graph

34 Commits

Author SHA256 Message Date
Steve Kowalik
5e47c674a3 - Update to 0.24.3:
* Tidies and Maintenance fixes
- Switch to pyproject macros.
- No more greedy globs in %files.
- Add patch support-pytest-8.patch:
  * Support pytest 8 changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=64
2024-05-15 05:00:48 +00:00
09dddab575 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=60
2023-05-03 09:14:59 +00:00
67e391995e Accepting request 1081575 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081575
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=58
2023-04-21 13:21:42 +00:00
bc00a63817 - update to 0.24.0:
* Remove six dependency
  * Drop pylint tasks
  * Support python 3.9 and 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=54
2022-10-01 07:49:29 +00:00
Steve Kowalik
1597d92213 Also skip test_getitem, which only fails sporadically
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=52
2022-03-17 09:08:36 +00:00
Steve Kowalik
fee44f1f69 - Skip some unreliable tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=51
2022-03-16 23:43:29 +00:00
Steve Kowalik
9abcfd5abd Accepting request 960810 from home:dimstar:Factory
Update to 0.23.2 plus a few git commits; does not fix build in F, but is a better base to work on

OBS-URL: https://build.opensuse.org/request/show/960810
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=49
2022-03-10 23:07:17 +00:00
fd8135d9ae Accepting request 948959 from home:bmwiedemann:branches:devel:languages:python
Don't add date to version for reproducible builds (boo#1047218)

OBS-URL: https://build.opensuse.org/request/show/948959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=48
2022-01-25 09:05:22 +00:00
88151c10b0 - Update to version 0.22.0+git.1642212208.d5630bf:
* Remove another flakey test
  * Remove all traces of tox
  * Update next Fedora to 35
  * Delete a test which is probably flakey for real
  * Bump recommended development environment to fedora 34
  * Use yamllint on all the configuration files
  * Add annotations to GitHub workflows
  * No longer use --recursive for isort
  * Update formatting for new black
  * Establish a weekly task for future fedora
- Remove upstreamed patches:
  - remove_mock.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=45
2022-01-17 06:03:59 +00:00
13c086aed2 Fix the patch metadata
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=44
2021-08-11 05:47:29 +00:00
853ff014cd Accepting request 911252 from home:mcepl:branches:devel:languages:python
- Add hypothesis_settings.patch to allow longer timeouts in OBS.

OBS-URL: https://build.opensuse.org/request/show/911252
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=42
2021-08-10 12:54:01 +00:00
7866c35105 Accepting request 855370 from home:bnavigator:branches:devel:languages:python
- Add remove_mock.patch gh#pyudev/pyudev#409
- Static linting with pylint is not needed for unit tests or build

OBS-URL: https://build.opensuse.org/request/show/855370
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=40
2020-12-13 08:22:47 +00:00
4ca0cf5586 One more fix
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=37
2020-10-09 14:14:50 +00:00
475b148545 syntactically correct and skip over tests we cannot run because
of missing /dev gh#pyudev/pyudev#404.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=36
2020-10-09 11:43:31 +00:00
c0ee678bc4 - Add pytest_register_mark.patch to make the test suite at least
syntactically correct. Unfortunately, it is still broken
  gh#pyudev/pyudev#404.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=35
2020-10-08 23:03:46 +00:00
850c503204 - update to 0.22.0:
- Add a six-enabled move for collections move imports:
    https://github.com/pyudev/pyudev/pull/386
  - Fix any newly introduced pylint errors
  - Numerous improvements or updates to the test infrastructure
  - A number of test updates
  - Require yapf 0.21.0 for Python formatting
  - Various documentation fixes and updates

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=33
2020-02-28 21:40:00 +00:00
4831ad075f Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=31
2018-12-04 17:20:29 +00:00
a4d2fc99ec Remove superfluous devel dependency for noarch package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=30
2018-12-04 13:57:21 +00:00
Tomáš Chvátal
8319ef61bc Accepting request 570867 from home:mimi_vx:branches:devel:languages:python
- fix Requires and BuiildRequires

OBS-URL: https://build.opensuse.org/request/show/570867
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=28
2018-01-30 08:16:24 +00:00
Tomáš Chvátal
3e60d10699 Accepting request 568738 from home:tbechtold:branches:devel:languages:python
- Require libudev (bsc#1077282)
  Otherwise, an pyudev import fails with:
  ImportError: No library named udev

OBS-URL: https://build.opensuse.org/request/show/568738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=26
2018-01-23 17:58:51 +00:00
Todd R
81e3c35d26 Accepting request 520039 from devel:languages:python:singlespec-staging
- singlespec auto-conversion
- Remove do_not_install_tests.patch
- Require python-six
- update to 0.20.0:
  * Remove parsing code added in previous release.
  * No longer do CI for Python 2.6.
  * Eliminate all wildcard imports and __all__ statements.
  * No longer use deprecated Device.from_sys_path() method.
  * Minor pylint induced changes.
  * Documentation fixes.
  * Restore raising KeyError by Attributes.as* methods when attribute not found.
  * Explicitly require six module.
  * Never raise a DeviceNotFoundError when iterating over a device enumeration.
  * Device.subsystem() now returns None if device has no subsystem.
  * Add DeprecationWarnings to deprecated Device methods.
  * Replace "/" with "!" in Device.from_name() sys_name parameter.
  * Add some unstable classes for parsing some kinds of values.
  * Make version info more like Python's including micro numbers and levels.
  * Refactor some internal modules into subdirectories.
  * Work on tests and reproducers.
  * DeviceNotFoundError is no longer a subtype of LookupError
  * Added support for pyqt5 monitor observer
  * Added discover module, which looks up a device on limited information
  * Attributes class no longer extends Mapping, extends object instead
  * Attributes class no longer inherits [] operator, Mapping methods
  * Attributes class objects are no longer iterable
  * Attributes.available_attributes property added
  * Attributes.get() method, with usual semantics, defined
  * Device.from_* methods are deprecated, uses Devices.from_* methods instead
  * Device.from_device_file() now raises DeviceNotFoundByFileError
  * Device.from_device_number() now raises DeviceNotFoundByNumberError
  * Devices.from_interface_index() method added
  * Devices.from_kernel_device() method added
  * Numerous testing infrastructure changes
- Remove do_not_install_tests.patch . No longer needed.
- Require libudev1 . Needed to use python-pyudev
- Added a patch (do_not_install_tests.patch) to not install the
  tests as a module (not needed). Fixes also file conflicts in
  Factory.
- Update to version 0.17:
  * #52: Remove global libudev object
  * #57: Really start the monitor on :meth:`pyudev.Monitor.poll()`
  * #60: Do not use :meth:`select.select` to avoid hitting its file descriptor
    limit
  * #58: Force non-blocking IO in :class:`pyudev.Monitor` to avoid blocking on
    receiving the device
  * #63: Set proper flags on pipe fds.
  * #65: Handle irregular polling events properly.
  * #50: Add :class:`pyudev.wx.MonitorObserver` and deprecate 
    :class:`pyudev.wx.WxUDevMonitorObserver`
  * #50: Add :class:`pyudev.glib.MonitorObserver` and deprecate 
    :class:`pyudev.glib.GUDevMonitorObserver`
  * #50: Add :class:`pyudev.pyqt4.MonitorObserver` and deprecate 
    :class:`pyudev.pyqt4.QUDevMonitorObserver`
  * #50: Add :class:`pyudev.pyside.MonitorObserver` and deprecate 
    :class:`pyudev.pyside.QUDevMonitorObserver`
  * Add a wrapper function to retry interruptible system calls.
- Require python-setuptools instead of distribute (upstreams merged)
- Build HTML documentation
- Fix SLE_11_SP2 build (not noarch)
- Update to version 0.16.1:
  * #53: Fix source distribution
  * #54: Fix typo in test
  From version 0.16:
  * Remove :meth:`pyudev.Monitor.from_socket`.
  * Deprecate :meth:`pyudev.Device.traverse()` in favor of
    :attr:`pyudev.Device.ancestors`.
  * #47: Deprecate :meth:`pyudev.Monitor.receive_device` in favor of
    :attr:`pyudev.Monitor.poll`.
  * #47: Deprecate :attr:`pyudev.Monitor.enable_receiving` in favor of
    :attr:`pyudev.Monitor.start`.
  * #47: Deprecate :attr:`pyudev.Monitor.__iter__` in favor of explicit looping
    or :class:`pyudev.MonitorObserver`.
  * #49: Deprecate ``event_handler`` to :class:`pyudev.MonitorObserver` in
    favour of ``callback`` argument.
  * #46: Continuously test pyudev on Travis-CI.
  * Add :attr:`pyudev.Device.ancestors`.
  * Add :attr:`pyudev.Device.action`.
  * #10: Add :attr:`pyudev.Device.sequence_number`.
  * #47: Add :meth:`pyudev.Monitor.poll`.
  * #47: Add :attr:`pyudev.Monitor.started`.
  * #49: Add ``callback`` argument to :class:`pyudev.Monitor`.
  * :meth:`pyudev.Monitor.start` can be called repeatedly.
  * #45: Get rid of 2to3
  * #43: Fix test failures on Python 2.6
  * Fix signature in declaration of ``udev_monitor_set_receive_buffer_size``.
  * #44: Test wrapped signatures with help of ``gccxml``.
  * Fix compatibility with udev 183 and newer in :class:`pyudev.Context`.
  * :meth:`pyudev.MonitorObserver.stop` can be called from the observer thread.
- Removed python-setuptools and added python-distribute as build requirement.
- Update to version 0.15:
  * #20: :meth:`pyudev.Monitor.filter_by()` and
    :meth:`pyudev.Monitor.filter_by_tag()` can be called after
    :meth:`pyudev.Monitor.enable_receiving()` now
  * #20: Added :meth:`~pyudev.Monitor.remove_filter()`
  * :class:`pyudev.MonitorObserver` calls
    :meth:`pyudev.Monitor.enable_receiving()` now when started.
  * #40: Added user guide to the documentation
  * #39: Added :meth:`pyudev.Device.from_device_file()`
  * :data:`errno.EINVAL` from underlying libudev functions causes
    :exc:`~exceptions.ValueError` instead of
    :exc:`~exceptions.EnvironmentError` now.
- Update to version 0.14:
  * Documentation now hosted at http://pyudev.readthedocs.org
  * #37: Added :class:`pyudev.wx.WxUDevMonitorObserver` for wxPython
  * Added :class:`pyudev.MonitorObserver`
  * Added :attr:`pyudev.glib.GUDevMonitorObserver.enabled`,
    :attr:`pyudev.pyqt4.QUDevMonitorObserver.enabled` and
    :attr:`pyudev.pyside.QUDevMonitorObserver.enabled`
- Update to version 0.13:
  * #36: Added :meth:`pyudev.Monitor.set_receive_buffer_size` (thanks to Rémi
    Rérolle)
  * #34: :class:`pyudev.Device.tags` returns a :class:`pyudev.Tags` object now
  * Added :meth:`pyudev.Enumerator.match_parent`
  * Added ``parent`` keyword argument to :meth:`pyudev.Enumerator.match()`
  * Removed :meth:`pyudev.Enumerator.match_children` in favour of
    :meth:`pyudev.Enumerator.match_parent`
  * :attr:`pyudev.Device.children` requires udev version 172 now
  * #31: Added :meth:`pyudev.Enumerator.match_attribute`
  * Added ``nomatch`` argument to :meth:`pyudev.Enumerator.match_subsystem` and
    :meth:`pyudev.Enumerator.match_attribute`
- Update to version 0.12:
  * #32: Fixed memory leak
  * #33: Fixed Python 3 support for :mod:`pyudev.glib`
  * Fixed license header in :mod:`pyudev._compat`
- Spec file updates.
  * Changed License: to LGPL-2.1+.
  * Minor other updates.
- Update to version 0.11:
  * #30: Added :attr:`pyudev.Device.sys_number`
  * #29: Added :meth:`pyudev.Device.from_device_number` and
    :attr:`pyudev.Device.device_number`
  * Officially support PyPy now
  From 0.10:
  * Added :attr:`pyudev.__version_info__`
  * Added :attr:`pyudev.Device.device_type`
  * :class:`pyudev.Context`, :class:`pyudev.Enumerator`, :class:`pyudev.Device`
    and :class:`pyudev.Monitor` can now directly be passed to
    :mod:`ctypes`-wrapped functions
  * #24: Added :attr:`pyudev.Context.run_path`
  From 0.9:
  * #21: Added :meth:`pyudev.Device.find_parent`
  * #22: Added :meth:`pyudev.Monitor.filter_by_tag`
  * Added :attr:`pyudev.Context.log_priority` to control internal UDev logging
  * Improve error reporting, if libudev is missing
- Spec file updates:
  * Changed package name to python-pyudev.
  * Changed License: to LGPL-2.1.
  * Updated Url:.
  * Added Provides/Obsoletes entries for pyudev.
  * Build the package as noarch.
  * Minor other updates.
- Initial Package (version 0.8).

OBS-URL: https://build.opensuse.org/request/show/520039
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=24
2017-08-31 22:04:22 +00:00
a8928b4df6 Accepting request 397545 from home:tbechtold:branches:devel:languages:python
- Remove do_not_install_tests.patch
- Require python-six

OBS-URL: https://build.opensuse.org/request/show/397545
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=22
2016-05-24 04:53:31 +00:00
Jan Matejek
91212fa830 Accepting request 397540 from home:tbechtold:branches:devel:languages:python
- update to 0.20.0:
  * Remove parsing code added in previous release.
  * No longer do CI for Python 2.6.
  * Eliminate all wildcard imports and __all__ statements.
  * No longer use deprecated Device.from_sys_path() method.
  * Minor pylint induced changes.
  * Documentation fixes.
  * Restore raising KeyError by Attributes.as* methods when attribute not found.
  * Explicitly require six module.
  * Never raise a DeviceNotFoundError when iterating over a device enumeration.
  * Device.subsystem() now returns None if device has no subsystem.
  * Add DeprecationWarnings to deprecated Device methods.
  * Replace "/" with "!" in Device.from_name() sys_name parameter.
  * Add some unstable classes for parsing some kinds of values.
  * Make version info more like Python's including micro numbers and levels.
  * Refactor some internal modules into subdirectories.
  * Work on tests and reproducers.
  * DeviceNotFoundError is no longer a subtype of LookupError
  * Added support for pyqt5 monitor observer
  * Added discover module, which looks up a device on limited information
  * Attributes class no longer extends Mapping, extends object instead
  * Attributes class no longer inherits [] operator, Mapping methods
  * Attributes class objects are no longer iterable
  * Attributes.available_attributes property added
  * Attributes.get() method, with usual semantics, defined
  * Device.from_* methods are deprecated, uses Devices.from_* methods instead
  * Device.from_device_file() now raises DeviceNotFoundByFileError
  * Device.from_device_number() now raises DeviceNotFoundByNumberError
  * Devices.from_interface_index() method added
  * Devices.from_kernel_device() method added

OBS-URL: https://build.opensuse.org/request/show/397540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=21
2016-05-23 15:48:05 +00:00
Asterios Dramis
5eaf2d6627 Accepting request 333211 from home:adra:branches:devel:languages:python
Added a patch (do_not_install_tests.patch) to not install the tests as a module. Fixes also file conflicts in Factory

OBS-URL: https://build.opensuse.org/request/show/333211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=19
2015-09-23 19:07:17 +00:00
Asterios Dramis
ccc2b13f2f Accepting request 330988 from home:frispete:python
updated to 0.17, tests still sdysfunctional

OBS-URL: https://build.opensuse.org/request/show/330988
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=18
2015-09-15 18:03:21 +00:00
Sascha Peilicke
23c29203cc - Require python-setuptools instead of distribute (upstreams merged)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=16
2013-10-24 11:13:01 +00:00
Sascha Peilicke
7e08b4bac3 Python3 moved to devel:languages:python3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=14
2013-06-17 12:53:33 +00:00
Sascha Peilicke
9ebe7167e6 - Build HTML documentation
- Fix SLE_11_SP2 build (not noarch)

- Build HTML documentation, but disable due to python3-Sphinx error
- No need to require a specific Python ABI version, RPM does that

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=11
2012-11-20 11:26:17 +00:00
Ismail Dönmez
db0e863b55 Accepting request 141969 from home:adra:branches:devel:languages:python
Update to version 0.16.1, Removed python-setuptools and added python-distribute as build requirement, Added python3-pyudev package

OBS-URL: https://build.opensuse.org/request/show/141969
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=10
2012-11-20 08:36:18 +00:00
Sascha Peilicke
4af654a8d5 Accepting request 108753 from home:adra:branches:devel:languages:python
Update to version 0.15

OBS-URL: https://build.opensuse.org/request/show/108753
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=8
2012-03-11 10:27:27 +00:00
Sascha Peilicke
57f041fc85 Accepting request 105807 from home:adra:branches:devel:languages:python
Update to version 0.14

OBS-URL: https://build.opensuse.org/request/show/105807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=6
2012-02-20 11:18:01 +00:00
Sascha Peilicke
a0ee3e3f89 Accepting request 90192 from home:adra:branches:devel:languages:python
Update to version 0.13

OBS-URL: https://build.opensuse.org/request/show/90192
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=4
2011-11-07 08:14:21 +00:00
Sascha Peilicke
1b3cb993da Accepting request 80449 from home:adra:branches:devel:languages:python
Update to version 0.12 (which fixes also bnc#714916)

OBS-URL: https://build.opensuse.org/request/show/80449
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=2
2011-09-01 06:56:18 +00:00
Sascha Peilicke
cb2144dfa3 Accepting request 79981 from home:adra:branches:KDE:Unstable:Playground
New package submission: python-pyudev, Udev bindings for Python - python-pyudev is needed by newer versions of synaptiks package - Based on package from KDE:Unstable:Playground

OBS-URL: https://build.opensuse.org/request/show/79981
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyudev?expand=0&rev=1
2011-08-29 07:24:15 +00:00