42 Commits

Author SHA256 Message Date
dcc7c7ef08 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
7c7bb5b64a - 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
7cb1a48c04 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
14904a1655 - 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
a329f2b2e4 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
4a6af80651 - 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
a48e6bb00b 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
03a4238387 - 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
b9ef84d6e9 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
9ed0e70e66 - 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
1870494523 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
3d1e4e4172 - 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
bd119b3f49 - 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
2aeabf9c83 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
686331202b 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
9a6a555c32 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
e6c62eaf68 - 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
55dd04752b 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
e6ef68902c - 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
34bb86038e - 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
f05ecf157d 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
c78fc088df 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
1200d0ded4 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
a29dc2eb4b - 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
6d1468277a 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
70a2cf9e7e 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
94718b3f10 - 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
2a28505581 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
dfec42a212 - 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
f474d097a3 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
c789a7d27d 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
4d52dda666 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
4057a3364f - 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
e17ca98700 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
06fb6bb4da - 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
aee7898c97 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
c073a94f08 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
1c9dc3ef62 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
a1b221e8e4 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
0a80188fd6 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
e694a4b42f 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
b60d7e553a 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