Accepting request 781417 from Application:Geo
OBS-URL: https://build.opensuse.org/request/show/781417 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=8
This commit is contained in:
parent
7a970a904d
commit
0360f0e15b
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f7ffe9d258e71a42cf622ce6350d976de1d0312b9f2fbce3975c7d838b57ecf0
|
||||
size 459342
|
3
python-geoip2-3.0.0.tar.gz
Normal file
3
python-geoip2-3.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5869e987bc54c0d707264fec4710661332cc38d2dca5a7f9bb5362d0308e2ce0
|
||||
size 293503
|
@ -1,3 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 4 07:46:22 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
|
||||
|
||||
- Update to 3.0.0
|
||||
* BREAKING CHANGE: The geoip2.record.* classes have been refactored to
|
||||
improve performance. This refactoring may break classes that inherit from
|
||||
them. The public API should otherwise be compatible.
|
||||
* The network attribute was added to geoip2.record.Traits,
|
||||
geoip2.model.AnonymousIP, geoip2.model.ASN,
|
||||
geoip2.model.ConnectionType, geoip2.model.Domain,
|
||||
and geoip2.model.ISP. This is an ipaddress.IPv4Network or an
|
||||
ipaddress.IPv6Network. This is the largest network where all of the
|
||||
fields besides ip_address have the same value. GitHub #79.
|
||||
* Python 3.3 and 3.4 are no longer supported.
|
||||
* Updated documentation of anonymizer attributes - is_anonymous_vpn and
|
||||
is_hosting_provider - to be more descriptive.
|
||||
* Added support for the user_count trait for the GeoIP2 Precision webservice.
|
||||
* Added the static_ip_score attribute to geoip2.record.Traits for
|
||||
* GeoIP2 Precision Insights. This is a float which indicates how static or dynamic
|
||||
an IP address is.
|
||||
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 07:07:04 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-geoip2
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,14 +19,15 @@
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without test
|
||||
Name: python-geoip2
|
||||
Version: 2.9.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: MaxMind GeoIP2 Python API
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/maxmind/GeoIP2-python
|
||||
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#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module urllib3 >= 1.25.2}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
# SECTION test requirements
|
||||
@ -36,6 +37,7 @@ BuildRequires: %{python_module requests-mock >= 0.5}
|
||||
# /SECTION
|
||||
Requires: python-maxminddb >= 1.4.0
|
||||
Requires: python-requests >= 2.9
|
||||
Requires: python-urllib3 >= 1.25.2
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Recommends: python2-ipaddress
|
||||
|
Loading…
x
Reference in New Issue
Block a user