%global pypi_name phonenumbers %global desc A Python port of libphonenumber, Google's common Java, C++, and\ JavaScript library for parsing, formatting, and validating international phone\ numbers.\ Name: python-%{pypi_name} Version: 8.12.53 Release: 9%{?dist} Summary: A Python port of Google's libphonenumber # Automatically converted from old format: ASL 2.0 - review is highly recommended. License: Apache-2.0 URL: https://github.com/daviddrysdale/%{name} Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch %description %{desc} %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{desc} %prep %autosetup # Snip the #! from the util.py module sed -i -e '/^#!\//, 1d' python/%{pypi_name}/util.py %build cd python %py3_build %install cd python %py3_install %check cd python %{__python3} setup.py test %files -n python3-%{pypi_name} %license LICENSE %doc README.md %{python3_sitelib}/%{pypi_name} %{python3_sitelib}/%{pypi_name}-*.egg-info %changelog * Wed Jul 24 2024 Miroslav Suchý - 8.12.53-9 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 8.12.53-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 8.12.53-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 8.12.53-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 8.12.53-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 8.12.53-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 8.12.53-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 8.12.53-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Aug 14 2022 Dan Callaghan - 8.12.53-1 - new upstream release 8.12.53: https://github.com/daviddrysdale/python-phonenumbers/blob/v8.12.53/python/HISTORY.md * Fri Jul 22 2022 Fedora Release Engineering - 8.12.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 8.12.6-7 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 8.12.6-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 8.12.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 8.12.6-4 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 8.12.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 8.12.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 15 2020 Dan Callaghan - 8.12.6-1 - new upstream release 8.12.6 * Sat Jun 13 2020 Dan Callaghan - 8.12.5-1 - new upstream release 8.12.5 * Tue May 26 2020 Miro Hrončok - 8.12.3-2 - Rebuilt for Python 3.9 * Sun May 17 2020 Dan Callaghan - 8.12.3-1 - new upstream release 8.12.3 * Thu Jan 30 2020 Fedora Release Engineering - 8.10.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Sep 08 2019 Jeremy Cline - 8.10.18-8 - Update to v8.10.18 * Mon Aug 19 2019 Miro Hrončok - 8.9.0-7 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 8.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 8.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Jan 14 2019 Miro Hrončok - 8.9.0-4 - Subpackage python2-phonenumbers has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 8.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 8.9.0-2 - Rebuilt for Python 3.7 * Fri Feb 23 2018 Jeremy Cline - 8.9.0-1 - Update to latest upstream * Fri Feb 09 2018 Fedora Release Engineering - 8.8.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Jeremy Cline - 8.8.10-1 - Update to latest upstream * Mon Oct 02 2017 Jeremy Cline - 8.8.2-1 - Update to latest upstream * Thu Jul 27 2017 Fedora Release Engineering - 8.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 10 2017 Jeremy Cline - 8.6.0-1 - Update to the latest upstream release (#1468569) * Fri Jun 23 2017 Jeremy Cline - 8.5.2-1 - Update to latest upstream * Wed Jun 21 2017 Jeremy Cline - 8.5.1-2 - Address review comments * Fri May 19 2017 Jeremy Cline - 8.5.1-1 - Initial package