mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-14 03:10:47 +00:00
8c11fd9d43
PR: 250923
30 lines
759 B
Makefile
30 lines
759 B
Makefile
# Created by: Olivier Cochard-Labbé <olivier@FreeBSD.org>
|
|
|
|
PORTNAME= GeoIP2
|
|
PORTVERSION= 4.2.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net python geography
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
|
COMMENT= MaxMind GeoIP2 Python API
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
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}requests>=2.24.0:www/py-requests@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}urllib3>=1.25.2:net/py-urllib3@${PY_FLAVOR}
|
|
|
|
USES= python:3.6+
|
|
|
|
GH_ACCOUNT= maxmind
|
|
GH_PROJECT= GeoIP2-python
|
|
|
|
NO_ARCH= yes
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.mk>
|