%global srcname kiwisolver Name: python-%{srcname} Version: 1.3.2 Release: 2%{?dist} Summary: A fast implementation of the Cassowary constraint solver License: BSD URL: https://github.com/nucleic/kiwi Source0: https://github.com/nucleic/kiwi/archive/%{version}/%{srcname}-%{version}.tar.gz %global _description \ Kiwi is an efficient C++ implementation of the Cassowary constraint solving \ algorithm. Kiwi is an implementation of the algorithm based on the seminal \ Cassowary paper. It is *not* a refactoring of the original C++ solver. Kiwi has \ been designed from the ground up to be lightweight and fast. BuildRequires: gcc-c++ %description %{_description} %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_version}dist(setuptools) BuildRequires: python%{python3_version}dist(cppy) >= 1.1 BuildRequires: python%{python3_version}dist(pytest) %description -n python%{python3_pkgversion}-%{srcname} %{_description} %prep %autosetup -n kiwi-%{version} # Remove bundled egg-info rm -rf %{srcname}.egg-info %build %py3_build %install %py3_install %check %{pytest} py/tests/ %files -n python%{python3_pkgversion}-%{srcname} %doc README.rst %license LICENSE %{python3_sitearch}/%{srcname}.cpython-*.so %{python3_sitearch}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog * Wed Jan 27 2021 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 02 2020 Elliott Sales de Andrade - 1.3.1-1 - Update to latest version (#1893587) * Wed Oct 28 2020 Elliott Sales de Andrade - 1.3.0-1 - Update to latest version (#1892158) * Wed Jul 29 2020 Fedora Release Engineering - 1.2.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon May 25 2020 Miro Hrončok - 1.2.0-2 - Rebuilt for Python 3.9 * Fri Apr 17 2020 Elliott Sales de Andrade - 1.2.0-1 - Update to latest version * Thu Jan 30 2020 Fedora Release Engineering - 1.1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Oct 21 2019 Elliott Sales de Andrade - 1.1.0-4 - Drop Python 2 subpackage * Sun Aug 18 2019 Miro Hrončok - 1.1.0-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu May 16 2019 Elliott Sales de Andrade - 1.1.0-1 - Update to latest version * Sat Feb 02 2019 Fedora Release Engineering - 1.0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 1.0.1-2 - Rebuilt for Python 3.7 * Sat Feb 03 2018 Elliott Sales de Andrade - 1.0.1-1 - Initial package.