summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrodent <rodent>2014-05-16 01:06:29 +0000
committerrodent <rodent>2014-05-16 01:06:29 +0000
commit644e12d1621720595f35e28867a8b4e75772fae1 (patch)
tree71d7c1cef04e6756b4731d58f4e9a5089f69515b /textproc
parentb7c9038c36d1988a3c301aa6d564bb786a5b4f59 (diff)
downloadpkgsrc-644e12d1621720595f35e28867a8b4e75772fae1.tar.gz
Import py27-pyquery-1.2.8 as textproc/py-pyquery.
pyquery allows you to make jQuery queries on XML documents. The API is as much as possible the similar to jQuery. pyquery uses lxml for fast XML and HTML manipulation. This is not (or at least not yet) a library to produce or interact with JavaScript code.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-pyquery/DESCR6
-rw-r--r--textproc/py-pyquery/Makefile20
-rw-r--r--textproc/py-pyquery/PLIST26
-rw-r--r--textproc/py-pyquery/distinfo5
4 files changed, 57 insertions, 0 deletions
diff --git a/textproc/py-pyquery/DESCR b/textproc/py-pyquery/DESCR
new file mode 100644
index 00000000000..b1532abd0b0
--- /dev/null
+++ b/textproc/py-pyquery/DESCR
@@ -0,0 +1,6 @@
+pyquery allows you to make jQuery queries on XML documents. The API is as much
+as possible the similar to jQuery. pyquery uses lxml for fast XML and HTML
+manipulation.
+
+This is not (or at least not yet) a library to produce or interact with
+JavaScript code.
diff --git a/textproc/py-pyquery/Makefile b/textproc/py-pyquery/Makefile
new file mode 100644
index 00000000000..57029b79e43
--- /dev/null
+++ b/textproc/py-pyquery/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2014/05/16 01:06:29 rodent Exp $
+
+DISTNAME= pyquery-1.2.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python textproc
+MASTER_SITES= https://pypi.python.org/packages/source/p/pyquery/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= https://github.com/gawel/pyquery
+COMMENT= Python jquery-like library
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-lxml>=2.1:../../textproc/py-lxml
+DEPENDS+= ${PYPKGPREFIX}-cssselect-[0-9]*:../../textproc/py-cssselect
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-pyquery/PLIST b/textproc/py-pyquery/PLIST
new file mode 100644
index 00000000000..c7581c2fab9
--- /dev/null
+++ b/textproc/py-pyquery/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1 2014/05/16 01:06:29 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyquery/__init__.py
+${PYSITELIB}/pyquery/__init__.pyc
+${PYSITELIB}/pyquery/__init__.pyo
+${PYSITELIB}/pyquery/ajax.py
+${PYSITELIB}/pyquery/ajax.pyc
+${PYSITELIB}/pyquery/ajax.pyo
+${PYSITELIB}/pyquery/cssselectpatch.py
+${PYSITELIB}/pyquery/cssselectpatch.pyc
+${PYSITELIB}/pyquery/cssselectpatch.pyo
+${PYSITELIB}/pyquery/openers.py
+${PYSITELIB}/pyquery/openers.pyc
+${PYSITELIB}/pyquery/openers.pyo
+${PYSITELIB}/pyquery/pyquery.py
+${PYSITELIB}/pyquery/pyquery.pyc
+${PYSITELIB}/pyquery/pyquery.pyo
+${PYSITELIB}/pyquery/rules.py
+${PYSITELIB}/pyquery/rules.pyc
+${PYSITELIB}/pyquery/rules.pyo
diff --git a/textproc/py-pyquery/distinfo b/textproc/py-pyquery/distinfo
new file mode 100644
index 00000000000..84fb81bf2d7
--- /dev/null
+++ b/textproc/py-pyquery/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/05/16 01:06:29 rodent Exp $
+
+SHA1 (pyquery-1.2.8.zip) = f9030d313bad187bd0c407132fe17633efef8199
+RMD160 (pyquery-1.2.8.zip) = 614752aa11589628ecb7fb508c4c7a75544a3a6c
+Size (pyquery-1.2.8.zip) = 42552 bytes