2017-11-15 18:17:54 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package python-phonenumbers
|
|
|
|
|
#
|
2025-01-06 08:42:40 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2017-11-15 18:17:54 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
2018-12-04 13:46:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
2017-11-15 18:17:54 +00:00
|
|
|
|
|
|
|
|
|
2023-06-11 20:25:19 +00:00
|
|
|
%{?sle15_python_module_pythons}
|
2017-11-15 18:17:54 +00:00
|
|
|
Name: python-phonenumbers
|
2025-08-13 13:11:40 +00:00
|
|
|
Version: 9.0.11
|
2017-11-15 18:17:54 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python version of Google's common library for international phone numbers
|
2018-12-04 13:46:40 +00:00
|
|
|
License: Apache-2.0
|
2017-11-15 18:17:54 +00:00
|
|
|
Group: Development/Languages/Python
|
2018-12-10 12:03:24 +00:00
|
|
|
URL: https://github.com/daviddrysdale/python-phonenumbers
|
2017-11-15 18:17:54 +00:00
|
|
|
Source: https://files.pythonhosted.org/packages/source/p/phonenumbers/phonenumbers-%{version}.tar.gz
|
- 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
2023-12-14 21:01:51 +00:00
|
|
|
BuildRequires: %{python_module pip}
|
2020-03-24 12:30:16 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
- 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
2023-12-14 21:01:51 +00:00
|
|
|
BuildRequires: %{python_module wheel}
|
2017-11-15 18:17:54 +00:00
|
|
|
BuildRequires: fdupes
|
2018-12-04 13:46:40 +00:00
|
|
|
BuildRequires: python-rpm-macros
|
2020-09-19 09:47:09 +00:00
|
|
|
Provides: python-phonenumberslite = %{version}
|
2017-11-15 18:17:54 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2018-12-10 12:03:24 +00:00
|
|
|
Python version of Google's common library for parsing, formatting, storing
|
2017-11-15 18:17:54 +00:00
|
|
|
and validating international phone numbers.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n phonenumbers-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
- 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
2023-12-14 21:01:51 +00:00
|
|
|
%pyproject_wheel
|
2017-11-15 18:17:54 +00:00
|
|
|
|
|
|
|
|
%install
|
- 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
2023-12-14 21:01:51 +00:00
|
|
|
%pyproject_install
|
2018-12-10 12:03:24 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
2017-11-15 18:17:54 +00:00
|
|
|
|
|
|
|
|
%check
|
2020-09-19 09:47:09 +00:00
|
|
|
%pytest tests/*test.py
|
2017-11-15 18:17:54 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
2020-09-19 09:47:09 +00:00
|
|
|
%doc README.md HISTORY.md
|
2018-12-10 12:03:24 +00:00
|
|
|
%license LICENSE
|
2017-11-15 18:17:54 +00:00
|
|
|
%{python_sitelib}/phonenumbers
|
- 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
2023-12-14 21:01:51 +00:00
|
|
|
%{python_sitelib}/phonenumbers-%{version}.dist-info
|
2017-11-15 18:17:54 +00:00
|
|
|
|
|
|
|
|
%changelog
|