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 Dec  3 14:19:18 UTC 2025

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

Log Message:
py-geoip2: updated to 5.2.0

5.2.0 (2025-11-20)

* IMPORTANT: Python 3.10 or greater is required. If you are using an older
  version, please use an earlier release.
* `maxminddb` has been upgraded to 3.0.0. This includes free-threading
  support.
* Setuptools has been replaced with the uv build backend for building the
  package.
* A new ``anonymizer`` object has been added to ``geoip2.models.Insights``.
  This object is a ``geoip2.records.Anonymizer`` and contains the following
  fields: ``confidence``, ``network_last_seen``, ``provider_name``,
  ``is_anonymous``, ``is_anonymous_vpn``, ``is_hosting_provider``,
  ``is_public_proxy``, ``is_residential_proxy``, and ``is_tor_exit_node``.
  These provide information about VPN and proxy usage.
* A new ``ip_risk_snapshot`` property has been added to
  ``geoip2.records.Traits``. This is a float ranging from 0.01 to 99 that
  represents the risk associated with the IP address. A higher score indicates
  a higher risk. This field is only available from the Insights end point.
* The following properties on ``geoip2.records.Traits`` have been deprecated:
  ``is_anonymous``, ``is_anonymous_vpn``, ``is_hosting_provider``,
  ``is_public_proxy``, ``is_residential_proxy``, and ``is_tor_exit_node``.
  Please use the ``anonymizer`` object in the ``Insights`` model instead.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/geography/py-geoip2/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/geography/py-geoip2/PLIST
cvs rdiff -u -r1.6 -r1.7 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.10 pkgsrc/geography/py-geoip2/Makefile:1.11
--- pkgsrc/geography/py-geoip2/Makefile:1.10    Thu Oct  9 07:57:40 2025
+++ pkgsrc/geography/py-geoip2/Makefile Wed Dec  3 14:19:18 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2025/10/09 07:57:40 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2025/12/03 14:19:18 adam Exp $
 
-DISTNAME=      geoip2-5.1.0
+DISTNAME=      geoip2-5.2.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    geography python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=g/geoip2/}
@@ -10,10 +10,9 @@ HOMEPAGE=    http://www.maxmind.com/
 COMMENT=       MaxMind GeoIP2 API
 LICENSE=       apache-2.0
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+TOOL_DEPENDS+= ${PYPKGPREFIX}-uv-build>=0.7.19:../../devel/py-uv-build
 DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.6.2:../../www/py-aiohttp
-DEPENDS+=      ${PYPKGPREFIX}-maxminddb>=2.7.0:../../geography/py-maxminddb
+DEPENDS+=      ${PYPKGPREFIX}-maxminddb>=3.0.0:../../geography/py-maxminddb
 DEPENDS+=      ${PYPKGPREFIX}-requests>=2.24.0:../../devel/py-requests
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-httpserver>=1.0.10:../../devel/py-test-httpserver
 

Index: pkgsrc/geography/py-geoip2/PLIST
diff -u pkgsrc/geography/py-geoip2/PLIST:1.4 pkgsrc/geography/py-geoip2/PLIST:1.5
--- pkgsrc/geography/py-geoip2/PLIST:1.4        Wed Apr 16 14:38:57 2025
+++ pkgsrc/geography/py-geoip2/PLIST    Wed Dec  3 14:19:18 2025
@@ -1,9 +1,8 @@
-@comment $NetBSD: PLIST,v 1.4 2025/04/16 14:38:57 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2025/12/03 14:19:18 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
-${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/geoip2/__init__.py
 ${PYSITELIB}/geoip2/__init__.pyc
 ${PYSITELIB}/geoip2/__init__.pyo

Index: pkgsrc/geography/py-geoip2/distinfo
diff -u pkgsrc/geography/py-geoip2/distinfo:1.6 pkgsrc/geography/py-geoip2/distinfo:1.7
--- pkgsrc/geography/py-geoip2/distinfo:1.6     Fri May 16 12:55:41 2025
+++ pkgsrc/geography/py-geoip2/distinfo Wed Dec  3 14:19:18 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.6 2025/05/16 12:55:41 adam Exp $
+$NetBSD: distinfo,v 1.7 2025/12/03 14:19:18 adam Exp $
 
-BLAKE2s (geoip2-5.1.0.tar.gz) = f2542d1c23403e2aaab8b6e656be3e0a4b32514e5c98e455e5429a0b3e4185e6
-SHA512 (geoip2-5.1.0.tar.gz) = 269e95e4658640d1be8b74bc1c9cc09c70db1c1e4e8a634339126825044d3935f99c4ccac6bdaa2a892fc73aa18e82bb0dc317d39009b7539459f4e747ee511f
-Size (geoip2-5.1.0.tar.gz) = 268166 bytes
+BLAKE2s (geoip2-5.2.0.tar.gz) = ccb862726e10340d6f185504f7cefd0774f810691ebbb45a6e5733c29f3e1db8
+SHA512 (geoip2-5.2.0.tar.gz) = 9ba19709c9ff3dafdc2c6d2afb661ad566668dc462c4e51c5a2cd020ddeb4490e5c4d9815aecf9b089f0986331510c2452c06e3b5e9b5b990fbad06c9dfc9a06
+Size (geoip2-5.2.0.tar.gz) = 176498 bytes



Home | Main Index | Thread Index | Old Index