ports/127295: [PATCH] net/py-GeoIP: update to 1.2.2
Li-Wen Hsu
lwhsu at FreeBSD.org
Thu Sep 11 09:10:04 UTC 2008
>Number: 127295
>Category: ports
>Synopsis: [PATCH] net/py-GeoIP: update to 1.2.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 11 09:10:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Li-Wen Hsu
>Release: FreeBSD 8.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD lwbsd.cs.nctu.edu.tw 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Sep 8 20:44:00 CST
>Description:
- Update to 1.2.2
- Examples are under controlled by NOPORTEXAMPLES, not NOPORTDOCS
Port maintainer (stefan at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- py25-GeoIP-1.2.2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/net/py-GeoIP/Makefile,v
retrieving revision 1.10
diff -u -u -r1.10 Makefile
--- Makefile 30 Jul 2007 09:41:42 -0000 1.10
+++ Makefile 11 Sep 2008 09:02:06 -0000
@@ -6,8 +6,7 @@
#
PORTNAME= GeoIP
-PORTVERSION= 1.2.1
-PORTREVISION= 3
+PORTVERSION= 1.2.2
CATEGORIES= net python geography
MASTER_SITES= http://www.maxmind.com/download/geoip/api/python/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,12 +21,11 @@
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= GeoIP-Python
-EXAMPLESDIR= ${PREFIX}/share/examples/${PKGNAMEPREFIX}${PORTNAME}
+EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
EXAMPLE_FILES= README test.py test_city.py test_org.py test_region.py
-DOCSDIR= ${EXAMPLESDIR}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/GeoIP.so
-PORTDOCS= README test.py test_city.py test_org.py test_region.py
+PORTEXAMPLES= README test.py test_city.py test_org.py test_region.py
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
@@ -37,8 +35,8 @@
${WRKSRC}/test_org.py \
${WRKSRC}/test_region.py
+.if !defined(NOPORTEXAMPLES)
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
.for file in ${EXAMPLE_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${EXAMPLESDIR}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/net/py-GeoIP/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo 22 Jan 2006 21:23:40 -0000 1.3
+++ distinfo 11 Sep 2008 09:02:06 -0000
@@ -1,3 +1,3 @@
-MD5 (GeoIP-Python-1.2.1.tar.gz) = 5683420ea34490029ee0285ff048fda0
-SHA256 (GeoIP-Python-1.2.1.tar.gz) = eb481f3f7a799594c0b25c33c0ba3fbc4f054a4cf6b4739ffb56d6113881d6d3
-SIZE (GeoIP-Python-1.2.1.tar.gz) = 9779
+MD5 (GeoIP-Python-1.2.2.tar.gz) = 537ddd7b6000a283f96bdcb0a563b12e
+SHA256 (GeoIP-Python-1.2.2.tar.gz) = 45d95a003e485f41f78802412b7a6921e614012747df2b192ea4e9d9b5dc6e05
+SIZE (GeoIP-Python-1.2.2.tar.gz) = 13279
--- py25-GeoIP-1.2.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list