Sync from SUSE:SLFO:Main python-pycountry revision 7044b5c54ec620d398f6e406d1a10154
This commit is contained in:
parent
d1963394b0
commit
26356d2642
BIN
pycountry-22.3.5.tar.gz
(Stored with Git LFS)
BIN
pycountry-22.3.5.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
pycountry-23.12.11.tar.gz
(Stored with Git LFS)
Normal file
BIN
pycountry-23.12.11.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,3 +1,30 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 03:55:41 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add missing importlib-metadata BuildRequires.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 30 17:34:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 23.12.11:
|
||||
* Added fallback to name when common_name or official_name
|
||||
country attributes are missing
|
||||
* Added support for adding and removing country records, as well
|
||||
as casting to dict
|
||||
* Improve performance speed by checking for non-ascii chars
|
||||
before removing accents
|
||||
* Added search_fuzzy method to subdivisions
|
||||
* Added type hinting, created py.typed file, and added mypy
|
||||
checks to CI
|
||||
* Dropped support for end-of-life Python 3.6 and 3.7.
|
||||
* Added support for Python 3.11 and Python 3.12.
|
||||
* Added dependency on importlib-resources for Python 3.8.
|
||||
* Dropped implicit dependency on setuptools for pkg_resources.
|
||||
* Update to iso-codes 4.15.0. (Thanks to alanorth!)
|
||||
* Removes iso3166.mo files and opts for newer iso3166-1.mo and
|
||||
iso3166-3.mo files for Country and Historic Country Translations
|
||||
respectively.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:30:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pycountry
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,25 +16,24 @@
|
||||
#
|
||||
|
||||
|
||||
%define real_name pycountry
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%global skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pycountry
|
||||
Version: 22.3.5
|
||||
Version: 23.12.11
|
||||
Release: 0
|
||||
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
|
||||
License: LGPL-2.1-only
|
||||
Group: Development/Libraries/Python
|
||||
URL: https://pypi.python.org/pypi/pycountry/
|
||||
Source: https://pypi.io/packages/source/p/%{real_name}/%{real_name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
Source: https://pypi.io/packages/source/p/pycountry/pycountry-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lxml
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module importlib-metadata}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@ -46,13 +45,13 @@ packaged into pycountry and made accessible through a Python API.
|
||||
Translation files for the various strings are included as well.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{real_name}-%{version}
|
||||
%setup -q -n pycountry-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@ -61,6 +60,7 @@ Translation files for the various strings are included as well.
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/pycountry
|
||||
%{python_sitelib}/pycountry-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user