# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # py-google # py-google/pkg-message # py-google/pkg-comment # py-google/Makefile # py-google/pkg-plist # py-google/pkg-descr # py-google/distinfo # echo c - py-google mkdir -p py-google > /dev/null 2>&1 echo x - py-google/pkg-message sed 's/^X//' >py-google/pkg-message << 'END-of-py-google/pkg-message' X================================================================== X You need a Google-provided license key to use these services. X Go http://www.google.com/apis/ to get one. This module will look X in several places (in this order) for the license key: X X - the module-level LICENSE_KEY variable X - an environment variable called GOOGLE_LICENSE_KEY X - a file called ".googlekey" in the current directory X - a file called ".googlekey" in your home directory X================================================================== END-of-py-google/pkg-message echo x - py-google/pkg-comment sed 's/^X//' >py-google/pkg-comment << 'END-of-py-google/pkg-comment' XPython wrapper for the Google web API END-of-py-google/pkg-comment echo x - py-google/Makefile sed 's/^X//' >py-google/Makefile << 'END-of-py-google/Makefile' X# New ports collection makefile for: py-google X# Date created: 22 April 2002 X# Whom: Hye-Shik Chang X# X# $FreeBSD$ X# X XPORTNAME= google XPORTVERSION= 0.5.2 XCATEGORIES= net python XMASTER_SITES= http://diveintomark.org/projects/pygoogle/ XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} XDISTNAME= pygoogle-${PORTVERSION} X XMAINTAINER= perky@fallin.lv X XRUN_DEPENDS= ${PYTHON_SITELIBDIR}/_xmlplus/sax/__init__.py:${PORTSDIR}/textproc/py-xml X XUSE_PYTHON= yes XUSE_PYDISTUTILS= yes XUSE_ZIP= yes XEXTRACT_BEFORE_ARGS= -q -aa X XWRKSRC= ${WRKDIR}/pygoogle XEXAMPLESDIR= ${PREFIX}/share/examples/py-google X Xpost-patch: X @# www/py-websvcs has an incompatible version of SOAP.py X @${MV} ${WRKSRC}/SOAP.py ${WRKSRC}/SOAPgoogle.py X @cd ${WRKSRC}; for f in *.py; do \ X ${PERL} -pi -e 's,import SOAP,import SOAPgoogle as SOAP,g' $$f; \ X done X @${MKDIR} ${WRKSRC}/tests X @${MV} ${WRKSRC}/*test*.py ${WRKSRC}/tests X X @${PERL} -pi -e 's,.*extra_path.*,,g' ${WRKSRC}/setup.py X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${EXAMPLESDIR} X @${INSTALL_SCRIPT} ${WRKSRC}/tests/*.py ${EXAMPLESDIR} X.endif X @${CAT} ${PKGMESSAGE} X X.include END-of-py-google/Makefile echo x - py-google/pkg-plist sed 's/^X//' >py-google/pkg-plist << 'END-of-py-google/pkg-plist' Xlib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.py Xlib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.pyc Xlib/%%PYTHON_VERSION%%/site-packages/SOAPgoogle.pyo Xlib/%%PYTHON_VERSION%%/site-packages/google.py Xlib/%%PYTHON_VERSION%%/site-packages/google.pyc Xlib/%%PYTHON_VERSION%%/site-packages/google.pyo X%%PORTDOCS%%share/examples/py-google/googletest.py X%%PORTDOCS%%share/examples/py-google/testclient.py X%%PORTDOCS%%share/examples/py-google/testserver.py X%%PORTDOCS%%@dirrm share/examples/py-google END-of-py-google/pkg-plist echo x - py-google/pkg-descr sed 's/^X//' >py-google/pkg-descr << 'END-of-py-google/pkg-descr' XThis module allows you to access Google's web APIs through SOAP, Xto do things like search Google and get the results programmatically. XThis API is described here: http://www.google.com/apis/ X XWWW: http://diveintomark.org/projects/#pygoogle END-of-py-google/pkg-descr echo x - py-google/distinfo sed 's/^X//' >py-google/distinfo << 'END-of-py-google/distinfo' XMD5 (pygoogle-0.5.2.zip) = 766a590648cab76039f850f7c4118c50 END-of-py-google/distinfo exit