## 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 srcname pykdtree Name: python-%{srcname} Version: 1.3.13 Release: %autorelease Summary: Fast kd-tree implementation with OpenMP-enabled queries License: LGPL-3.0-or-later URL: https://github.com/storpipfugl/pykdtree Source0: %pypi_source %srcname Patch: 0001-Unpin-NumPy-build-requirement.patch # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildRequires: gcc %global _description \ pykdtree is a kd-tree implementation for fast nearest neighbour search in \ Python. The aim is to be the fastest implementation around for common use cases \ (low dimensions and low number of neighbours) for both tree construction and \ queries. %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(pytest) %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} # Remove the cythonized files in order to regenerate them during build. # rm $(grep -rl '/\* Generated by Cython') %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{pytest} --pyargs pykdtree %files -n python3-%{srcname} -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Tue Nov 12 2024 Elliott Sales de Andrade - 1.3.13-1 - Update to latest version (#2309761) * Tue Nov 12 2024 Elliott Sales de Andrade - 1.3.12-4 - Add Packit automation * Fri Jul 19 2024 Fedora Release Engineering - 1.3.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 1.3.12-2 - Rebuilt for Python 3.13 * Fri Apr 26 2024 Elliott Sales de Andrade - 1.3.12-1 - Update to latest version (#2275934) * Fri Feb 16 2024 Elliott Sales de Andrade - 1.3.11-1 - Update to latest version (#2264479) * Fri Jan 26 2024 Fedora Release Engineering - 1.3.10-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.3.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 03 2023 Elliott Sales de Andrade - 1.3.10-1 - Update to latest version (#2252145) * Fri Sep 22 2023 Elliott Sales de Andrade - 1.3.9-1 - Update to latest version (#2240165) * Fri Jul 21 2023 Fedora Release Engineering - 1.3.7-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.3.7-2 - Rebuilt for Python 3.12 * Sun Mar 26 2023 Elliott Sales de Andrade - 1.3.7-1 - Update to latest version (#2180034) * Fri Jan 20 2023 Fedora Release Engineering - 1.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Dec 19 2022 Elliott Sales de Andrade - 1.3.6-2 - Drop support for i686 * Mon Nov 21 2022 Elliott Sales de Andrade - 1.3.6-1 - Update to latest version (#2138419) * Sun Jul 31 2022 Elliott Sales de Andrade - 1.3.5-1 - Update to latest version (#2094858) * Sun Jul 31 2022 Elliott Sales de Andrade - 1.3.4-9 - Switch to latest Python macros * Fri Jul 22 2022 Fedora Release Engineering - 1.3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.3.4-6 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.3.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.3.4-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.3.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Nov 12 2020 Elliott Sales de Andrade - 1.3.4-1 - Update to latest version (#1896861) * Mon Nov 09 2020 Elliott Sales de Andrade - 1.3.3-1 - Update to latest version (#1896172) * Sun Nov 08 2020 Elliott Sales de Andrade - 1.3.2-1 - Update to latest version (#1895271) * Wed Jul 29 2020 Fedora Release Engineering - 1.3.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.3.1-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.3.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.3.1-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.3.1-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Jun 01 2019 Charalampos Stratakis - 1.3.1-3 - Recythonize the sources * Sat Feb 02 2019 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jul 15 2018 Elliott Sales de Andrade - 1.3.1-1 - Initial package. ## END: Generated by rpmautospec