From owner-svn-ports-head@FreeBSD.ORG Fri May 15 20:24:51 2015 Return-Path: Delivered-To: svn-ports-head@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 57CBF63C; Fri, 15 May 2015 20:24:51 +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 46D731EED; Fri, 15 May 2015 20:24:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t4FKOp9Z062068; Fri, 15 May 2015 20:24:51 GMT (envelope-from xmj@FreeBSD.org) Received: (from xmj@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t4FKOnWQ062059; Fri, 15 May 2015 20:24:50 GMT (envelope-from xmj@FreeBSD.org) Message-Id: <201505152024.t4FKOnWQ062059@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 20:24:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r386478 - in head/net: . py-GeoIP2 py-maxminddb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 May 2015 20:24:51 -0000 Author: xmj Date: Fri May 15 20:24:49 2015 New Revision: 386478 URL: https://svnweb.freebsd.org/changeset/ports/386478 Log: 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é Added: head/net/py-maxminddb/ head/net/py-maxminddb/Makefile (contents, props changed) head/net/py-maxminddb/distinfo (contents, props changed) head/net/py-maxminddb/pkg-descr (contents, props changed) Modified: head/net/Makefile head/net/py-GeoIP2/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Fri May 15 20:05:26 2015 (r386477) +++ head/net/Makefile Fri May 15 20:24:49 2015 (r386478) @@ -919,6 +919,7 @@ SUBDIR += py-libcloud SUBDIR += py-libdnet SUBDIR += py-libnet + SUBDIR += py-maxminddb SUBDIR += py-medusa SUBDIR += py-miniupnpc SUBDIR += py-msrplib Modified: head/net/py-GeoIP2/Makefile ============================================================================== --- head/net/py-GeoIP2/Makefile Fri May 15 20:05:26 2015 (r386477) +++ head/net/py-GeoIP2/Makefile Fri May 15 20:24:49 2015 (r386478) @@ -13,8 +13,8 @@ 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 +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>0:${PORTSDIR}/www/py-requests \ + ${PYTHON_PKGNAMEPREFIX}maxminddb>0:${PORTSDIR}/net/py-maxminddb USE_GITHUB= yes GH_ACCOUNT= maxmind Added: head/net/py-maxminddb/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-maxminddb/Makefile Fri May 15 20:24:49 2015 (r386478) @@ -0,0 +1,29 @@ +# Created by: Olivier Cochard-Labbé +# $FreeBSD$ + +PORTNAME= maxminddb +PORTVERSION= 1.2.0 +CATEGORIES= net python geography +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-Python-${PORTVERSION} + +MAINTAINER= olivier@cochard.me +COMMENT= Python module for reading MaxMind DB file + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>0:${PORTSDIR}/devel/py-ipaddr +LIB_DEPENDS= libmaxminddb.so:${PORTSDIR}/net/libmaxminddb + +USE_GITHUB= yes +GH_ACCOUNT= maxmind +GH_PROJECT= MaxMind-DB-Reader-python +GH_TAGNAME= v${PORTVERSION} + +USES= python +USE_PYTHON= autoplist distutils + +CPPFLAGS+= -I${LOCALBASE}/include + +.include Added: head/net/py-maxminddb/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-maxminddb/distinfo Fri May 15 20:24:49 2015 (r386478) @@ -0,0 +1,2 @@ +SHA256 (maxminddb-Python-1.2.0_GH0.tar.gz) = dfb1953dba1ba9bf4a470554d5cf57d68124138b7c12f77a6a40c66613f24c8f +SIZE (maxminddb-Python-1.2.0_GH0.tar.gz) = 28920 Added: head/net/py-maxminddb/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/py-maxminddb/pkg-descr Fri May 15 20:24:49 2015 (r386478) @@ -0,0 +1,4 @@ +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-python