svn commit: r386466 - in head/net: . py-GeoIP2
Johannes Jost Meixner
xmj at FreeBSD.org
Fri May 15 18:08:38 UTC 2015
Author: xmj
Date: Fri May 15 18:08:36 2015
New Revision: 386466
URL: https://svnweb.freebsd.org/changeset/ports/386466
Log:
net/py-GeoIP2: add port
Python API to the GeoIP2 library for obtaining the country, region, city,
latitude, and longitude of any IP address.
WWW: https://github.com/maxmind/GeoIP2-python
PR: 199815
Submitted by: Olivier Cochard-Labbé <olivier at cochard.me>
Added:
head/net/py-GeoIP2/
head/net/py-GeoIP2/Makefile (contents, props changed)
head/net/py-GeoIP2/distinfo (contents, props changed)
head/net/py-GeoIP2/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Fri May 15 18:05:41 2015 (r386465)
+++ head/net/Makefile Fri May 15 18:08:36 2015 (r386466)
@@ -897,6 +897,7 @@
SUBDIR += pxe
SUBDIR += pxe-pdhcp
SUBDIR += py-GeoIP
+ SUBDIR += py-GeoIP2
SUBDIR += py-amqp
SUBDIR += py-amqplib
SUBDIR += py-avahi
Added: head/net/py-GeoIP2/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-GeoIP2/Makefile Fri May 15 18:08:36 2015 (r386466)
@@ -0,0 +1,27 @@
+# Created by: Olivier Cochard-Labbé <olivier at cochard.me>
+# $FreeBSD$
+
+PORTNAME= GeoIP2
+PORTVERSION= 2.1.0
+CATEGORIES= net python geography
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-Python-${PORTVERSION}
+
+MAINTAINER= olivier at cochard.me
+COMMENT= MaxMind GeoIP2 Python API
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests
+LIB_DEPENDS= libmaxminddb.so:${PORTSDIR}/net/libmaxminddb
+
+USE_GITHUB= yes
+GH_ACCOUNT= maxmind
+GH_PROJECT= GeoIP2-python
+GH_TAGNAME= v${PORTVERSION}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
Added: head/net/py-GeoIP2/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-GeoIP2/distinfo Fri May 15 18:08:36 2015 (r386466)
@@ -0,0 +1,2 @@
+SHA256 (GeoIP2-Python-2.1.0_GH0.tar.gz) = 1f0326b5e92212c1ed81f5e387438e73ff61154ea2194656f4dc366d2314554e
+SIZE (GeoIP2-Python-2.1.0_GH0.tar.gz) = 28215
Added: head/net/py-GeoIP2/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/py-GeoIP2/pkg-descr Fri May 15 18:08:36 2015 (r386466)
@@ -0,0 +1,4 @@
+Python API to the GeoIP2 library for obtaining the country, region, city,
+latitude, and longitude of any IP address.
+
+WWW: https://github.com/maxmind/GeoIP2-python
More information about the svn-ports-all
mailing list