aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-03 20:38:28 +0800
committermiwi <miwi@FreeBSD.org>2007-03-03 20:38:28 +0800
commitc9716c97915ddfff03b71ade970f6d443c9f6a17 (patch)
tree06484469536e91c573733d585bcf02dada73c7ff /www
parent890f0ea65bca0516d4d05d9ffbb0befa08126f29 (diff)
downloadfreebsd-ports-gnome-c9716c97915ddfff03b71ade970f6d443c9f6a17.tar.gz
freebsd-ports-gnome-c9716c97915ddfff03b71ade970f6d443c9f6a17.tar.zst
freebsd-ports-gnome-c9716c97915ddfff03b71ade970f6d443c9f6a17.zip
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>
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-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
5 files changed, 156 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 7f8ec9243228..5c0c02cc5d1d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -962,6 +962,7 @@
SUBDIR += py-pastescript
SUBDIR += py-prewikka
SUBDIR += py-pullparser
+ SUBDIR += py-pysearch
SUBDIR += py-qp
SUBDIR += py-qpy
SUBDIR += py-scgi
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%%