From lwhsu@lwbsd.cs.nctu.edu.tw  Thu Sep 11 09:03:36 2008
Return-Path: <lwhsu@lwbsd.cs.nctu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 67C0E1065679
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Sep 2008 09:03:36 +0000 (UTC)
	(envelope-from lwhsu@lwbsd.cs.nctu.edu.tw)
Received: from lwbsd.cs.nctu.edu.tw (lwbsd.cs.nctu.edu.tw [140.113.17.197])
	by mx1.freebsd.org (Postfix) with ESMTP id EB0EC8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 11 Sep 2008 09:03:35 +0000 (UTC)
	(envelope-from lwhsu@lwbsd.cs.nctu.edu.tw)
Received: from lwbsd.cs.nctu.edu.tw (localhost [127.0.0.1])
	by lwbsd.cs.nctu.edu.tw (8.14.3/8.14.3) with ESMTP id m8B92MAm091345;
	Thu, 11 Sep 2008 17:02:22 +0800 (CST)
	(envelope-from lwhsu@lwbsd.cs.nctu.edu.tw)
Received: (from lwhsu@localhost)
	by lwbsd.cs.nctu.edu.tw (8.14.3/8.14.3/Submit) id m8B92MBx091344;
	Thu, 11 Sep 2008 17:02:22 +0800 (CST)
	(envelope-from lwhsu)
Message-Id: <200809110902.m8B92MBx091344@lwbsd.cs.nctu.edu.tw>
Date: Thu, 11 Sep 2008 17:02:22 +0800 (CST)
From: Li-Wen Hsu <lwhsu@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: stefan@freebsd.org
Subject: [PATCH] net/py-GeoIP: update to 1.2.2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127295
>Category:       ports
>Synopsis:       [PATCH] net/py-GeoIP: update to 1.2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 11 09:10:03 UTC 2008
>Closed-Date:    Tue Oct 07 13:53:42 UTC 2008
>Last-Modified:  Tue Oct  7 14:00:11 UTC 2008
>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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Sep 11 09:10:20 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127295 
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Tue Oct 7 13:52:38 UTC 2008 
State-Changed-Why:  
Committed, thanks for the patch and sorry for the delay! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127295 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/127295: commit references a PR
Date: Tue,  7 Oct 2008 13:52:27 +0000 (UTC)

 stefan      2008-10-07 13:52:13 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net/py-GeoIP         Makefile distinfo 
   Log:
   - Update to 1.2.2
   - Use NOPORTEXAMPLES instead of NOPORTDOCS for example files.
   
   PR:             127295
   Submitted by:   lwhsu
   
   Revision  Changes    Path
   1.11      +4 -6      ports/net/py-GeoIP/Makefile
   1.4       +3 -3      ports/net/py-GeoIP/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
