From owner-freebsd-ports Sun Apr 21 18:50:13 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id CE19B37B417 for ; Sun, 21 Apr 2002 18:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3M1o1X33820; Sun, 21 Apr 2002 18:50:01 -0700 (PDT) (envelope-from gnats) Received: from akaraka.yonsei.ac.kr (akaraka.yonsei.ac.kr [165.132.134.53]) by hub.freebsd.org (Postfix) with ESMTP id 5097737B41A for ; Sun, 21 Apr 2002 18:44:01 -0700 (PDT) Received: from akaraka.yonsei.ac.kr (localhost.yonsei.ac.kr [127.0.0.1]) by akaraka.yonsei.ac.kr (8.12.3/8.12.2) with ESMTP id g3M1hsph022819 for ; Mon, 22 Apr 2002 10:43:59 +0900 (KST) (envelope-from perky@akaraka.yonsei.ac.kr) Received: (from perky@localhost) by akaraka.yonsei.ac.kr (8.12.3/8.12.2/Submit) id g3M1hnCU022818; Mon, 22 Apr 2002 10:43:49 +0900 (KST) Message-Id: <200204220143.g3M1hnCU022818@akaraka.yonsei.ac.kr> Date: Mon, 22 Apr 2002 10:43:49 +0900 (KST) From: Hye-Shik Chang Reply-To: Hye-Shik Chang To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/37328: New port: net/py-google Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37328 >Category: ports >Synopsis: New port: net/py-google >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Apr 21 18:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hye-Shik Chang >Release: FreeBSD 5.0-CURRENT i386 >Organization: Yonsei University >Environment: System: FreeBSD akaraka.yonsei.ac.kr 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Apr 15 01:05:17 KST 2002 root@akaraka.yonsei.ac.kr:/usr/src/sys/i386/compile/JOARRA i386 >Description: Python module for Google Web API >How-To-Repeat: >Fix: # 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 >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message