## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname kiwisolver Name: python-%{srcname} Version: 1.4.5 Release: %autorelease Summary: A fast implementation of the Cassowary constraint solver # The entire source is BSD-3-Clause, except: # - kiwi/AssocVector.h is HPND-sell-variant # (https://gitlab.com/fedora/legal/fedora-license-data/-/issues/96) # # Additionally, the following do not contribute to the binary RPMs: # - benchmarks/nanobench.h is MIT License: BSD-3-Clause AND HPND-sell-variant URL: https://github.com/nucleic/kiwi Source0: %{pypi_source %{srcname}} %global _description %{expand: 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++ BuildRequires: python3-devel BuildRequires: python3dist(pytest) %description %{_description} %package -n python3-%{srcname} Summary: %{summary} # The file kiwi/AssocVector.h is derived from Loki # (https://sourceforge.net/projects/loki-lib/, # https://src.fedoraproject.org/rpms/loki-lib [retired]). # # Because this file has been modified from the original, and because Loki # upstream is no longer active, it cannot be unbundled. It is not # straightforward to determine which version of Loki was used for the fork. Provides: bundled(loki-lib) %description -n python3-%{srcname} %{_description} %prep %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{pytest} py/tests/ %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog * Sun Aug 27 2023 Elliott Sales de Andrade - 1.4.5-1 - Update to latest version (#2234402) * Fri Jul 21 2023 Fedora Release Engineering - 1.4.4-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 1.4.4-8 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.4.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Dec 22 2022 Benjamin A. Beasley - 1.4.4-6 - Don’t install the LICENSE file twice * Thu Dec 22 2022 Benjamin A. Beasley - 1.4.4-5 - Use RPM expand: macro for description * Thu Dec 22 2022 Benjamin A. Beasley - 1.4.4-4 - Don’t use deprecated zero-argument pypi_source * Thu Dec 22 2022 Benjamin A. Beasley - 1.4.4-3 - Convert License to SPDX * Mon Nov 14 2022 Benjamin A. Beasley - 1.4.4-2 - Properly handle bundled header from Loki * Fri Jul 29 2022 Elliott Sales de Andrade - 1.4.4-1 - Update to latest version (#2069443) * Fri Jul 22 2022 Fedora Release Engineering - 1.4.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 22 2022 Charalampos Stratakis - 1.4.3-1 - Update to 1.4.3 * Tue Jun 14 2022 Tomáš Hrnčiar - 1.4.1-3 - Backport patch for Python 3.11 compatibility * Mon Jun 13 2022 Python Maint - 1.4.1-2 - Rebuilt for Python 3.11 * Mon Mar 28 2022 Elliott Sales de Andrade - 1.4.1-1 - Update to latest version (#2068926) * Tue Mar 15 2022 Elliott Sales de Andrade - 1.4.0-1 - Update to latest version (#2064028) * Fri Jan 21 2022 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 30 2021 Elliott Sales de Andrade - 1.3.2-1 - Update to latest version (#1998441) * Mon Aug 30 2021 Elliott Sales de Andrade - 1.3.1-6 - Switch to latest Python macros. * Fri Jul 23 2021 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.1-3 - Rebuilt for Python 3.10 * 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.