## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 14; 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_without check %global srcname pandas-datareader %global summary Data readers from the pandas codebase %global common_description \ Data readers extracted from the pandas codebase, should be compatible with \ recent pandas versions. Name: python-%{srcname} Version: 0.10.0 Release: %autorelease Summary: %{summary} License: BSD-3-Clause URL: https://github.com/pydata/pandas-datareader Source0: %{pypi_source} # Old version of versioner still uses deprecated SafeConfigParser # https://github.com/pydata/pandas-datareader/issues/969 Patch: pandas-datareader-python312.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} %if %{with check} BuildRequires: python3-pytest BuildRequires: python3-numpy BuildRequires: python3-pandas BuildRequires: python3-requests BuildRequires: python3-wrapt %endif %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{common_description} %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pandas_datareader %check # Most tests require network %pyproject_check_import %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.10.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.10.0-13 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.10.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.10.0-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.10.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 10 2023 Sergio Pascual - 0.10.0-9 - Add modifications of the specfile * Mon Jul 10 2023 Sergio Pascual - 0.10.0-8 - Patch use of deprecated classes in Python 3.12 * Wed Jun 28 2023 Python Maint - 0.10.0-7 - Rebuilt for Python 3.12 * Tue May 02 2023 Sergio Pascual - 0.10.0-6 - Migrated to new python macros - migrated to SPDX license * Fri Jan 20 2023 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.10.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 0.10.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Aug 23 2021 Sergio Pascual - 0.10.0-1 - New upstream source (0.10.0) * Fri Jul 23 2021 Fedora Release Engineering - 0.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.9.0-5 - Rebuilt for Python 3.10 * Mon Apr 19 2021 Tomas Hrnciar - 0.9.0-4 - BuildRequire setuptools explicitly * Wed Jan 27 2021 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 14 2020 Sergio Pascual - 0.9.0-1 - New upstream source (0.9.0) * Tue May 26 2020 Miro Hrončok - 0.8.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Sep 25 2019 Sergio Pascual - 0.8.0-1 - New upstream source (0.8.0) * Mon Aug 19 2019 Miro Hrončok - 0.7.4-2 - Rebuilt for Python 3.8 * Mon Jul 29 2019 Sergio Pascual - 0.7.4-1 - New upstream source (0.7.4) * Fri Jul 26 2019 Fedora Release Engineering - 0.6.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 05 2018 Sergio Pascual - 0.6.0-4 - Drop python2 subpackage * Sat Jul 14 2018 Fedora Release Engineering - 0.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.6.0-2 - Rebuilt for Python 3.7 * Thu Mar 08 2018 Sergio Pascual - 0.6.0-1 - New upstream version (0.6.0) * Fri Feb 09 2018 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sun Sep 10 2017 Sergio Pascual - 0.5.0-1 - New upstream version (0.5.0) * Thu Jul 27 2017 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon May 15 2017 Sergio Pascual - 0.3.0-1 - New upstream release (0.3.0.post0) * Sat Feb 11 2017 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.2.1-2 - Rebuild for Python 3.6 * Wed Oct 19 2016 Sergio Pascual - 0.2.1-1 - Disable tests for the moment ## END: Generated by rpmautospec