Accepting request 1238834 from Application:Geo
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1238834 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-geoip2?expand=0&rev=22
This commit is contained in:
commit
91ebce5454
BIN
python-geoip2-4.7.0.tar.gz
(Stored with Git LFS)
BIN
python-geoip2-4.7.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
python-geoip2-4.8.0.tar.gz
Normal file
3
python-geoip2-4.8.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dd9cc180b7d41724240ea481d5d539149e65b234f64282b231b9170794a9ac35
|
||||||
|
size 174237
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 12 14:01:47 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||||
|
|
||||||
|
- update to version 4.8.0:
|
||||||
|
- The ``is_anycast`` attribute was added to ``geoip2.record.Traits``.
|
||||||
|
This returns ``True`` if the IP address belongs to an
|
||||||
|
`anycast network <https://en.wikipedia.org/wiki/Anycast>`_.
|
||||||
|
This is available for the GeoIP2 Country, City Plus, and Insights web services
|
||||||
|
and the GeoIP2 Country, City, and Enterprise databases.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Nov 26 10:29:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Sun Nov 26 10:29:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-geoip2
|
# spec file for package python-geoip2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2023 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,15 +18,17 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-geoip2
|
Name: python-geoip2
|
||||||
Version: 4.7.0
|
Version: 4.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: https://github.com/maxmind/GeoIP2-python
|
URL: https://github.com/maxmind/GeoIP2-python
|
||||||
Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/g/geoip2/geoip2-%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.7}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@ -37,9 +39,10 @@ BuildRequires: %{python_module pytest}
|
|||||||
BuildRequires: %{python_module python-magic >= 0.4.18}
|
BuildRequires: %{python_module python-magic >= 0.4.18}
|
||||||
BuildRequires: %{python_module requests >= 2.14.0}
|
BuildRequires: %{python_module requests >= 2.14.0}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Recommends: python-aiohttp >= 3.6.2
|
Requires: python-aiohttp >= 3.6.2
|
||||||
Requires: python-maxminddb >= 2.0.0
|
Requires: python-maxminddb >= 2.0.0
|
||||||
Requires: python-requests >= 2.14.0
|
Requires: python-requests >= 2.14.0
|
||||||
|
Requires: python-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -51,10 +54,10 @@ The API also works with MaxMind's free GeoLite2 databases.
|
|||||||
%setup -q -n geoip2-%{version}
|
%setup -q -n geoip2-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
Loading…
x
Reference in New Issue
Block a user