pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/py-maxminddb



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jan 14 15:16:09 UTC 2024

Modified Files:
        pkgsrc/geography/py-maxminddb: Makefile PLIST distinfo

Log Message:
py-maxminddb: updated to 2.5.2

2.5.2 (2024-01-09)

* The vendored ``libmaxminddb`` version was updated to 1.9.0. This fixes
  an issue when reading databases with a search tree exceeding 2 GB.

2.5.1 (2023-11-09)

* This is a re-release of 2.5.0 to address missing files from the sdist.

2.5.0 (2023-11-08)

* 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.
* The multiprocessing test now explicitly uses ``fork``. This allows it
  to run successfully on macOS.
* 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.

2.4.0 (2023-06-28)

* Package metadata was migrated from ``setup.py`` to ``setup.cfg``.
* The C extension now decrements the reference count on an object
  containing the database filename after its use in an error message rather
  than before.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/geography/py-maxminddb/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/geography/py-maxminddb/PLIST
cvs rdiff -u -r1.2 -r1.3 pkgsrc/geography/py-maxminddb/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/py-maxminddb/Makefile
diff -u pkgsrc/geography/py-maxminddb/Makefile:1.3 pkgsrc/geography/py-maxminddb/Makefile:1.4
--- pkgsrc/geography/py-maxminddb/Makefile:1.3  Fri Jun 16 15:44:12 2023
+++ pkgsrc/geography/py-maxminddb/Makefile      Sun Jan 14 15:16:09 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2023/06/16 15:44:12 adam Exp $
+# $NetBSD: Makefile,v 1.4 2024/01/14 15:16:09 adam Exp $
 
-DISTNAME=      maxminddb-2.3.0
+DISTNAME=      maxminddb-2.5.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    geography python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=m/maxminddb/}
@@ -10,11 +10,12 @@ HOMEPAGE=   https://github.com/maxmind/Max
 COMMENT=       Reader for the MaxMind DB format
 LICENSE=       apache-2.0
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
+DEPENDS+=      ${PYPKGPREFIX}-setuptools>=68.2.2:../../devel/py-setuptools
 
-do-test:
-       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest tests/*.py
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 .include "../../geography/libmaxminddb/buildlink3.mk"
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/geography/py-maxminddb/PLIST
diff -u pkgsrc/geography/py-maxminddb/PLIST:1.1 pkgsrc/geography/py-maxminddb/PLIST:1.2
--- pkgsrc/geography/py-maxminddb/PLIST:1.1     Wed Aug 24 11:07:22 2022
+++ pkgsrc/geography/py-maxminddb/PLIST Sun Jan 14 15:16:09 2024
@@ -1,8 +1,9 @@
-@comment $NetBSD: PLIST,v 1.1 2022/08/24 11:07:22 wiz Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.2 2024/01/14 15:16:09 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/maxminddb/__init__.py
 ${PYSITELIB}/maxminddb/__init__.pyc
 ${PYSITELIB}/maxminddb/__init__.pyo

Index: pkgsrc/geography/py-maxminddb/distinfo
diff -u pkgsrc/geography/py-maxminddb/distinfo:1.2 pkgsrc/geography/py-maxminddb/distinfo:1.3
--- pkgsrc/geography/py-maxminddb/distinfo:1.2  Fri Jun 16 15:44:12 2023
+++ pkgsrc/geography/py-maxminddb/distinfo      Sun Jan 14 15:16:09 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/06/16 15:44:12 adam Exp $
+$NetBSD: distinfo,v 1.3 2024/01/14 15:16:09 adam Exp $
 
-BLAKE2s (maxminddb-2.3.0.tar.gz) = 5e35e2dacaee2bd209f20950e4eead87fb173e68306829f2fc3aa82db70c8bd7
-SHA512 (maxminddb-2.3.0.tar.gz) = 23b7b69eff08cc98f7ec4f621b2b31fde86fd6fb4c7b875583f994bfcc6daba7799105a52ad8873e9d33f58b7b74bb0f0c512d69be72f73c7e1cedb52d671857
-Size (maxminddb-2.3.0.tar.gz) = 322114 bytes
+BLAKE2s (maxminddb-2.5.2.tar.gz) = 24602beeb21b8754a86873e13bf1501a94d8fc240cf9c3e16fc0a4e851127de0
+SHA512 (maxminddb-2.5.2.tar.gz) = 51702a7f3de4f75848d2c628c09015851205087d877403a7a476fa1738a4aa29fbbaba9d54575052e222e485fa9096bfa6f14962d1b241ac8c4720efb43dcb52
+Size (maxminddb-2.5.2.tar.gz) = 181308 bytes



Home | Main Index | Thread Index | Old Index