0b97c9e
%global srcname affine
0b97c9e
0b97c9e
Name:           python-%{srcname}
f77f32b
Version:        2.4.0
87c4e3b
Release:        %autorelease
0b97c9e
Summary:        Matrices describing affine transformation of the plane
0b97c9e
f77f32b
License:        BSD-3-Clause
0b97c9e
URL:            https://github.com/sgillies/affine
01476e5
Source0:        %pypi_source
0b97c9e
0b97c9e
BuildArch:      noarch
0b97c9e
d2b6ff8
BuildRequires:  python3-devel
d2b6ff8
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
%package -n     python3-%{srcname}
0b97c9e
Summary:        %{summary}
0b97c9e
0b97c9e
%description -n python3-%{srcname} %{_description}
0b97c9e
0b97c9e
%prep
0b97c9e
%autosetup -n %{srcname}-%{version} -p1
0b97c9e
d2b6ff8
%generate_buildrequires
d2b6ff8
%pyproject_buildrequires -x test
0b97c9e
0b97c9e
%build
d2b6ff8
%pyproject_wheel
0b97c9e
0b97c9e
%install
d2b6ff8
%pyproject_install
d2b6ff8
%pyproject_save_files %{srcname}
0b97c9e
0b97c9e
%check
d2b6ff8
%{pytest} -v --pyargs affine
0b97c9e
d2b6ff8
%files -n python3-%{srcname} -f %{pyproject_files}
0b97c9e
%doc README.rst
0b97c9e
0b97c9e
%changelog
87c4e3b
%autochangelog