aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-04-11 14:26:23 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-04-11 14:26:23 +0000
commit636aac512e63fc37bc31ca713729115aa7f91d30 (patch)
treee35cbea8e7406f3b1accb030d0108495fd819963
parent0de325cc420a12fe431ac1a2eecf09593b4013d1 (diff)
downloadports-636aac512e63fc37bc31ca713729115aa7f91d30.tar.gz
ports-636aac512e63fc37bc31ca713729115aa7f91d30.zip
Update to 0.6
PR: 79671 Submitted by: ijliao
Notes
Notes: svn path=/head/; revision=133029
-rw-r--r--net/py-google/Makefile14
-rw-r--r--net/py-google/distinfo4
-rw-r--r--net/py-google/pkg-descr2
-rw-r--r--net/py-google/pkg-plist21
4 files changed, 23 insertions, 18 deletions
diff --git a/net/py-google/Makefile b/net/py-google/Makefile
index a81f64d36d5a..9cad9718b969 100644
--- a/net/py-google/Makefile
+++ b/net/py-google/Makefile
@@ -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,14 @@ COMMENT= Python wrapper for the Google web API
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 +42,8 @@ post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_SCRIPT} ${WRKSRC}/tests/*.py ${EXAMPLESDIR}
+ @${MKDIR} ${DOCSDIR}
+ @${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
@${CAT} ${PKGMESSAGE}
diff --git a/net/py-google/distinfo b/net/py-google/distinfo
index 24b041bf4d53..dbb1988b26a7 100644
--- a/net/py-google/distinfo
+++ b/net/py-google/distinfo
@@ -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
diff --git a/net/py-google/pkg-descr b/net/py-google/pkg-descr
index 213f4925ae56..4fb926610273 100644
--- a/net/py-google/pkg-descr
+++ b/net/py-google/pkg-descr
@@ -2,4 +2,4 @@ This module allows you to access Google's web APIs through SOAP,
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/
diff --git a/net/py-google/pkg-plist b/net/py-google/pkg-plist
index e806010b64ef..b54a1bfe6ebc 100644
--- a/net/py-google/pkg-plist
+++ b/net/py-google/pkg-plist
@@ -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%%