Blame python-pyvit.spec

dd2fc0b
%global srcname pyvit
dd2fc0b
dd2fc0b
Name:           python-%{srcname}
dd2fc0b
Version:        0.2.1
e0a39fc
Release:        3%{?dist}
dd2fc0b
Summary:        A Python Vehicle Interface Toolkit
dd2fc0b
dd2fc0b
License:        GPLv3+
dd2fc0b
URL:            https://github.com/linklayer/pyvit
dd2fc0b
Source0:        %{pypi_source}
dd2fc0b
BuildArch:      noarch
dd2fc0b
dd2fc0b
%description
dd2fc0b
pyvit is a toolkit for interfacing with cars from Python. It aims to implement
dd2fc0b
common hardware interfaces and protocols used in the automotive systems.
dd2fc0b
dd2fc0b
%package -n python3-%{srcname}
dd2fc0b
Summary:        %{summary}
dd2fc0b
dd2fc0b
BuildRequires:  python3-devel
dd2fc0b
%{?python_provide:%python_provide python3-%{srcname}}
dd2fc0b
dd2fc0b
%description -n python3-%{srcname}
dd2fc0b
pyvit is a toolkit for interfacing with cars from Python. It aims to implement
dd2fc0b
common hardware interfaces and protocols used in the automotive systems.
dd2fc0b
dd2fc0b
%prep
dd2fc0b
%autosetup -n %{srcname}-%{version}
dd2fc0b
dd2fc0b
%build
dd2fc0b
%py3_build
dd2fc0b
dd2fc0b
%install
dd2fc0b
%py3_install
dd2fc0b
dd2fc0b
# Tests are failing at the moment due to a missing file
dd2fc0b
#%check
dd2fc0b
#%{__python3} setup.py test
dd2fc0b
dd2fc0b
%files -n python3-%{srcname}
dd2fc0b
%doc CONTRIBUTING.rst README.rst
dd2fc0b
%license LICENSE.rst
dd2fc0b
%{python3_sitelib}/*.egg-info
dd2fc0b
%{python3_sitelib}/%{srcname}/
dd2fc0b
%exclude %{python3_sitelib}/test/
dd2fc0b
dd2fc0b
%changelog
e0a39fc
* Mon Aug 19 2019 Miro HronĨok <mhroncok@redhat.com> - 0.2.1-3
e0a39fc
- Rebuilt for Python 3.8
e0a39fc
db0aeae
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-2
db0aeae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
db0aeae
dd2fc0b
* Fri May 24 2019 Fabian Affolter <mail@fabian-affolter.ch> - 0.2.1-1
dd2fc0b
- Initial package for Fedora