Date: Sun, 25 May 2014 13:24:36 +0000 (UTC) From: Stefan Walter <stefan@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r355243 - head/net/py-GeoIP Message-ID: <201405251324.s4PDOaSx057557@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405251324.s4PDOaSx057557>