Registration is now invite-only. Any user can make an invite, you need to create it here and give resulting link to someone to register.

Last commit

avatar
Aleksandr Proklov has added 3ceb56781e
use pyproject for build

Files in

100644 | 89 lines (65 sloc) | 2.27 KB
%define	pypi_name	evdev

Name:		python-%{pypi_name}
Version:	1.7.1
Release:	2
Summary:	Bindings to the Linux input handling subsystem
Group:		Development/Python
Url:		https://github.com/gvalkov/python-evdev
Source0:	%{pypi_source}
License:	Revised BSD License
BuildRequires:	python3-devel

%description
*evdev*
-------

This package provides bindings to the generic input event interface in
Linux. The *evdev* interface serves the purpose of passing events
generated in the kernel directly to userspace through character
devices that are typically located in ``/dev/input/``.

This package also comes with bindings to *uinput*, the userspace input
subsystem. *Uinput* allows userspace programs to create and handle
input devices that can inject events directly into the input
subsystem.

Documentation:
    http://python-evdev.readthedocs.io/en/latest/

Development:
    https://github.com/gvalkov/python-evdev

Package:
    http://pypi.python.org/pypi/evdev

Changelog:
    http://python-evdev.readthedocs.io/en/latest/changelog.html
#---------------------------------------------------------------
%package -n python3-%{pypi_name}
Summary:	Bindings to the Linux input handling subsystem
Group:		Development/Python

%description -n python3-%{pypi_name}
*evdev*
-------

This package provides bindings to the generic input event interface in
Linux. The *evdev* interface serves the purpose of passing events
generated in the kernel directly to userspace through character
devices that are typically located in ``/dev/input/``.

This package also comes with bindings to *uinput*, the userspace input
subsystem. *Uinput* allows userspace programs to create and handle
input devices that can inject events directly into the input
subsystem.

Documentation:
    http://python-evdev.readthedocs.io/en/latest/

Development:
    https://github.com/gvalkov/python-evdev

Package:
    http://pypi.python.org/pypi/evdev

Changelog:
    http://python-evdev.readthedocs.io/en/latest/changelog.html

%files -n python3-%{pypi_name} -f %{pyproject_files}
%doc LICENSE
%doc README.md

#---------------------------------------------------------------


%prep
%setup -q -n %{pypi_name}-%{version}

%generate_buildrequires
%pyproject_buildrequires -r

%build
%pyproject_wheel

%install
%pyproject_install
%pyproject_save_files %{pypi_name}