## 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 %bcond_with bootstrap %global srcname contourpy Name: python-%{srcname} Version: 1.2.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 * 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