## 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 mapclassify Name: python-%{srcname} Version: 2.8.1 Release: %autorelease Summary: Classification Schemes for Choropleth Maps License: BSD-3-Clause URL: https://github.com/pysal/mapclassify Source: %pypi_source %{srcname} # Don't use the network. Patch: 0001-Use-system-copy-of-Natural-Earth-data.patch BuildArch: noarch BuildRequires: python3-devel # Tests BuildRequires: natural-earth-map-data-110m %description mapclassify is an open-source python library for Choropleth map classification. It is part of PySAL the Python Spatial Analysis Library. %package -n python3-%{srcname} Summary: %{summary} %description -n python3-%{srcname} mapclassify is an open-source python library for Choropleth map classification. It is part of PySAL the Python Spatial Analysis Library. %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -x tests %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %{pytest} --mpl %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE.txt %doc README.md %changelog ## START: Generated by rpmautospec * Sun Nov 17 2024 Elliott Sales de Andrade - 2.8.1-1 - Update to latest version * Sun Nov 17 2024 Elliott Sales de Andrade - 2.5.0-7 - Add Packit configuration * Fri Jul 19 2024 Fedora Release Engineering - 2.5.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jun 26 2024 Elliott Sales de Andrade - 2.5.0-5 - Rebuild for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 2.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 2.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 2.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Feb 20 2023 Elliott Sales de Andrade - 2.5.0-1 - Update to latest version (#2160844) * Mon Feb 20 2023 Elliott Sales de Andrade - 2.4.3-7 - Switch to latest Python macros * Fri Jan 20 2023 Fedora Release Engineering - 2.4.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 2.4.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Python Maint - 2.4.3-4 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 2.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 2.4.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.4.2-2 - Rebuilt for Python 3.10 * Sat Feb 06 2021 Elliott Sales de Andrade - 2.4.2-1 - Update to latest version (#1910171) * Wed Jan 27 2021 Fedora Release Engineering - 2.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 14 2020 Elliott Sales de Andrade - 2.4.0-1 - Update to latest version (#1907273) * Wed Jul 29 2020 Fedora Release Engineering - 2.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 02 2020 Elliott Sales de Andrade - 2.3.0-1 - Update to latest version * Tue May 26 2020 Miro HronĨok - 2.2.0-2 - Rebuilt for Python 3.9 * Thu Feb 13 2020 Elliott Sales de Andrade - 2.2.0-1 - Initial package. ## END: Generated by rpmautospec