From owner-svn-ports-all@FreeBSD.ORG Fri May 15 18:08:38 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1B337F7B; Fri, 15 May 2015 18:08:38 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E44F41E8B; Fri, 15 May 2015 18:08:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4FI8bA0088934; Fri, 15 May 2015 18:08:37 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4FI8apv088926; Fri, 15 May 2015 18:08:36 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201505151808.t4FI8apv088926@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: xmj set sender to xmj@FreeBSD.org using -f From: Johannes Jost Meixner Date: Fri, 15 May 2015 18:08:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386466 - in head/net: . py-GeoIP2 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 18:08:38 -0000 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é 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é +# $FreeBSD$ + +PORTNAME= GeoIP2 +PORTVERSION= 2.1.0 +CATEGORIES= net python geography +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-Python-${PORTVERSION} + +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 +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 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