freebsd-ports/net/py-GeoIP2/Makefile
Johannes Jost Meixner 495d613208 net/py-maxminddb: add port
Python module for reading MaxMind DB files. The module includes both a pure
Python reader and a C extension.

WWW: https://github.com/maxmind/MaxMind-DB-Reader-pytho

While there, add this port as run-dependency  for net/py-GeoIP2.

PR:		199814
Submitted by:	Olivier Cochard-Labbé <olivier@cochard.me>
2015-05-15 20:24:49 +00:00

26 lines
596 B
Makefile

# Created by: Olivier Cochard-Labbé <olivier@cochard.me>
# $FreeBSD$
PORTNAME= GeoIP2
PORTVERSION= 2.1.0
DISTVERSIONPREFIX= v
CATEGORIES= net python geography
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= olivier@cochard.me
COMMENT= MaxMind GeoIP2 Python API
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \
${PYTHON_PKGNAMEPREFIX}maxminddb>0:${PORTSDIR}/net/py-maxminddb
USE_GITHUB= yes
GH_ACCOUNT= maxmind
GH_PROJECT= GeoIP2-python
USES= python
USE_PYTHON= autoplist distutils
.include <bsd.port.mk>