ports/79671: [PATCH] net/py-google: update to 0.6

Ying-Chieh Liao ijliao at csie.nctu.edu.tw
Fri Apr 8 03:40:04 UTC 2005


>Number:         79671
>Category:       ports
>Synopsis:       [PATCH] net/py-google: update to 0.6
>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:   Fri Apr 08 03:40:03 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Liao
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #1: Mon Nov 15 22:13:47 CST 2004
>Description:
- Update to 0.6

Port maintainer (perky at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- py24-google-0.6.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net/py-google/Makefile,v
retrieving revision 1.7
diff -u -u -r1.7 Makefile
--- Makefile	20 Mar 2005 18:15:46 -0000	1.7
+++ Makefile	8 Apr 2005 03:37:59 -0000
@@ -6,9 +6,10 @@
 #
 
 PORTNAME=	google
-PORTVERSION=	0.5.3
+PORTVERSION=	0.6
 CATEGORIES=	net python
-MASTER_SITES=	http://diveintomark.org/projects/pygoogle/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	pygoogle
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	pygoogle-${PORTVERSION}
 
@@ -18,13 +19,15 @@
 RUN_DEPENDS=	${PYXML}
 
 USE_PYTHON=	yes
-USE_ZIP=	yes
 USE_PYDISTUTILS=	yes
 USE_REINPLACE=	yes
 EXTRACT_BEFORE_ARGS=	-q -aa
 
-WRKSRC=		${WRKDIR}/pygoogle
+.if !defined(NOPORTDOCS)
+PORTDOCS=	*
+DOCSDIR=	${PREFIX}/share/doc/py-google
 EXAMPLESDIR=	${PREFIX}/share/examples/py-google
+.endif
 
 post-patch:
 # www/py-websvcs has an incompatible version of SOAP.py
@@ -40,6 +43,8 @@
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${EXAMPLESDIR}
 	@${INSTALL_SCRIPT} ${WRKSRC}/tests/*.py ${EXAMPLESDIR}
+	@${MKDIR} ${DOCSDIR}
+	@${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
 .endif
 	@${CAT} ${PKGMESSAGE}
 
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/net/py-google/distinfo,v
retrieving revision 1.3
diff -u -u -r1.3 distinfo
--- distinfo	20 Mar 2005 18:15:46 -0000	1.3
+++ distinfo	8 Apr 2005 03:37:59 -0000
@@ -1,2 +1,2 @@
-MD5 (pygoogle-0.5.3.zip) = e2c6d051aa9908eb7fdffca40a4cb692
-SIZE (pygoogle-0.5.3.zip) = 35862
+MD5 (pygoogle-0.6.tar.gz) = 334e2d9e5a765ffa9769e2c4cdfcd110
+SIZE (pygoogle-0.6.tar.gz) = 61276
Index: pkg-descr
===================================================================
RCS file: /home/pcvs/ports/net/py-google/pkg-descr,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-descr
--- pkg-descr	28 Apr 2002 17:31:16 -0000	1.1
+++ pkg-descr	8 Apr 2005 03:37:59 -0000
@@ -2,4 +2,4 @@
 to do things like search Google and get the results programmatically.
 This API is described here: http://www.google.com/apis/
 
-WWW: http://diveintomark.org/projects/#pygoogle
+WWW: http://pygoogle.sourceforge.net/
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/net/py-google/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist	28 Apr 2002 17:31:16 -0000	1.1
+++ pkg-plist	8 Apr 2005 03:37:59 -0000
@@ -1,10 +1,11 @@
-lib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.py
-lib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.pyc
-lib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.pyo
-lib/%%PYTHON_VERSION%%/site-packages/google.py
-lib/%%PYTHON_VERSION%%/site-packages/google.pyc
-lib/%%PYTHON_VERSION%%/site-packages/google.pyo
-%%PORTDOCS%%share/examples/py-google/googletest.py
-%%PORTDOCS%%share/examples/py-google/testclient.py
-%%PORTDOCS%%share/examples/py-google/testserver.py
-%%PORTDOCS%%@dirrm share/examples/py-google
+%%PYTHON_SITELIBDIR%%/GoogleSOAPFacade.py
+%%PYTHON_SITELIBDIR%%/GoogleSOAPFacade.pyc
+%%PYTHON_SITELIBDIR%%/GoogleSOAPFacade.pyo
+%%PYTHON_SITELIBDIR%%/SOAPgoogle.py
+%%PYTHON_SITELIBDIR%%/SOAPgoogle.pyc
+%%PYTHON_SITELIBDIR%%/SOAPgoogle.pyo
+%%PYTHON_SITELIBDIR%%/google.py
+%%PYTHON_SITELIBDIR%%/google.pyc
+%%PYTHON_SITELIBDIR%%/google.pyo
+%%PORTDOCS%%%%EXAMPLESDIR%%/googletest.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
--- py24-google-0.6.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list