Commit Graph

42 Commits

Author SHA256 Message Date
462c9e5489 Accepting request 1275919 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1275919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=19
2025-05-09 16:48:49 +00:00
Matthias Bach
1121d13d3a - Update to 1.9.2
* Use Generic to set precise type for InputDevice.path.
  * Allow supressing build-dependent information in ecodes.c.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=40
2025-05-01 20:30:56 +00:00
35e49bb9e7 Accepting request 1247823 from devel:languages:python
- Update to 1.9.1
  * Fix fox missing UI_FF constants in generated ecodes.py.
  * More type annotations.

OBS-URL: https://build.opensuse.org/request/show/1247823
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=18
2025-02-22 18:05:54 +00:00
Matthias Bach
174216bb98 - Update to 1.9.1
* Fix fox missing UI_FF constants in generated ecodes.py.
  * More type annotations.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=38
2025-02-22 11:51:41 +00:00
ab46bfb204 Accepting request 1244849 from devel:languages:python
- Update to 1.9.0
  * Slightly faster reading of events in device.read() and
    device.read_one().
  * Drop deprecated InputDevice.fn (use InputDevice.path instead).
  * Improve type hint coverage and add a py.typed file.
- Remove fix-tests.patch as it was included upstream.

OBS-URL: https://build.opensuse.org/request/show/1244849
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=17
2025-02-11 20:23:26 +00:00
Matthias Bach
6896da18f8 - Update to 1.9.0
* Slightly faster reading of events in device.read() and
    device.read_one().
  * Drop deprecated InputDevice.fn (use InputDevice.path instead).
  * Improve type hint coverage and add a py.typed file.
- Remove fix-tests.patch as it was included upstream.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=36
2025-02-10 19:09:55 +00:00
d8bc0e87d9 Accepting request 1241259 from devel:languages:python
- Update to 1.8.0
  * The evdev.ecodes module is now generated at install time and
    contains only constants. This allows type checking and
    introspection of the evdev.ecodes module, without having to
    execute it first. The old module is available as
    evdev.ecodes_runtime.
  * Reverse mappings in evdev.ecodes that point to more than one
    value are now tuples instead of lists.
  * Fix keyboard delay and repeat being swapped.
  * Move the syn() convenience method from InputDevice to EventIO.
- Add fix-tests.patch to pull in test fixes that upstream only
  included after tagging their release.
- Switch source download during packaging from disabledrun to
  manualrun.

OBS-URL: https://build.opensuse.org/request/show/1241259
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=16
2025-01-30 13:52:15 +00:00
Matthias Bach
dbebc0931c - Update to 1.8.0
* The evdev.ecodes module is now generated at install time and
    contains only constants. This allows type checking and
    introspection of the evdev.ecodes module, without having to
    execute it first. The old module is available as
    evdev.ecodes_runtime.
  * Reverse mappings in evdev.ecodes that point to more than one
    value are now tuples instead of lists.
  * Fix keyboard delay and repeat being swapped.
  * Move the syn() convenience method from InputDevice to EventIO.
- Add fix-tests.patch to pull in test fixes that upstream only
  included after tagging their release.
- Switch source download during packaging from disabledrun to
  manualrun.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=34
2025-01-29 19:57:20 +00:00
c5dcb5173b Accepting request 1172973 from devel:languages:python
- Update to 1.7.1
  * Wait up to two seconds for uinput devices to appear.

OBS-URL: https://build.opensuse.org/request/show/1172973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=15
2024-05-10 10:05:23 +00:00
Matthias Bach
aafafaf8ab - Update to 1.7.1
* Wait up to two seconds for uinput devices to appear.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=32
2024-05-09 09:21:16 +00:00
f06cb6684d Accepting request 1147703 from devel:languages:python
- Update to 1.7.0
  * Add the uniq address to the string representation of InputDevice.
  * Improved method for finding the device node corresponding to a
    uinput device
- Adjust package build to upstream's switch to pyproject.toml.
- Drop obsolete Leap 15.3 compatiblity handling in spec file.

OBS-URL: https://build.opensuse.org/request/show/1147703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=14
2024-02-20 20:14:54 +00:00
Matthias Bach
1b1e1432d0 - Drop obsolete Leap 15.3 compatiblity handling in spec file.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=30
2024-02-19 22:13:11 +00:00
Matthias Bach
fb5186d30a - Update to 1.7.0
* Add the uniq address to the string representation of InputDevice.
  * Improved method for finding the device node corresponding to a
    uinput device
- Adjust package build to upstream's switch to pyproject.toml.
- Switch package to modern Python
  * On Python 3.6 there is no new enough setuptools anyhow.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=29
2024-02-19 21:20:43 +00:00
32fafc34b6 Accepting request 1098387 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1098387
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=13
2023-07-13 15:17:42 +00:00
4fecdc48ee Accepting request 1098361 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1098361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=27
2023-07-12 15:25:12 +00:00
74d7156706 Accepting request 1060464 from devel:languages:python
- Update to 1.6.1
  * No changelog was made available.
- Fix source URL as upstream no longer creates Github releases but
  only tags.
- Add a _service file for easier source download.

OBS-URL: https://build.opensuse.org/request/show/1060464
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=12
2023-01-24 18:42:52 +00:00
Matthias Bach
8ae91fb98c - Update to 1.6.1
* No changelog was made available.
- Fix source URL as upstream no longer creates Github releases but
  only tags.
- Add a _service file for easier source download.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=25
2023-01-23 14:51:25 +00:00
7005248d1e Accepting request 990453 from devel:languages:python
- Update to 1.6.0
  * Fix Python 3.11 compatibility
- Drop packaging for Python 2

OBS-URL: https://build.opensuse.org/request/show/990453
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=11
2022-07-21 09:35:20 +00:00
Matthias Bach
a90a68a261 - Drop packaging for Python 2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=23
2022-07-20 20:41:29 +00:00
Matthias Bach
268cf3c8d7 - Update to 1.6.0
* Fix Python 3.11 compatibility

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=22
2022-07-20 20:14:28 +00:00
1d2e82b933 Accepting request 965009 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/965009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=10
2022-03-26 21:31:07 +00:00
Matthias Bach
f7ce5e7c4d Accepting request 965007 from home:theMarix:branches:devel:languages:python
- Update to 1.5.0
  * Input device is now closed from main thread in
    InputDevice.close()
  * util.find_ecodes_by_regex now works across all Python versions
- Drop evdev-re-Pattern.patch now included upstream

OBS-URL: https://build.opensuse.org/request/show/965007
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=20
2022-03-26 11:33:33 +00:00
abe1aa7de8 Accepting request 947059 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/947059
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=9
2022-01-17 21:34:32 +00:00
Matthias Bach
7ee4ec8a7d - Work around broken pytest macro on Leap 15.3
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=19
2022-01-10 20:22:47 +00:00
1bec7ddd42 Accepting request 884194 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/884194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=8
2021-04-12 10:36:56 +00:00
Matthias Bach
2c64f60f45 Accepting request 884132 from home:bnavigator:branches:devel:languages:python
- Add evdev-re-Pattern.patch -- gh#gvalkov/python-evdev#152

OBS-URL: https://build.opensuse.org/request/show/884132
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=17
2021-04-10 08:46:57 +00:00
9c2bc907e6 - update to 1.4.0:
- Fix ``InputDevice.set_absinfo`` to allow setting parameters to zero.
- Fix off-by-one in ``ioctl_EVIOCG_bits``, which causes value at the end of the
  list to not be reported back
- Fix ``set_absinfo`` to allow setting parameters to zero
- Fix leak when returning ``BlockingIOError`` from a read
- Fix "There is no current event loop in thread" error for non asyncio code
- Prevent ``InputDevice`` destructor from blocking
- Add missing return codes to ``os.strerror()`` calls and fix force feedback
- Add the ``util.find_ecodes_by_regex()`` helper function.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=16
2021-01-23 01:06:13 +00:00
ca823c5906 Accepting request 859634 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/859634
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=7
2021-01-01 20:14:06 +00:00
Matthias Bach
4955c8d7ed - Modernise spec file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=14
2020-12-24 18:17:56 +00:00
40ef963a00 Accepting request 763808 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/763808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=6
2020-01-13 21:21:18 +00:00
Tomáš Chvátal
73aaca7f5d Accepting request 763675 from home:theMarix:branches:devel:languages:python
- Update to 1.3.0
  * Fix build on 32bit arches with 64bit time_t.
  * Add functionality to query device properties. See
    InputDevice.input_props and the input_props argument to Uinput.
  * KeyEvent received an allow_unknown constructor argument, which
    determines what will happen when an event code cannot be mapped
    to a keycode. The default and behavior so far has been to raise
    KeyError. If set to True, the keycode will be set to the event
    code formatted as a hex number.
  * Add InputDevice.set_absinfo() and InputDevice.absinfo().
  * Instruct the asyncio event loop to stop monitoring the fd of
    the input device when the device is closed.

OBS-URL: https://build.opensuse.org/request/show/763675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=12
2020-01-13 08:36:57 +00:00
8552fc819f Accepting request 702767 from devel:languages:python
- update to 1.2.0
  * Add UInput support for the resolution parameter in AbsInfo
  * Vendor and product identifiers can be greater or equal to 0x8000

OBS-URL: https://build.opensuse.org/request/show/702767
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=5
2019-05-14 11:43:47 +00:00
c00d24ba4e - update to 1.2.0
* Add UInput support for the resolution parameter in AbsInfo
  * Vendor and product identifiers can be greater or equal to 0x8000

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=10
2019-05-14 07:10:29 +00:00
68f001bc41 Accepting request 680458 from devel:languages:python
- Update to 1.1.2:
  * Fix handling of absinfo capabilities
  * Fix invalid example
  * Check if FF_MAX_EFFECTS is defined

OBS-URL: https://build.opensuse.org/request/show/680458
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=4
2019-03-01 15:50:01 +00:00
Tomáš Chvátal
0cd8d69a7b - Update to 1.1.2:
* Fix handling of absinfo capabilities
  * Fix invalid example
  * Check if FF_MAX_EFFECTS is defined

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=8
2019-03-01 11:03:17 +00:00
9528153583 Accepting request 631923 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/631923
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=3
2018-08-29 10:26:24 +00:00
Tomáš Chvátal
7b051e8c87 Accepting request 631917 from home:theMarix:branches:devel:languages:python
- Update to version 1.1.0
  * Add support for handling force-feedback effect uploads.
  * Fix typo preventing force-feedback effects that need left
    coefficients from working.
- Add _service file to fetch source from Git.

OBS-URL: https://build.opensuse.org/request/show/631917
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=6
2018-08-28 08:27:43 +00:00
cc6c8ea90b Accepting request 619208 from devel:languages:python
- Run tests during packaging.
- Changed to source taken directly from Git instead of PyPI.
  (PyPI tarballs don't carry tests)

- Update to version 1.0.0
  * Fixed asyncio support in Python 3.5+.
  * Fixed handling of missing data.
  * Fixed device comparison.
  * Deprecated the InputDevice.fn attribute in favour of
    InputDevice.path
  * Add a context manager for grabbing access to a device -
    InputDevice.grab_context.
  * Add the InputDevice.uniq attribute, which contains the unique
    identifier of the device.

OBS-URL: https://build.opensuse.org/request/show/619208
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=2
2018-06-29 20:34:40 +00:00
fba5251074 Switch back to the github release.
(There are no tests packaged in the PyPI tarball)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=4
2018-06-26 19:27:11 +00:00
7c5f09ab45 Accepting request 614382 from home:theMarix:branches:devel:languages:python
- Run tests during packaging.
  * This runs only those tests which do not require /dev/uinput.
- Changed to source taken directly from Git instead of PyPI.

- Update to version 1.0.0
  * Fixed asyncio support in Python 3.5+.
  * Fixed handling of missing data.
  * Fixed device comparison.
  * Deprecated the InputDevice.fn attribute in favour of
    InputDevice.path
  * Add a context manager for grabbing access to a device -
    InputDevice.grab_context.
  * Add the InputDevice.uniq attribute, which contains the unique
    identifier of the device.

OBS-URL: https://build.opensuse.org/request/show/614382
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=3
2018-06-06 11:44:21 +00:00
703277d85b Accepting request 571245 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/571245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-evdev?expand=0&rev=1
2018-01-31 18:53:02 +00:00
Tomáš Chvátal
40daed0baa Accepting request 570777 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/570777
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-evdev?expand=0&rev=1
2018-01-29 22:31:32 +00:00