12
0

Accepting request 689770 from home:pgajdos

Note the WARNING in the HISTORY.rst. In case of big breakage we may want
to downgrade to 18.5.26 for now?

OBS-URL: https://build.opensuse.org/request/show/689770
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycountry?expand=0&rev=5
This commit is contained in:
Tomáš Chvátal
2019-03-29 09:44:14 +00:00
committed by Git OBS Bridge
parent d7758abe25
commit 0dc3171827
4 changed files with 26 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d31321e59a134aac326ac07d4b2595d63f7e7f755bcb503bdecca2bd1b54ff2f
size 9203433

3
pycountry-18.12.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ec4020b2b15cd410893d573820d42ee12fe50365332e58c0975c953b60a16de
size 10026953

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycountry
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -20,15 +20,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pycountry
Version: 17.5.14
Version: 18.12.8
Release: 0
Summary: Databases for ISO standards 639 3166 3166-2 4217 15924
License: LGPL-2.1
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: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
Requires: python-lxml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -50,9 +53,13 @@ Translation files for the various strings are included as well.
%install
%python_install
%check
%pytest
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE.txt README
%license LICENSE.txt
%doc README
%{python_sitelib}/*
%changelog