mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
net/py-GeoIP2: Update to 5.0.1
Changelog: https://github.com/maxmind/GeoIP2-python/releases/tag/v5.0.1
This commit is contained in:
parent
37e7bfdb24
commit
c24a8f8793
3 changed files with 23 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
||||||
PORTNAME= GeoIP2
|
PORTNAME= GeoIP2
|
||||||
PORTVERSION= 4.7.0
|
PORTVERSION= 5.0.1
|
||||||
PORTREVISION= 1
|
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
CATEGORIES= net python geography
|
CATEGORIES= net python geography
|
||||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||||
|
@ -13,17 +12,20 @@ LICENSE= APACHE20
|
||||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||||
|
|
||||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2:www/py-aiohttp@${PY_FLAVOR} \
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.2:www/py-aiohttp@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}maxminddb>=2.0.0:net/py-maxminddb@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}maxminddb>=2.5.1:net/py-maxminddb@${PY_FLAVOR} \
|
||||||
${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}requests>=2.24.0:www/py-requests@${PY_FLAVOR}
|
||||||
${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.2:net/py-urllib3@${PY_FLAVOR}
|
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
|
||||||
|
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||||
|
|
||||||
USES= python
|
USES= python
|
||||||
|
|
||||||
|
USE_GITHUB= yes
|
||||||
GH_ACCOUNT= maxmind
|
GH_ACCOUNT= maxmind
|
||||||
GH_PROJECT= GeoIP2-python
|
GH_PROJECT= GeoIP2-python
|
||||||
|
|
||||||
|
USE_PYTHON= autoplist concurrent pep517
|
||||||
|
|
||||||
NO_ARCH= yes
|
NO_ARCH= yes
|
||||||
USE_GITHUB= yes
|
|
||||||
USE_PYTHON= autoplist distutils
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
TIMESTAMP = 1683814585
|
TIMESTAMP = 1743368188
|
||||||
SHA256 (maxmind-GeoIP2-python-v4.7.0_GH0.tar.gz) = c4d3004da3d0c4f0aa43e068c3aad3892daedf9902f41b5b06179841c295fff0
|
SHA256 (maxmind-GeoIP2-python-v5.0.1_GH0.tar.gz) = b7bf74209ff212c581efe86a7bf6f4e2e519079efa4e7de7eda13047e3238e69
|
||||||
SIZE (maxmind-GeoIP2-python-v4.7.0_GH0.tar.gz) = 40541
|
SIZE (maxmind-GeoIP2-python-v5.0.1_GH0.tar.gz) = 42723
|
||||||
|
|
11
net/py-GeoIP2/files/patch-pyproject.toml
Normal file
11
net/py-GeoIP2/files/patch-pyproject.toml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- pyproject.toml.orig 2025-03-30 21:20:26 UTC
|
||||||
|
+++ pyproject.toml
|
||||||
|
@@ -3,7 +3,7 @@ build-backend = "setuptools.build_meta"
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
-name = "geoip2"
|
||||||
|
+name = "GeoIP2"
|
||||||
|
version = "5.0.1"
|
||||||
|
description = "MaxMind GeoIP2 API"
|
||||||
|
authors = [
|
Loading…
Add table
Reference in a new issue