Sync from SUSE:SLFO:Main python-pycountry revision 7dc29398653b3746fe3375cadb430e88
This commit is contained in:
commit
d1963394b0
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.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
|
||||
*.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
|
BIN
pycountry-22.3.5.tar.gz
(Stored with Git LFS)
Normal file
BIN
pycountry-22.3.5.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
84
python-pycountry.changes
Normal file
84
python-pycountry.changes
Normal file
@ -0,0 +1,84 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:30:29 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 13 22:43:35 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Make calling of %{sle15modernpython} optional.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 26 18:54:55 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 22.3.5:
|
||||
* Update to iso-codes 4.9.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 15 08:58:58 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 22.1.0:
|
||||
* Update to iso-codes 4.8.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 28 11:13:18 UTC 2020 - Dirk Mueller <dmueller@suse.com>
|
||||
|
||||
- update to 20.7.3:
|
||||
- Fix bug #37: (accidental) unconditional pkg_resources import.
|
||||
- Add (auto-generated) __version__ attribute to the main module.
|
||||
- Add fuzzy search to historic countries. (Fixe issue #26)
|
||||
- Update to iso-codes 4.5.0.
|
||||
- PR 9: Clean up the normalization (lower casing) of values in indexes and searches.
|
||||
See PR https://github.com/flyingcircusio/pycountry/pull/9 for detailed
|
||||
discussion. This also fixed issue #8.
|
||||
- Smaller cleanups and build environment version bumps.
|
||||
- PR 35: Python 3-only cleanups and updated Python minor version compatibility
|
||||
- PR 33: Remove defunct bugtracker link from README (thanks, jwilk)
|
||||
- P3 32: (Somewhat hilarious) Typo (thanks, jwilk)
|
||||
- Moved to Git/Github; switched from Bitbucket Pipelines to Travis builds.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 10 12:35:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 19.8.18:
|
||||
* Various country fixes
|
||||
- Remove merged patch pycountry-19.7.15-fix-reading-description.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 16 06:52:52 UTC 2019 - Matthias Fehring <buschmann23@opensuse.org>
|
||||
|
||||
- add pycountry-19.7.15-fix-reading-description.patch to fix wrong
|
||||
encoding when opening description files in setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 10:31:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 19.7.15:
|
||||
* Updates for more countries and various fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 09:32:07 UTC 2019 - pgajdos@suse.com
|
||||
|
||||
- version update to 18.12.8
|
||||
- Switch API from "get + KeyError" to " get + default=None". This is
|
||||
a subtle API-breaking change. Please update carefully. (#13416)
|
||||
- Update to iso-codes 4.1.
|
||||
- Fix #13394: incorrect KeyError shadowing in Subdivisions.get()
|
||||
- Fix #13398: make lazy loading thread-safe.
|
||||
- run unit tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Sep 16 01:29:15 UTC 2017 - smurf.anon@gmail.com
|
||||
|
||||
- Update to version 17.5.14
|
||||
- Convert to singlespec
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 5 03:25:59 UTC 2016 - mailaender@opensuse.org
|
||||
|
||||
- update to version 1.20
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 08 2008 - Ciaran Farrell <cfarrell1980@googlemail.com>
|
||||
|
||||
- Initial import and build of version 0.10
|
66
python-pycountry.spec
Normal file
66
python-pycountry.spec
Normal file
@ -0,0 +1,66 @@
|
||||
#
|
||||
# spec file for package python-pycountry
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
%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
|
||||
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}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-lxml
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
pycountry provides the ISO databases for the standards 639 (Languages),
|
||||
3166 (Countries), 3166-2 (Subdivisions of countries), 4217 (Currencies),
|
||||
15924 (Scripts). The databases are imported from Debian's pkg-isocodes,
|
||||
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}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user