aboutsummaryrefslogtreecommitdiffstats
path: root/net/py-GeoIP2/Makefile
blob: 4abbe3fb244fc73f2675e0d1206a6af6c2ab0377 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Olivier Cochard-Labbé <olivier@FreeBSD.org>
# $FreeBSD$

PORTNAME=   GeoIP2
PORTVERSION=    2.5.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 \
        ${PYTHON_PKGNAMEPREFIX}requests>=2.4:www/py-requests

USE_GITHUB= yes
GH_ACCOUNT= maxmind
GH_PROJECT= GeoIP2-python

NO_ARCH=    yes
USES=       python
USE_PYTHON= autoplist distutils

.include <bsd.port.mk>