commit 608dcf3ac86d92e57677e4c3fc99e5064e70a097 Author: Dmitry Samoylik Date: Sun Dec 29 18:21:23 2024 +0300 import python-kiwisolver-1.4.7-1.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..95b42e1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/kiwisolver-1.4.7.tar.gz diff --git a/.python-kiwisolver.metadata b/.python-kiwisolver.metadata new file mode 100644 index 0000000..a368773 --- /dev/null +++ b/.python-kiwisolver.metadata @@ -0,0 +1 @@ +1b8c076b4a32c62615f7cc547e7f3014c39477bf SOURCES/kiwisolver-1.4.7.tar.gz diff --git a/SPECS/python-kiwisolver.spec b/SPECS/python-kiwisolver.spec new file mode 100644 index 0000000..0d28934 --- /dev/null +++ b/SPECS/python-kiwisolver.spec @@ -0,0 +1,204 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.1) +## 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.7 +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 +Source: %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 -l %{srcname} + +%check +%{pytest} py/tests/ + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.rst + +%changelog +* Sun Dec 29 2024 Dmitriy Samoylik - 1.4.7-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Wed Sep 04 2024 Elliott Sales de Andrade - 1.4.7-1 +- Update to latest version (#2309674) + +* Wed Sep 04 2024 Elliott Sales de Andrade - 1.4.6-1 +- Update to latest version (#2309518) + +* Fri Jul 19 2024 Fedora Release Engineering - 1.4.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jun 07 2024 Python Maint - 1.4.5-4 +- Rebuilt for Python 3.13 + +* Fri Jan 26 2024 Fedora Release Engineering - 1.4.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* 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. + +## END: Generated by rpmautospec