68a9f0f642
Reported by: jadawin
29 lines
746 B
Makefile
29 lines
746 B
Makefile
PORTNAME= GeoIP2
|
|
PORTVERSION= 4.6.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= net python geography
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= olivier@FreeBSD.org
|
|
COMMENT= MaxMind GeoIP2 Python API
|
|
WWW= https://github.com/maxmind/GeoIP2-python
|
|
|
|
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>
|