pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/py-geoip2



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Feb 12 12:55:46 UTC 2025

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

Log Message:
py-geoip2: updated to 5.0.1

5.0.1 (2025-01-28)

* Allow ``ip_address`` in the ``Traits`` record to be ``None`` again. The
  primary use case for this is from the ``minfraud`` package.

5.0.0 (2025-01-28)

* BREAKING: The ``raw`` attribute on the model classes has been replaced
  with a ``to_dict()`` method. This can be used to get a representation of
  the object that is suitable for serialization.
* BREAKING: The ``ip_address`` property on the model classes now always returns
  a ``ipaddress.IPv4Address`` or ``ipaddress.IPv6Address``.
* BREAKING: The model and record classes now require all arguments other than
  ``locales`` and ``ip_address`` to be keyword arguments.
* BREAKING: ``geoip2.mixins`` has been made internal. This normally would not
  have been used by external code.
* IMPORTANT: Python 3.9 or greater is required. If you are using an older
  version, please use an earlier release.
* ``metro_code`` on ``geoip2.record.Location`` has been deprecated. The
  code values are no longer being maintained.
* The type hinting for the optional ``locales`` keyword argument now allows
  any sequence of strings rather than only list of strings.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 pkgsrc/geography/py-geoip2/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/geography/py-geoip2/PLIST
cvs rdiff -u -r1.4 -r1.5 pkgsrc/geography/py-geoip2/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-geoip2/Makefile
diff -u pkgsrc/geography/py-geoip2/Makefile:1.5 pkgsrc/geography/py-geoip2/Makefile:1.6
--- pkgsrc/geography/py-geoip2/Makefile:1.5     Sat Nov 30 06:51:58 2024
+++ pkgsrc/geography/py-geoip2/Makefile Wed Feb 12 12:55:46 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.5 2024/11/30 06:51:58 adam Exp $
+# $NetBSD: Makefile,v 1.6 2025/02/12 12:55:46 adam Exp $
 
-DISTNAME=      geoip2-4.8.1
+DISTNAME=      geoip2-5.0.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    geography python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/geoip2/}

Index: pkgsrc/geography/py-geoip2/PLIST
diff -u pkgsrc/geography/py-geoip2/PLIST:1.2 pkgsrc/geography/py-geoip2/PLIST:1.3
--- pkgsrc/geography/py-geoip2/PLIST:1.2        Sun Jan 14 15:17:35 2024
+++ pkgsrc/geography/py-geoip2/PLIST    Wed Feb 12 12:55:46 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2024/01/14 15:17:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2025/02/12 12:55:46 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -7,15 +7,15 @@ ${PYSITELIB}/${WHEEL_INFODIR}/top_level.
 ${PYSITELIB}/geoip2/__init__.py
 ${PYSITELIB}/geoip2/__init__.pyc
 ${PYSITELIB}/geoip2/__init__.pyo
+${PYSITELIB}/geoip2/_internal.py
+${PYSITELIB}/geoip2/_internal.pyc
+${PYSITELIB}/geoip2/_internal.pyo
 ${PYSITELIB}/geoip2/database.py
 ${PYSITELIB}/geoip2/database.pyc
 ${PYSITELIB}/geoip2/database.pyo
 ${PYSITELIB}/geoip2/errors.py
 ${PYSITELIB}/geoip2/errors.pyc
 ${PYSITELIB}/geoip2/errors.pyo
-${PYSITELIB}/geoip2/mixins.py
-${PYSITELIB}/geoip2/mixins.pyc
-${PYSITELIB}/geoip2/mixins.pyo
 ${PYSITELIB}/geoip2/models.py
 ${PYSITELIB}/geoip2/models.pyc
 ${PYSITELIB}/geoip2/models.pyo

Index: pkgsrc/geography/py-geoip2/distinfo
diff -u pkgsrc/geography/py-geoip2/distinfo:1.4 pkgsrc/geography/py-geoip2/distinfo:1.5
--- pkgsrc/geography/py-geoip2/distinfo:1.4     Sat Nov 30 06:51:58 2024
+++ pkgsrc/geography/py-geoip2/distinfo Wed Feb 12 12:55:46 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2024/11/30 06:51:58 adam Exp $
+$NetBSD: distinfo,v 1.5 2025/02/12 12:55:46 adam Exp $
 
-BLAKE2s (geoip2-4.8.1.tar.gz) = f74df13384df67e5e2a23d35ddddb7a1029eb0a11099e5206b8126aba2d98a6a
-SHA512 (geoip2-4.8.1.tar.gz) = d73ad9c0cb6463f405c9f70045f1aef97826348d93bbaf1e0de15a7919b27822b76baf04d170a5ca05c49fdfe88d902bf0d28270626fa6b7d6b2379d19983161
-Size (geoip2-4.8.1.tar.gz) = 174270 bytes
+BLAKE2s (geoip2-5.0.1.tar.gz) = abf2f57b0da3ac98c0e3be91aefbbba457b7a7047fbfdcde6e6ad3933dd46d93
+SHA512 (geoip2-5.0.1.tar.gz) = c36213ce4905bca07637e29b05205a57533fe61b351120bdfc266276dc4830db0c438e7a1ca17b30dfd09e4d4350b4564a99c604ffe5e16c32cc5da4c7ffa49b
+Size (geoip2-5.0.1.tar.gz) = 175854 bytes



Home | Main Index | Thread Index | Old Index