17
0
Files
python-phonenumbers/python-phonenumbers.spec
Dirk Mueller 4d1acfee66 - update to 8.12.45:
- Updated phone metadata for region code(s): BF, EE, JM, RE, SE, US
 - New geocoding data for country calling code(s): 1464 (en)
 - Updated carrier data for country calling code(s):
   46 (en), 55 (en), 226 (en), 262 (en), 353 (en), 372 (en), 373 (en),
   1345 (en)
 - Updated / refreshed time zone meta data.
 - Updated phone metadata for region code(s):
   AG, AI, AS, BB, BM, BS, CA, CV, DM, DO, GD, GU, JM, KN, KY, LC, MP, MS, PR,
   SC, SX, TC, TT, US, VC, VG, VI
 - Updated short number metadata for region code(s): BE, PT, SC, SE, US
 - Updated geocoding data for country calling code(s):
   61 (en), 238 (en), 1345 (en)
 - Updated carrier data for country calling code(s): 238 (en), 248 (en)
 - Updated phone metadata for region code(s):
   BJ, CL, GA, IS, KR, KW, LI, PA, SG, SL
 - Updated short number metadata for region code(s): MS
 - Updated geocoding data for country calling code(s): 56 (en, es)
 - Updated carrier data for country calling code(s):
   32 (en), 229 (en), 354 (en), 502 (en), 507 (en)
 - Updated phone metadata for region code(s):
   BG, BI, CF, DZ, GF, GP, HK, IR, MA, MQ, MW, PK, PL, PM, QA, TJ
 - Updated short number metadata for region code(s):
   AG, AI, AS, BB, BM, BS, CA, DM, DO, GD, GU, JM, KN, KY, LC, MP, MS, PR, SX,
   TC, TT, US, VC, VG, VI
 - Updated geocoding data for country calling code(s): 61 (en), 213 (en)
 - Updated carrier data for country calling code(s):
   45 (en), 48 (en), 57 (en), 98 (en, fa), 236 (en), 243 (en), 257 (en),
   420 (en), 421 (en), 508 (en), 675 (en), 852 (en, zh), 974 (en), 992 (en)
 - Updated phone metadata for region code(s): EH, IL, KE, LA, MA, OM, SG

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-phonenumbers?expand=0&rev=25
2022-03-26 14:30:08 +00:00

63 lines
2.1 KiB
RPMSpec

#
# spec file for package python-phonenumbers
#
# Copyright (c) 2022 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-phonenumbers
Version: 8.12.45
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 pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Provides: python-phonenumberslite = %{version}
BuildArch: noarch
%python_subpackages
%description
Python version of Google's common library for parsing, formatting, storing
and validating international phone numbers.
%prep
%setup -q -n phonenumbers-%{version}
cp %{SOURCE1} .
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest tests/*test.py
%files %{python_files}
%doc README.md HISTORY.md
%license LICENSE
%{python_sitelib}/phonenumbers
%{python_sitelib}/phonenumbers-%{version}-py*.egg-info/
%changelog