0b97c9e
%global srcname affine
0b97c9e
0b97c9e
Name:           python-%{srcname}
01476e5
Version:        2.3.0
01476e5
Release:        1%{?dist}
0b97c9e
Summary:        Matrices describing affine transformation of the plane
0b97c9e
0b97c9e
License:        BSD
0b97c9e
URL:            https://github.com/sgillies/affine
01476e5
Source0:        %pypi_source
0b97c9e
0b97c9e
BuildArch:      noarch
0b97c9e
0b97c9e
%global _description \
0b97c9e
Matrices describing affine transformation of the plane. The Affine package is \
0b97c9e
derived from Casey Duncan's Planar package.
0b97c9e
0b97c9e
%description %{_description}
0b97c9e
0b97c9e
0b97c9e
%package -n     python3-%{srcname}
0b97c9e
Summary:        %{summary}
0b97c9e
%{?python_provide:%python_provide python3-%{srcname}}
0b97c9e
0b97c9e
BuildRequires:  python3-devel
0b97c9e
BuildRequires:  python3-setuptools
0b97c9e
BuildRequires:  python3-pytest
0b97c9e
0b97c9e
%description -n python3-%{srcname} %{_description}
0b97c9e
0b97c9e
0b97c9e
%prep
0b97c9e
%autosetup -n %{srcname}-%{version} -p1
0b97c9e
0b97c9e
# Remove bundled egg-info
0b97c9e
rm -rf %{srcname}.egg-info
0b97c9e
0b97c9e
0b97c9e
%build
0b97c9e
%py3_build
0b97c9e
0b97c9e
0b97c9e
%install
0b97c9e
%py3_install
0b97c9e
0b97c9e
0b97c9e
%check
7f8b46d
PYTHONDONTWRITEBYTECODE=1 \
0b97c9e
PYTHONPATH="%{buildroot}%{python3_sitearch}" \
0b97c9e
    pytest-3 -v --pyargs affine
0b97c9e
0b97c9e
0b97c9e
%files -n python3-%{srcname}
0b97c9e
%doc README.rst
0b97c9e
%{python3_sitelib}/%{srcname}
0b97c9e
%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info
0b97c9e
0b97c9e
0b97c9e
%changelog
01476e5
* Wed Sep 04 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.3.0-1
01476e5
- Update to latest version
01476e5
f79a325
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.2.2-5
f79a325
- Rebuilt for Python 3.8
f79a325
a2cdd77
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-4
a2cdd77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
a2cdd77
24ff967
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.2-3
24ff967
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
24ff967
7f8b46d
* Sun Jan 13 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.2-2
7f8b46d
- Remove testing bytecode
7f8b46d
033c04f
* Sat Jan 12 2019 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.2-1
033c04f
- Update to latest version
033c04f
39c706d
* Mon Oct 01 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-4
39c706d
- Drop Python 2 subpackage
39c706d
2064430
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-3
2064430
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2064430
fdf02ea
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.2.1-2
fdf02ea
- Rebuilt for Python 3.7
fdf02ea
7dc6b01
* Sat Jun 09 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.1-1
7dc6b01
- Update to latest release
7dc6b01
2e6eb1e
* Wed Mar 21 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.2.0-1
2e6eb1e
- New upstream release
2e6eb1e
41f84e3
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-2
41f84e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
41f84e3
0b97c9e
* Sat Jan 13 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 2.1.0-1
0b97c9e
- Initial package.