head	1.11;
access;
symbols
	pkgsrc-2026Q1:1.11.0.4
	pkgsrc-2026Q1-base:1.11
	pkgsrc-2025Q4:1.11.0.2
	pkgsrc-2025Q4-base:1.11
	pkgsrc-2025Q3:1.9.0.2
	pkgsrc-2025Q3-base:1.9
	pkgsrc-2025Q2:1.8.0.2
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.6.0.2
	pkgsrc-2025Q1-base:1.6
	pkgsrc-2024Q4:1.5.0.2
	pkgsrc-2024Q4-base:1.5
	pkgsrc-2024Q3:1.3.0.6
	pkgsrc-2024Q3-base:1.3
	pkgsrc-2024Q2:1.3.0.4
	pkgsrc-2024Q2-base:1.3
	pkgsrc-2024Q1:1.3.0.2
	pkgsrc-2024Q1-base:1.3
	pkgsrc-2023Q4:1.2.0.6
	pkgsrc-2023Q4-base:1.2
	pkgsrc-2023Q3:1.2.0.4
	pkgsrc-2023Q3-base:1.2
	pkgsrc-2023Q2:1.2.0.2
	pkgsrc-2023Q2-base:1.2
	pkgsrc-2023Q1:1.1.0.6
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.4
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.2
	pkgsrc-2022Q3-base:1.1;
locks; strict;
comment	@# @;


1.11
date	2025.12.03.14.19.18;	author adam;	state Exp;
branches;
next	1.10;
commitid	aSWo2IDIx8HJdYkG;

1.10
date	2025.10.09.07.57.40;	author wiz;	state Exp;
branches;
next	1.9;
commitid	t4nMY0Dt3rBjSRdG;

1.9
date	2025.07.05.11.44.18;	author wiz;	state Exp;
branches;
next	1.8;
commitid	B2KLCDAZOmgedy1G;

1.8
date	2025.05.16.12.55.41;	author adam;	state Exp;
branches;
next	1.7;
commitid	is4lYr7CyFGCd8VF;

1.7
date	2025.04.16.14.38.57;	author adam;	state Exp;
branches;
next	1.6;
commitid	6bhWouh4E2MUKhRF;

1.6
date	2025.02.12.12.55.46;	author adam;	state Exp;
branches;
next	1.5;
commitid	jneTThnmdpMZcbJF;

1.5
date	2024.11.30.06.51.58;	author adam;	state Exp;
branches;
next	1.4;
commitid	x8fYNZaNuzLDzDzF;

1.4
date	2024.11.11.07.28.33;	author wiz;	state Exp;
branches;
next	1.3;
commitid	1fBDq3LwS98NncxF;

1.3
date	2024.01.14.15.17.35;	author adam;	state Exp;
branches;
next	1.2;
commitid	tXUbbH97gTJQGqUE;

1.2
date	2023.06.16.15.47.13;	author adam;	state Exp;
branches;
next	1.1;
commitid	fNUFBaPXRIdsFbtE;

1.1
date	2022.08.24.12.54.28;	author wiz;	state Exp;
branches;
next	;
commitid	WmxmiWp7dVXce8RD;


desc
@@


1.11
log
@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.
@
text
@# $NetBSD: Makefile,v 1.10 2025/10/09 07:57:40 wiz Exp $

DISTNAME=	geoip2-5.2.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	geography python
MASTER_SITES=	${MASTER_SITE_PYPI:=g/geoip2/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://www.maxmind.com/
COMMENT=	MaxMind GeoIP2 API
LICENSE=	apache-2.0

TOOL_DEPENDS+=	${PYPKGPREFIX}-uv-build>=0.7.19:../../devel/py-uv-build
DEPENDS+=	${PYPKGPREFIX}-aiohttp>=3.6.2:../../www/py-aiohttp
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

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.10
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2025/07/05 11:44:18 wiz Exp $
d3 1
a3 1
DISTNAME=	geoip2-5.1.0
d13 1
a13 2
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
d15 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-maxminddb>=2.7.0:../../geography/py-maxminddb
@


1.9
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2025/05/16 12:55:41 adam Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.8
log
@py-geoip2: updated to 5.1.0

5.1.0 (2025-05-05)

* Support for the GeoIP Anonymous Plus database has been added. To do a lookup
  in this database, use the ``anonymous_plus`` method on ``Reader``.
* Reorganized module documentation to improve language-server support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2025/04/16 14:38:57 adam Exp $
d22 2
@


1.7
log
@Fix for setuptools>=78; bump revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2025/02/12 12:55:46 adam Exp $
d3 1
a3 1
DISTNAME=	geoip2-5.0.1
a4 1
PKGREVISION=	1
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-maxminddb>=2.5.1:../../geography/py-maxminddb
@


1.6
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2024/11/30 06:51:58 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=61:../../devel/py-setuptools
@


1.5
log
@py-geoip2: updated to 4.8.1

4.8.1 (2024-11-18)

* ``setuptools`` was incorrectly listed as a runtime dependency. This has
  been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2024/11/11 07:28:33 wiz Exp $
d3 1
a3 1
DISTNAME=	geoip2-4.8.1
@


1.4
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2024/01/14 15:17:35 adam Exp $
d3 1
a3 1
DISTNAME=	geoip2-4.8.0
d13 1
d18 1
a18 2
DEPENDS+=	${PYPKGPREFIX}-setuptools>=60.0.0:../../devel/py-setuptools
TEST_DEPENDS+=	${PYPKGPREFIX}-mocket>=3.11.1:../../devel/py-mocket
a21 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.3
log
@py-geoip2: updated to 4.8.0

4.8.0 (2023-12-05)

* IMPORTANT: Python 3.8 or greater is required. If you are using an older
  version, please use an earlier release.
* 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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2023/06/16 15:47:13 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.2
log
@py-geoip2: updated to 4.7.0

4.7.0 (2023-05-09)
* IMPORTANT: Python 3.7 or greater is required. If you are using an older
  version, please use an earlier release.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/08/24 12:54:28 wiz Exp $
d3 1
a3 1
DISTNAME=	geoip2-4.7.0
d13 2
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-maxminddb>=2.3.0:../../geography/py-maxminddb
d18 2
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-mocket>3.8.9:../../devel/py-mocket
d25 1
a25 1
.include "../../lang/python/egg.mk"
@


1.1
log
@geography/py-geoip2: import py-geoip2-4.6.0

This package provides an API for the GeoIP2 and GeoLite2 web services
and databases.
@
text
@d1 1
a1 1
# $NetBSD$
d3 1
a3 1
DISTNAME=	geoip2-4.6.0
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-maxminddb>=2.2.0:../../geography/py-maxminddb
a15 1
DEPENDS+=	${PYPKGPREFIX}-urllib3>=1.25.2:../../www/py-urllib3
@

