## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 forgeurl https://github.com/jonathf/numpoly Name: python-numpoly Version: 1.3.3 Release: %autorelease Summary: Polynomials as a numpy datatype %forgemeta # SPDX License: BSD-2-Clause URL: %forgeurl Source: %forgesource BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) BuildRequires: python3dist(pytest) BuildRequires: python3dist(sympy) %global desc %{expand: \ Numpoly is a generic library for creating, manipulating and evaluating arrays of polynomials based on `numpy.ndarray` objects. - Intuitive interface for users experienced with numpy, as the library provides a high level of compatibility with the `numpy.ndarray`, including fancy indexing, broadcasting, `numpy.dtype`, vectorized operations to name a few - Computationally fast evaluations of lots of functionality inherent from numpy - Vectorized polynomial evaluation - Support for arbitrary number of dimensions - Native support for lots of `numpy.` functions using numpy’s compatibility layer (which also exists as `numpoly. equivalents) - Support for polynomial division through the operators `/`, `%` and `divmod` - Extra polynomial specific attributes exposed on the polynomial objects like `poly.exponents`, `poly.coefficients`, `poly.indeterminants` etc. - Polynomial derivation through functions like `numpoly.derivative`, `numpoly.gradient`, `numpoly.hessian` etc. - Decompose polynomial sums into vector of addends using `numpoly.decompose` - Variable substitution through `numpoly.call`} %description %{desc} %package -n python3-numpoly Summary: %{summary} %description -n python3-numpoly %{desc} %prep %forgeautosetup -p1 # Don't turn deprecation warnings into errors. It fails the build with # NumPy 2.x. sed -r -i '/error::DeprecationWarning/d' pyproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l numpoly %check %pytest -v %files -n python3-numpoly -f %{pyproject_files} %doc README.rst %changelog ## START: Generated by rpmautospec * Tue Nov 19 2024 Packit - 1.3.3-1 - Update to 1.3.3 upstream release - Resolves: rhbz#2323671 * Mon Oct 07 2024 Packit - 1.2.14-1 - Update to 1.2.14 upstream release - Resolves: rhbz#2316976 * Fri Jul 19 2024 Fedora Release Engineering - 1.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jul 03 2024 Packit - 1.2.13-1 - Update to 1.2.13 upstream release - Resolves: rhbz#2295540 * Mon Jun 10 2024 Python Maint - 1.2.12-7 - Rebuilt for Python 3.13 * Sat May 18 2024 Packit - 1.2.12-1 - Update to 1.2.12 upstream release - Resolves: rhbz#2281427 * Fri Jan 26 2024 Fedora Release Engineering - 1.2.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.2.11-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 08 2024 Sandro - 1.2.11-6 - Add Packit config * Mon Jan 08 2024 Sandro - 1.2.11-5 - Drop `%%{arm32}` from `ExcludeArch` (deprecated) * Mon Jan 08 2024 Sandro - 1.2.11-4 - Make tests verbose * Mon Jan 08 2024 Sandro - 1.2.11-3 - Update description (following upstream) * Mon Jan 08 2024 Sandro - 1.2.11-2 - Assert existence of license file * Mon Jan 08 2024 Sandro - 1.2.11-1 - Update to 1.2.11 (RHBZ#2212046) * Mon Jan 08 2024 Sandro - 1.2.7-6 - Use forge macros * Fri Jul 21 2023 Fedora Release Engineering - 1.2.7-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jul 13 2023 Benjamin A. Beasley - 1.2.7-4 - Fix FTBFS due to SPECPARTS interference (close RHBZ#2220368) - Work around https://github.com/rpm-software-management/rpm/issues/2532 * Fri Jun 30 2023 Python Maint - 1.2.7-3 - Rebuilt for Python 3.12 * Fri May 19 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.7-2 - feat: drop 32bit support * Thu May 18 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.7-1 - feat: update to 1.2.7 (fixes rhbz#2143313) * Thu May 18 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.3-9 - feat: use spdx identifier * Thu May 18 2023 Ankur Sinha (Ankur Sinha Gmail) - 1.2.3-8 - feat: clean up spec * Fri Jan 20 2023 Fedora Release Engineering - 1.2.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.2.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Fri Jun 17 2022 Python Maint - 1.2.3-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.2.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.2.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sat Jul 03 2021 Ankur Sinha - 1.2.3-1 - Update to latest release * Fri Jun 04 2021 Python Maint - 1.1.3-2 - Rebuilt for Python 3.10 * Wed Apr 07 2021 Luis Bazan - 1.1.3-1 - New upstream version * Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Dec 05 2020 Ankur Sinha - 1.1.1-1 - Update to latest release * Sun Nov 29 2020 Ankur Sinha - 1.1.0-1 - Update to latest release - Enable tests * Sat Aug 08 2020 Luis Bazan - 1.0.6-1 - New upstream version * Wed Jul 29 2020 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jun 26 2020 Luis Bazan - 1.0.3-1 - New upstream version * Tue May 26 2020 Miro Hrončok - 0.2.3-2 - Rebuilt for Python 3.9 * Wed May 13 2020 Luis Bazan - 0.2.3-2 - New upstream version * Wed Apr 22 2020 Luis Bazan - 0.1.16-2 - Fix comments in BZ1808552 * Wed Apr 22 2020 Luis Bazan - 0.1.16-1 - Initial Import ## END: Generated by rpmautospec