From 99f60ddfbf84c46d4ef14694f216173a6c26ca748320457fa5b6367931bf43ce Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 23 Feb 2026 08:58:52 +0000 Subject: [PATCH] - update to 9.0.24: * Merge upstream 9.0.24 phonenumber updates OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-phonenumbers?expand=0&rev=97 --- .gitattributes | 24 +++ .gitignore | 4 + phonenumbers-9.0.22.tar.gz | 3 + phonenumbers-9.0.24.tar.gz | 3 + python-phonenumbers.changes | 385 ++++++++++++++++++++++++++++++++++++ python-phonenumbers.spec | 60 ++++++ 6 files changed, 479 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 phonenumbers-9.0.22.tar.gz create mode 100644 phonenumbers-9.0.24.tar.gz create mode 100644 python-phonenumbers.changes create mode 100644 python-phonenumbers.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..37a8eaa --- /dev/null +++ b/.gitattributes @@ -0,0 +1,24 @@ +*.changes merge=merge-changes +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tar filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8b731c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.obscpio +*.osc +_build.* +.pbuild diff --git a/phonenumbers-9.0.22.tar.gz b/phonenumbers-9.0.22.tar.gz new file mode 100644 index 0000000..345f663 --- /dev/null +++ b/phonenumbers-9.0.22.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:eff985c65575749d1d54e07c56c3517d5243e03e08e4a6191761df9aab2278f2 +size 2297728 diff --git a/phonenumbers-9.0.24.tar.gz b/phonenumbers-9.0.24.tar.gz new file mode 100644 index 0000000..6486d36 --- /dev/null +++ b/phonenumbers-9.0.24.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:97c38e4b5b8af992c75de01bd9c0f84e61701a9c900fd84f49744714910a4dc3 +size 2298138 diff --git a/python-phonenumbers.changes b/python-phonenumbers.changes new file mode 100644 index 0000000..00f084a --- /dev/null +++ b/python-phonenumbers.changes @@ -0,0 +1,385 @@ +------------------------------------------------------------------- +Mon Feb 23 08:58:37 UTC 2026 - Dirk Müller + +- update to 9.0.24: + * Merge upstream 9.0.24 phonenumber updates + +------------------------------------------------------------------- +Mon Jan 26 09:08:11 UTC 2026 - Dirk Müller + +- update to 9.0.22: + * Merge upstream 9.0.22 phonenumber updates + +------------------------------------------------------------------- +Fri Jan 9 12:16:53 UTC 2026 - John Paul Adrian Glaubitz + +- Update to 9.0.21 + * packaging: introduce pyproject.toml + * Merge metadata changes from upstream 9.0.21 + +------------------------------------------------------------------- +Tue Dec 9 12:39:30 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 9.0.20 + * Merge metadata changes from upstream 9.0.20 + +------------------------------------------------------------------- +Wed Nov 26 09:16:49 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 9.0.19 + * ci: use Python 3.12 for type tests + * Merge metadata changes from upstream 9.0.19 + +------------------------------------------------------------------- +Tue Nov 11 23:43:22 UTC 2025 - Dirk Müller + +- update to 9.0.18 + * Merge upstream 9.0.18 phonenumber updates + +------------------------------------------------------------------- +Thu Oct 16 11:56:05 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 9.0.16 + * Merge upstream 9.0.16 phonenumber updates + +------------------------------------------------------------------- +Mon Sep 29 21:00:51 UTC 2025 - Dirk Müller + +- update to 9.0.15: + * Merge upstream 9.0.15 phonenumber updates + +------------------------------------------------------------------- +Wed Aug 13 11:55:58 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 9.0.11 + * Merge upstream 9.0.11 phonenumber updates + +------------------------------------------------------------------- +Tue Jul 22 08:53:39 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 9.0.10 + * Merge upstream 9.0.10 phonenumber updates + +------------------------------------------------------------------- +Sun Jul 13 13:46:18 UTC 2025 - Dirk Müller + +- update to 9.0.9: + * Merge upstream 9.0.9 phonenumber updates + +------------------------------------------------------------------- +Thu Feb 20 11:35:55 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 8.13.55 + * Merge upstream 8.13.55 phonenumber updates + +------------------------------------------------------------------- +Fri Jan 3 14:19:33 UTC 2025 - Yunus Acar + +- Update to 8.13.52 + * Merge upstream 8.13.52 phonenumber updates + +------------------------------------------------------------------- +Fri Nov 15 16:42:57 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 8.13.49 + * Merge upstream 8.13.49 phonenumber updates + +------------------------------------------------------------------- +Mon Oct 28 16:56:15 UTC 2024 - Dirk Müller + +- update to 8.13.48: + * merge upstream 8.13.48 phonenumber updates + +------------------------------------------------------------------- +Fri Oct 18 10:47:10 UTC 2024 - Dirk Müller + +- update to 8.13.47: + * merge upstream 8.13.47 phonenumber updates + +------------------------------------------------------------------- +Sat Aug 31 12:05:23 UTC 2024 - Dirk Müller + +- update to 8.13.44: + * merge upstream 8.13.44 phonenumber updates + +------------------------------------------------------------------- +Thu Jun 20 12:42:24 UTC 2024 - Dirk Müller + +- update to 8.13.39: + * merge upstream 8.13.39 phonenumber updates + +------------------------------------------------------------------- +Thu Jun 6 20:18:33 UTC 2024 - Dirk Müller + +- update to 8.13.38: + * merge upstream 8.13.38 phonenumber updates + +------------------------------------------------------------------- +Tue May 7 12:52:27 UTC 2024 - Dirk Müller + +- update to 8.13.36: + * merge upstream 8.13.36 phonenumber updates + +------------------------------------------------------------------- +Sun Apr 21 08:07:09 UTC 2024 - Dirk Müller + +- update to 8.13.35: + * merge upstream 8.13.35 phonenumber updates + +------------------------------------------------------------------- +Mon Apr 15 09:04:11 UTC 2024 - Dirk Müller + +- update to 8.13.34: + * merge upstream 8.13.34 phonenumber updates + +------------------------------------------------------------------- +Mon Mar 25 13:43:20 UTC 2024 - Dirk Müller + +- update to 8.13.33: + * merge upstream 8.13.33 phonenumber updates + +------------------------------------------------------------------- +Fri Feb 9 21:58:50 UTC 2024 - Dirk Müller + +- update to 8.13.30: + * merge upstream 8.13.30 phonenumber updates + +------------------------------------------------------------------- +Sat Jan 27 10:52:43 UTC 2024 - Dirk Müller + +- update to 8.13.29: + * merge upstream 8.13.29 phonenumber fixes + +------------------------------------------------------------------- +Sun Jan 7 19:22:18 UTC 2024 - Dirk Müller + +- update to 8.13.27: + * Use re.fullmatch when available + * merge upstream 8.13.27 phonenumber fixes + +------------------------------------------------------------------- +Thu Dec 14 21:00:52 UTC 2023 - Dirk Müller + +- 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 + +------------------------------------------------------------------- +Wed Aug 9 22:04:59 UTC 2023 - Marcus Rueckert + +- Update to version 8.13.18 + - Merge to https://github.com/google/libphonenumber/commit/07cd7bbb8a2f + relevant code changes: + - Added a check to phonenumberutil.py that the value of the + `phone-context` parameter of the tel URI follows the correct + syntax as defined in + [RFC3966](https://www.rfc-editor.org/rfc/rfc3966#section-3). + - Metadata changes + +------------------------------------------------------------------- +Sun Jun 11 13:13:35 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Mon Jan 30 03:47:03 UTC 2023 - Marcus Rueckert + +- Update to version 8.13.5 + * Metadata changes + +------------------------------------------------------------------- +Thu Dec 29 12:27:00 UTC 2022 - Michael Ströder + +- Update to version 8.13.3 + * Metadata changes + +------------------------------------------------------------------- +Tue Dec 13 15:53:03 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 8.13.2 + * Prep for 8.13.2 release + +------------------------------------------------------------------- +Fri Dec 2 21:53:13 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 8.13.1 + * Prep for 8.13.1 release + +- Update to version 8.13.0 + * tools: don't use clean target in metaclean + The clean target relies on the coverage tool being installed. + +------------------------------------------------------------------- +Sat Oct 15 22:55:14 UTC 2022 - Michael Ströder + +- Update to version 8.12.57 with metadata changes + +------------------------------------------------------------------- +Wed Oct 12 14:00:23 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 8.12.56 + * Metadata changes: + - Updated phone metadata for region code(s): HR, MK, PT, SG, TT + - Updated short number metadata for region code(s): BZ + - Updated carrier data for country calling code(s): + 31 (en), 65 (en), 385 (en), 389 (en) + +------------------------------------------------------------------- +Mon Sep 19 17:44:29 UTC 2022 - Michael Ströder + +- update to 8.12.55: + * Many updates to phone metadata + * Improved tests + * docs: Fix a few typos + +------------------------------------------------------------------- +Sat Mar 26 14:28:15 UTC 2022 - Dirk Müller + +- 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 + - Updated short number metadata for region code(s): PY + - Updated carrier data for country calling code(s): + 33 (en), 65 (en), 358 (en), 383 (en), 420 (en), 502 (en), 856 (en), 966 (en), + 968 (en), 974 (en) + +------------------------------------------------------------------- +Thu Jan 6 18:17:03 UTC 2022 - Michael Ströder + +- version update to 8.12.40: + New to_string() methods have been added for enum-like classes, + emitting strings that describe integer values known to be enum values. + +------------------------------------------------------------------- +Mon Dec 13 12:19:06 UTC 2021 - Michael Ströder + +- version update to 8.12.39 + - New to_string() methods have been added for enum-like + classes, emitting strings that describe integer values known + to be enum values. + - The library now includes .pyi stub files providing typing + information about the API, thanks to Adam Turner. + - Updated As-You-Type-Formatter to exclude patterns where some + digits would be dropped in the output. This also fixes the + bug where an extra country code is added in some cases to the + user's output. b/183053929 + - Changes format_out_of_country_calling_number to always use + preferred intl prefix if present, not just for numbers with + a non-unique IDD. This means we will output "8~10" as the + prefix if calling formatOutOfCountryCallingNumber instead of + "810" for some regions that have this tilde in their prefix + [designates that the user should wait before continuing to + dial]. + +------------------------------------------------------------------- +Sat Sep 19 04:16:44 UTC 2020 - John Vandenberg + +- Add %doc for readme and history files +- Add Provides python-phonenumberslite +- Expand testing from only phonenumbertest.py to all test modules +- Update to v8.12.9 + * see https://github.com/google/libphonenumber/blob/master/release_notes.txt + +------------------------------------------------------------------- +Tue Mar 24 12:04:20 UTC 2020 - pgajdos@suse.com + +- version update to 8.12.0 + * metadata updates + * see https://github.com/google/libphonenumber/blob/master/release_notes.txt + +------------------------------------------------------------------- +Mon Mar 16 08:43:07 UTC 2020 - Marketa Calabkova + +- Update to 8.11.5 + * metadata updates + * see https://github.com/google/libphonenumber/blob/master/release_notes.txt + +------------------------------------------------------------------- +Tue Sep 10 13:23:27 UTC 2019 - Tomáš Chvátal + +- Update to 8.10.18: + * metadata updates + +------------------------------------------------------------------- +Tue Jul 23 11:30:41 UTC 2019 - Tomáš Chvátal + +- Update to 8.10.15: + * updates to metadata informations + +------------------------------------------------------------------- +Mon Jun 3 10:51:02 UTC 2019 - Tomáš Chvátal + +- Update to 8.10.13: + * Updates from upstream project metadata + +------------------------------------------------------------------- +Mon Mar 25 12:52:32 UTC 2019 - pgajdos@suse.com + +- version update to 8.10.8 + * Merge metadata changes from upstream + * Only compare national number patterns + * Use class name for repr() instead of hard-coded string +- deleted sources + - LICENSE (already provided upstream) + +------------------------------------------------------------------- +Mon Dec 10 12:03:02 UTC 2018 - Tomáš Chvátal + +- Fix fdupes call +- Install license file +- Update to 8.10.2: + * no upstream changelog available + +------------------------------------------------------------------- +Tue Dec 4 12:51:28 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + +------------------------------------------------------------------- +Thu Jan 11 09:21:48 UTC 2018 - parlt@suse.com + +- update to 8.8.9 +- no upstream changelog available + +------------------------------------------------------------------- +Mon Oct 2 22:14:25 UTC 2017 - ecsos@opensuse.org + +- update to 8.8.2 +- convert to singelspec + +------------------------------------------------------------------- +Mon May 1 16:43:20 UTC 2017 - mrueckert@suse.de + +- initial package diff --git a/python-phonenumbers.spec b/python-phonenumbers.spec new file mode 100644 index 0000000..fc2ceea --- /dev/null +++ b/python-phonenumbers.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-phonenumbers +# +# Copyright (c) 2026 SUSE LLC and contributors +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-phonenumbers +Version: 9.0.24 +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 +BuildRequires: %{python_module pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module wheel} +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} + +%build +%pyproject_wheel + +%install +%pyproject_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}.dist-info + +%changelog