14
0
forked from pool/python-evdev
Commit Graph

23 Commits

Author SHA256 Message Date
Matthias Bach
8aaf3d85df - 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
Matthias Bach
df23c27624 - 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
Matthias Bach
4adf429796 - 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
Matthias Bach
d56086d1cb - 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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