mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
28 lines
621 B
Makefile
28 lines
621 B
Makefile
# Created by: Olivier Cochard-Labbé <olivier@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= GeoIP2
|
|
PORTVERSION= 2.9.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}maxminddb>=1.1.0:net/py-maxminddb@${PY_FLAVOR} \
|
|
${PYTHON_PKGNAMEPREFIX}requests>=2.4:www/py-requests@${PY_FLAVOR}
|
|
|
|
GH_ACCOUNT= maxmind
|
|
GH_PROJECT= GeoIP2-python
|
|
|
|
NO_ARCH= yes
|
|
USES= python
|
|
USE_GITHUB= yes
|
|
USE_PYTHON= autoplist distutils
|
|
|
|
.include <bsd.port.mk>
|