From owner-svn-ports-all@FreeBSD.ORG Sun May 25 13:24:37 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 732385F2; Sun, 25 May 2014 13:24:37 +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 467C52030; Sun, 25 May 2014 13:24:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PDObit057560; Sun, 25 May 2014 13:24:37 GMT (envelope-from stefan@svn.freebsd.org) Received: (from stefan@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4PDOaSx057557; Sun, 25 May 2014 13:24:36 GMT (envelope-from stefan@svn.freebsd.org) Message-Id: <201405251324.s4PDOaSx057557@svn.freebsd.org> From: Stefan Walter Date: Sun, 25 May 2014 13:24:36 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355243 - head/net/py-GeoIP 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.18 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: Sun, 25 May 2014 13:24:37 -0000 Author: stefan Date: Sun May 25 13:24:36 2014 New Revision: 355243 URL: http://svnweb.freebsd.org/changeset/ports/355243 QAT: https://qat.redports.org/buildarchive/r355243/ Log: - Add staging support. - Fetch from GitHub. Modified: head/net/py-GeoIP/Makefile head/net/py-GeoIP/distinfo head/net/py-GeoIP/pkg-descr Modified: head/net/py-GeoIP/Makefile ============================================================================== --- head/net/py-GeoIP/Makefile Sun May 25 12:42:50 2014 (r355242) +++ head/net/py-GeoIP/Makefile Sun May 25 13:24:36 2014 (r355243) @@ -4,14 +4,21 @@ PORTNAME= GeoIP PORTVERSION= 1.2.8 CATEGORIES= net python geography -MASTER_SITES= http://geolite.maxmind.com/download/geoip/api/python/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-Python-${PORTVERSION} MAINTAINER= stefan@FreeBSD.org COMMENT= Mapping of IP addresses/hostnames to country names in Python -LIB_DEPENDS= GeoIP.5:${PORTSDIR}/net/GeoIP +LICENSE= GPLv2 + +LIB_DEPENDS= libGeoIP.so:${PORTSDIR}/net/GeoIP + +USE_GITHUB= yes +GH_ACCOUNT= maxmind +GH_PROJECT= geoip-api-python +GH_TAGNAME= v${PORTVERSION} +GH_COMMIT= 993f63c USE_PYTHON= yes USE_PYDISTUTILS=yes @@ -23,7 +30,6 @@ EXAMPLE_FILES= README test.py test_city. PLIST_FILES= %%PYTHON_SITELIBDIR%%/GeoIP.so PORTEXAMPLES= README test.py test_city.py test_org.py test_region.py -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \ ${WRKSRC}/setup.py \ @@ -32,12 +38,10 @@ post-patch: ${WRKSRC}/test_org.py \ ${WRKSRC}/test_region.py -.if !defined(NOPORTEXAMPLES) post-install: - @${MKDIR} ${EXAMPLESDIR} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} .for file in ${EXAMPLE_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${EXAMPLESDIR} .endfor -.endif .include Modified: head/net/py-GeoIP/distinfo ============================================================================== --- head/net/py-GeoIP/distinfo Sun May 25 12:42:50 2014 (r355242) +++ head/net/py-GeoIP/distinfo Sun May 25 13:24:36 2014 (r355243) @@ -1,2 +1,2 @@ -SHA256 (GeoIP-Python-1.2.8.tar.gz) = 8b946307355b60cb0f2b0be8ac90c1231286e0e79917509763267fce01a50e73 -SIZE (GeoIP-Python-1.2.8.tar.gz) = 15595 +SHA256 (GeoIP-Python-1.2.8.tar.gz) = b876c23ddf0356dc92f7391ef1ed83a24d8b8c2f3860c73b09c398ec0bfc7dba +SIZE (GeoIP-Python-1.2.8.tar.gz) = 15755 Modified: head/net/py-GeoIP/pkg-descr ============================================================================== --- head/net/py-GeoIP/pkg-descr Sun May 25 12:42:50 2014 (r355242) +++ head/net/py-GeoIP/pkg-descr Sun May 25 13:24:36 2014 (r355243) @@ -1,4 +1,4 @@ Python API to the GeoIP library for obtaining the country, region, city, latitude, and longitude of any IP address. -WWW: http://www.maxmind.com/app/python +WWW: https://github.com/maxmind/geoip-api-python