14
0

- update to 8.13.26:

Updated phone metadata for region code(s): EH, HK, HR, MA, MK,
    PK, RO, TJ
  - Updated geocoding data for country calling code(s): 212 (en, fr)
  - Updated carrier data for country calling code(s):
    40 (en), 45 (en), 86 (en, zh), 92 (en), 228 (en), 385 (en),
    852 (en, zh), 992 (en)
- use packaged LICENSE
- Update to version 8.13.2
- Update to version 8.13.0
- Update to version 8.12.56
   968 (en), 974 (en)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-phonenumbers?expand=0&rev=45
This commit is contained in:
2023-12-14 21:01:51 +00:00
committed by Git OBS Bridge
parent 034e35ec9a
commit 15a42c0d56
5 changed files with 25 additions and 191 deletions

View File

@@ -18,17 +18,16 @@
%{?sle15_python_module_pythons}
Name: python-phonenumbers
Version: 8.13.18
Version: 8.13.26
Release: 0
Summary: Python version of Google's common library for international phone numbers
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/daviddrysdale/python-phonenumbers
Source: https://files.pythonhosted.org/packages/source/p/phonenumbers/phonenumbers-%{version}.tar.gz
# https://github.com/daviddrysdale/python-phonenumbers/issues/176 for missing LICENSE
Source1: https://raw.githubusercontent.com/daviddrysdale/python-phonenumbers/dev/LICENSE
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-phonenumberslite = %{version}
@@ -41,13 +40,12 @@ and validating international phone numbers.
%prep
%setup -q -n phonenumbers-%{version}
cp %{SOURCE1} .
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +55,6 @@ cp %{SOURCE1} .
%doc README.md HISTORY.md
%license LICENSE
%{python_sitelib}/phonenumbers
%{python_sitelib}/phonenumbers-%{version}-py*.egg-info/
%{python_sitelib}/phonenumbers-%{version}.dist-info
%changelog