Blame python-affine.spec

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