aboutsummaryrefslogtreecommitdiff
path: root/www/py-pysearch
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-03 12:38:28 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-03 12:38:28 +0000
commite2af492e1c1b93b1bc382ff13d9b624e01ed3734 (patch)
tree56b2d7457c399d7ac1fdd1f892e77ec65d900900 /www/py-pysearch
parent3f2ce94f799199d3c9230e85ba6ed83f83312c01 (diff)
This module implements a set of classes and functions to work with the Yahoo
Search Web Services. All results from these services are properly formatted XML, and this package facilitates for correct parsing of these result sets. WWW: http://pysearch.sourceforge.net/ PR: ports/109723 Submitted by: Li-Wen Hsu <lwhsu at lwhsu.org>
Notes
Notes: svn path=/head/; revision=186394
Diffstat (limited to 'www/py-pysearch')
-rw-r--r--www/py-pysearch/Makefile35
-rw-r--r--www/py-pysearch/distinfo3
-rw-r--r--www/py-pysearch/pkg-descr5
-rw-r--r--www/py-pysearch/pkg-plist112
4 files changed, 155 insertions, 0 deletions
diff --git a/www/py-pysearch/Makefile b/www/py-pysearch/Makefile
new file mode 100644
index 000000000000..9fe0ed8c0b38
--- /dev/null
+++ b/www/py-pysearch/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: py-pysearch
+# Date created: Mar. 01, 2007
+# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pysearch
+PORTVERSION= 3.0
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pysearch
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pYsearch-${PORTVERSION}
+
+MAINTAINER= lwhsu@lwhsu.org
+COMMENT= Yahoo Search Web Services SDK for Python
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
+.endif
+EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR}
+.endif
+ @${MKDIR} ${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
+
+.include <bsd.port.mk>
diff --git a/www/py-pysearch/distinfo b/www/py-pysearch/distinfo
new file mode 100644
index 000000000000..14e60c574dfe
--- /dev/null
+++ b/www/py-pysearch/distinfo
@@ -0,0 +1,3 @@
+MD5 (pYsearch-3.0.tar.gz) = 36acd50e1179e1af3f16e89ce33b0497
+SHA256 (pYsearch-3.0.tar.gz) = a3c90caa0d10dcbe2911e073d04bd239761071b30fb56e9333207900c91ed58f
+SIZE (pYsearch-3.0.tar.gz) = 90962
diff --git a/www/py-pysearch/pkg-descr b/www/py-pysearch/pkg-descr
new file mode 100644
index 000000000000..5f81041f3f96
--- /dev/null
+++ b/www/py-pysearch/pkg-descr
@@ -0,0 +1,5 @@
+This module implements a set of classes and functions to work with the Yahoo
+Search Web Services. All results from these services are properly formatted
+XML, and this package facilitates for correct parsing of these result sets.
+
+WWW: http://pysearch.sourceforge.net/
diff --git a/www/py-pysearch/pkg-plist b/www/py-pysearch/pkg-plist
new file mode 100644
index 000000000000..8e8e8e324b98
--- /dev/null
+++ b/www/py-pysearch/pkg-plist
@@ -0,0 +1,112 @@
+%%PYTHON_SITELIBDIR%%/yahoo/__init__.py
+%%PYTHON_SITELIBDIR%%/yahoo/__init__.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/__init__.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/__init__.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/__init__.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/__init__.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/audio.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/audio.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/audio.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/debug.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/debug.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/debug.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/__init__.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/__init__.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/__init__.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/audio.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/audio.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/audio.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/image.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/image.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/image.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/local.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/local.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/local.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/myweb.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/myweb.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/myweb.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/news.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/news.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/news.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/site.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/site.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/site.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/term.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/term.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/term.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/video.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/video.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/video.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/web.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/web.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/dom/web.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/factory.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/factory.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/factory.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/image.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/image.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/image.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/local.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/local.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/local.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/myweb.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/myweb.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/myweb.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/news.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/news.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/news.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/parser.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/parser.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/parser.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/site.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/site.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/site.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/term.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/term.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/term.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/version.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/version.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/version.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/video.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/video.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/video.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/web.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/web.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/web.pyo
+%%PYTHON_SITELIBDIR%%/yahoo/search/webservices.py
+%%PYTHON_SITELIBDIR%%/yahoo/search/webservices.pyc
+%%PYTHON_SITELIBDIR%%/yahoo/search/webservices.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/yahoo/search/dom
+@dirrm %%PYTHON_SITELIBDIR%%/yahoo/search
+@dirrm %%PYTHON_SITELIBDIR%%/yahoo
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.webservices.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.audio.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.debug.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.audio.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.image.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.local.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.myweb.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.news.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.site.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.term.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.video.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.dom.web.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.factory.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.image.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.local.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.myweb.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.news.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.parser.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.site.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.term.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.version.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.video.html
+%%PORTDOCS%%%%DOCSDIR%%/yahoo.search.web.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+%%EXAMPLESDIR%%/profile.py
+%%EXAMPLESDIR%%/websearch.py
+@dirrm %%EXAMPLESDIR%%