Accepting request 538853 from devel:languages:python
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/538853 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=2
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:73cac570c028cf685dbd8a8c10c1aa0a8b2924ca37b5c039bc010330c94cc580
|
|
||||||
size 371328
|
|
3
geoip2-2.6.0.tar.gz
Normal file
3
geoip2-2.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f441671eb8faa0eaaac16903760fce71130865f14370d56d49512b11029f3ead
|
||||||
|
size 364901
|
@@ -1,3 +1,12 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 27 21:10:06 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- update to version 2.6.0:
|
||||||
|
* The following new anonymizer attributes were added to ``geoip2.record.Traits``
|
||||||
|
for use with GeoIP2 Precision Insights: ``is_anonymous``,
|
||||||
|
``is_anonymous_vpn``, ``is_hosting_provider``, ``is_public_proxy``, and
|
||||||
|
``is_tor_exit_node``.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 25 16:30:03 UTC 2017 - sebix+novell.com@sebix.at
|
Thu May 25 16:30:03 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
@@ -13,39 +13,38 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!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.5.0
|
Version: 2.6.0
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Apache-2.0
|
|
||||||
Summary: MaxMind GeoIP2 Python API
|
Summary: MaxMind GeoIP2 Python API
|
||||||
Url: http://www.maxmind.com/
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
|
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-rpm-macros
|
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: %{python_module maxminddb >= 1.2.1}
|
||||||
|
Requires: %{python_module requests >= 2.9}
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module maxminddb >= 1.2.1}
|
BuildRequires: %{python_module maxminddb >= 1.2.1}
|
||||||
BuildRequires: %{python_module requests >= 2.9}
|
BuildRequires: %{python_module requests >= 2.9}
|
||||||
%endif
|
%endif
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
|
BuildRequires: fdupes
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module requests-mock >= 0.5}
|
BuildRequires: %{python_module requests-mock >= 0.5}
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: fdupes
|
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: %{python_module maxminddb >= 1.2.1}
|
|
||||||
Requires: %{python_module requests >= 2.9}
|
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Recommends: python2-ipaddress
|
Recommends: python2-ipaddress
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -60,7 +59,7 @@ The API also works with MaxMind's free GeoLite2 databases.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %buildroot%{$sitearch}
|
%python_expand %fdupes %{buildroot}%{$sitearch}
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
@@ -68,7 +67,6 @@ The API also works with MaxMind's free GeoLite2 databases.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc LICENSE README.rst
|
%doc LICENSE README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user