From 8fe35c5b629ea48c636dba6ddc89069d44ef413d Mon Sep 17 00:00:00 2001 From: Dmitry Samoylik Date: Sun, 29 Dec 2024 18:18:58 +0300 Subject: [PATCH] import python-contourpy-1.3.0-1.el10 --- .gitignore | 1 + .python-contourpy.metadata | 1 + SPECS/python-contourpy.spec | 136 ++++++++++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+) create mode 100644 .gitignore create mode 100644 .python-contourpy.metadata create mode 100644 SPECS/python-contourpy.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..008a449 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/contourpy-1.3.0.tar.gz diff --git a/.python-contourpy.metadata b/.python-contourpy.metadata new file mode 100644 index 0000000..77fb500 --- /dev/null +++ b/.python-contourpy.metadata @@ -0,0 +1 @@ +c870db29e439088d6fec17497ef92ecea4226ab6 SOURCES/contourpy-1.3.0.tar.gz diff --git a/SPECS/python-contourpy.spec b/SPECS/python-contourpy.spec new file mode 100644 index 0000000..93b87fc --- /dev/null +++ b/SPECS/python-contourpy.spec @@ -0,0 +1,136 @@ +## 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 + +%bcond_with bootstrap + +%global srcname contourpy + +Name: python-%{srcname} +Version: 1.3.0 +Release: %autorelease +Summary: Python library for calculating contours in 2D quadrilateral grids + +License: BSD-3-Clause +URL: https://contourpy.readthedocs.io/ +Source0: %pypi_source %{srcname} + +BuildRequires: python3-devel +BuildRequires: gcc-c++ + +%global _description %{expand: +ContourPy is a Python library for calculating contours of 2D quadrilateral +grids. It is written in C++11 and wrapped using pybind11. + +It contains the 2005 and 2014 algorithms used in Matplotlib as well as a newer +algorithm that includes more features and is available in both serial and +multithreaded versions. It provides an easy way for Python libraries to use +contouring algorithms without having to include Matplotlib as a dependency. +} + +%description %{_description} + +%package -n python3-%{srcname} +Summary: %{summary} + +%description -n python3-%{srcname} %{_description} + +%prep +%autosetup -n %{srcname}-%{version} -p1 + +%generate_buildrequires +%pyproject_buildrequires -w -x test%{?with_bootstrap:-no-images} + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files %{srcname} + +%check +%pytest %{?with_bootstrap:-k 'not image'} + +%files -n python3-%{srcname} -f %{pyproject_files} +%doc README.md + +%changelog +* Sun Dec 29 2024 Dmitriy Samoylik - 1.3.0-1 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Tue Aug 27 2024 Elliott Sales de Andrade - 1.3.0-1 +- Update to latest version (#2308256) + +* Fri Jul 19 2024 Fedora Release Engineering - 1.2.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jun 08 2024 Python Maint - 1.2.1-3 +- Rebuilt for Python 3.13 + +* Sat Jun 08 2024 Python Maint - 1.2.1-2 +- Bootstrap for Python 3.13 + +* Thu Apr 25 2024 Elliott Sales de Andrade - 1.2.1-1 +- Update to latest version (#2272765) + +* Fri Jan 26 2024 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Jan 22 2024 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Nov 08 2023 Elliott Sales de Andrade - 1.2.0-1 +- Update to latest version (#2247834) + +* Mon Oct 09 2023 Elliott Sales de Andrade - 1.1.1-1 +- Update to latest version (#2239243) + +* Fri Jul 21 2023 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Jul 07 2023 Elliott Sales de Andrade - 1.1.0-1 +- Update to latest version (#2214832) + +* Thu Jun 29 2023 Python Maint - 1.0.7-5 +- Rebuilt for Python 3.12 + +* Tue Jun 13 2023 Python Maint - 1.0.7-4 +- Bootstrap for Python 3.12 + +* Sun Apr 09 2023 Elliott Sales de Andrade - 1.0.7-3 +- Switch to SPDX license + +* Fri Jan 20 2023 Fedora Release Engineering - 1.0.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Tue Jan 17 2023 Elliott Sales de Andrade - 1.0.7-1 +- Update to latest version (#2160757) + +* Wed Nov 02 2022 Elliott Sales de Andrade - 1.0.6-1 +- Update to latest version (#2138650) + +* Wed Sep 07 2022 Elliott Sales de Andrade - 1.0.5-1 +- Update to latest version (#2123693) + +* Mon Aug 01 2022 Elliott Sales de Andrade - 1.0.4-1 +- Update to latest version (#2112705) + +* Wed Jul 06 2022 Elliott Sales de Andrade - 1.0.3-1 +- Update to latest version (#2096172) + +* Thu May 19 2022 Elliott Sales de Andrade - 1.0.2-3 +- Skip code linting tests + +* Thu May 19 2022 Elliott Sales de Andrade - 1.0.2-2 +- Switch to PyPI sources + +* Thu May 19 2022 Elliott Sales de Andrade - 1.0.2-1 +- import #2073692 +## END: Generated by rpmautospec