diff --git a/affine-2.4.0.tar.gz b/affine-2.4.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..fb997cf18a45f1484260deb0c7565a7fad416ad4 Binary files /dev/null and b/affine-2.4.0.tar.gz differ diff --git a/python-affine.spec b/python-affine.spec new file mode 100644 index 0000000000000000000000000000000000000000..1cf09454f9cdcb559416299eff2617c6ffbdcae7 --- /dev/null +++ b/python-affine.spec @@ -0,0 +1,62 @@ +%define anolis_release 1 + +%global srcname affine + +Name: python-%{srcname} +Version: 2.4.0 +Release: %{anolis_release}%{?dist} +Summary: Matrices describing affine transformation of the plane + +License: BSD-3-Clause +URL: https://github.com/sgillies/affine +Source0: %pypi_source + +BuildArch: noarch + +BuildRequires: python3-devel + +%global _description \ +Matrices describing affine transformation of the plane. The Affine package is \ +derived from Casey Duncan's Planar package. + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %{_description} + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + +%prep +%autosetup -n %{srcname}-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires -x test + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{srcname} +%generate_compatibility_deps + +%check +%{pytest} -v --pyargs affine + +%files doc +%doc README.rst + +%files -n python3-%{srcname} -f %{pyproject_files} +%dir %{abidir} + +%changelog +* Fri Apr 17 2026 Yuki Zhu - 2.4.0-1 +- Init Package from upstream \ No newline at end of file