Name:           python3-hid
Version:        0.0.git.42.a192b523
Release:        1%{?dist}
Summary:        hidapi bindings in ctypes
License:        MIT
URL:            https://github.com/KyleGospo/python3-hid

Source:         python3-hid-a192b523.tar.gz
BuildArch:      noarch
	
BuildRequires:  python3-devel
BuildRequires:  python3dist(setuptools)
Requires:       hidapi

%description
Python hidapi bindings in ctypes (aka pyhidapi)

# Disable debug packages
%define debug_package %{nil}

%prep
%setup -T -b 0 -q -n python3-hid

%build
%{python3} setup.py build

%install
%{python3} setup.py install --skip-build -O1 --root="%{buildroot}"

%files
%license LICENSE
%doc README.md
%{python3_sitelib}/hid-*.egg-info/
%{python3_sitelib}/hid/

%changelog