forked from pool/python-maxminddb
Compare commits
8 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ca39a9126a | |||
| 8031296b0a | |||
| 5a5c0f08c3 | |||
| 272ec3222e | |||
| e3fc41ded4 | |||
| 58418e76b3 | |||
| 4a9bbfa9d7 | |||
| 3b0f10bc01 |
BIN
maxminddb-2.4.0.tar.gz
LFS
BIN
maxminddb-2.4.0.tar.gz
LFS
Binary file not shown.
3
maxminddb-3.0.0.tar.gz
Normal file
3
maxminddb-3.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9792b19625945dff146e2e3187f9e470b82330a912f7cea5581b8bd5af30da8b
|
||||
size 199784
|
||||
@@ -1,3 +1,63 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 29 18:11:49 UTC 2026 - Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
|
||||
|
||||
- Update to version 3.0.0:
|
||||
* jump multiple versions, reference upstream changelog
|
||||
- Clean up spec file, add workaround to keep compatibility with Leap 15.6
|
||||
(new version would otherwise require newer setuptools)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 17 04:35:55 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Use pyproject macros to build and install.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 07:57:16 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
- update to version 2.6.3:
|
||||
- The vendored ``libmaxminddb`` has been updated to 1.12.0. This fixes a
|
||||
memory leak when opening a database fails.
|
||||
- Binary wheels are now built for Python 3.13.
|
||||
- update to version 2.6.2:
|
||||
- The vendored ``libmaxminddb`` has been updated to 1.10.0. This fixes a
|
||||
bug that would cause incorrect results on databases that had search
|
||||
trees greater than 4 GB.
|
||||
- update to version 2.6.1:
|
||||
- This release includes no source code changes. The only changes are to
|
||||
the release workflow.
|
||||
- Binary wheels are now built on Linux for aarch64. Pull request by Kevin
|
||||
Park. GitHub #160.
|
||||
- Binary wheels are now built on macOS for Apple silicon. Requested by
|
||||
Kevin Park. GitHub #152.
|
||||
- update to version 2.6.0:
|
||||
- Added type annotations for instance variables on ``Metadata``
|
||||
- Updated type stubs for ``maxminddb.extension``.
|
||||
- ``setuptools`` is no longer listed as a runtime dependency. Pull request
|
||||
by Lewis Collard. GitHub #155.
|
||||
- update to version 2.5.2:
|
||||
- The vendored ``libmaxminddb`` version was updated to 1.9.0. This fixes
|
||||
an issue when reading databases with a search tree exceeding 2 GB.
|
||||
Reported by Sami Salonen. GitHub #146.
|
||||
- update to version 2.5.1:
|
||||
- This is a re-release of 2.5.0 to address missing files from the sdist.
|
||||
Reported by Lumír 'Frenzy' Balhar. GitHub #132.
|
||||
- update to version 2.5.0:
|
||||
- IMPORTANT: Python 3.8 or greater is required. If you are using an older
|
||||
version, please use an earlier release.
|
||||
- Windows is now supported by the C extension.
|
||||
- The ``Reader`` class now implements the ``__iter__`` method. This will
|
||||
return an iterator that iterates over all records in the database,
|
||||
excluding repeated aliased of the IPv4 network. Requested by
|
||||
Jean-Baptiste Braun and others. GitHub #23.
|
||||
- The multiprocessing test now explicitly uses ``fork``. This allows it
|
||||
to run successfully on macOS. Pull request by Theodore Ni. GitHub #116.
|
||||
- A vendored copy of ``libmaxminddb`` will now be used by default when
|
||||
building the extension. If you wish to continue using the system shared
|
||||
library, you may set the ``MAXMINDDB_USE_SYSTEM_LIBMAXMINDDB`` environment
|
||||
variable to a true value when building the extension.
|
||||
- The C extension now builds on Python 3.13.
|
||||
- The C extension will now be built for PyPy.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 17 10:03:21 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -16,17 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define skip_python2 1
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-maxminddb
|
||||
Version: 2.4.0
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: Reader for the MaxMind DB format
|
||||
License: Apache-2.0
|
||||
URL: http://www.maxmind.com/
|
||||
URL: https://www.maxmind.com/
|
||||
Source: https://files.pythonhosted.org/packages/source/m/maxminddb/maxminddb-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel >= 3.6}
|
||||
BuildRequires: %{python_module devel >= 3.10}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libmaxminddb-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -43,15 +44,19 @@ MaxMind DB is a binary file format that stores data indexed by IP address
|
||||
subnets (IPv4 or IPv6).
|
||||
|
||||
%prep
|
||||
%setup -q -n maxminddb-%{version}
|
||||
sed -i '/nose/d' setup.py
|
||||
%autosetup -n maxminddb-%{version}
|
||||
|
||||
# hack to restore compatibility with older setuptools
|
||||
%if 0%{?suse_version} <= 1500
|
||||
sed -i 's/^from setuptools.command.bdist_wheel/from wheel.bdist_wheel/' setup.py
|
||||
%endif
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
@@ -60,6 +65,7 @@ export CFLAGS="%{optflags}"
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitearch}/*
|
||||
%{python_sitearch}/maxminddb/
|
||||
%{python_sitearch}/maxminddb-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user