Accepting request 603090 from devel:languages:python

- Use license macro for license

- update to version 2.8.0:
 * Renamed user ID to account ID in the code and added support for the new
   ``ACCOUNT_ID_REQUIRED`` AND ``ACCOUNT_ID_UNKNOWN`` error codes.
- update to version 2.7.0:
 * The ``is_in_european_union`` attribute was added to
   ``geoip2.record.Country`` and ``geoip2.record.RepresentedCountry``. This
   attribute is ``True`` if the country is a member state of the European
   Union.

OBS-URL: https://build.opensuse.org/request/show/603090
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2018-05-08 11:36:36 +00:00 committed by Git OBS Bridge
parent 200afd2c09
commit 85eb152e78
4 changed files with 24 additions and 6 deletions

View File

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

3
geoip2-2.8.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed May 2 12:02:32 UTC 2018 - tchvatal@suse.com
- Use license macro for license
-------------------------------------------------------------------
Thu Apr 12 19:32:15 UTC 2018 - sebix+novell.com@sebix.at
- update to version 2.8.0:
* Renamed user ID to account ID in the code and added support for the new
``ACCOUNT_ID_REQUIRED`` AND ``ACCOUNT_ID_UNKNOWN`` error codes.
- update to version 2.7.0:
* The ``is_in_european_union`` attribute was added to
``geoip2.record.Country`` and ``geoip2.record.RepresentedCountry``. This
attribute is ``True`` if the country is a member state of the European
Union.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Mar 3 18:36:30 UTC 2018 - arun@gmx.de Sat Mar 3 18:36:30 UTC 2018 - arun@gmx.de

View File

@ -19,12 +19,12 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test %bcond_without test
Name: python-geoip2 Name: python-geoip2
Version: 2.6.0 Version: 2.8.0
Release: 0 Release: 0
Summary: MaxMind GeoIP2 Python API Summary: MaxMind GeoIP2 Python API
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Url: http://www.maxmind.com/ URL: http://www.maxmind.com/
Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
@ -67,7 +67,8 @@ The API also works with MaxMind's free GeoLite2 databases.
%endif %endif
%files %{python_files} %files %{python_files}
%doc LICENSE README.rst %license LICENSE
%doc README.rst
%{python_sitelib}/* %{python_sitelib}/*
%changelog %changelog