summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjakllsch <jakllsch@pkgsrc.org>2013-01-13 15:20:35 +0000
committerjakllsch <jakllsch@pkgsrc.org>2013-01-13 15:20:35 +0000
commita50f184ff0a1c2b5969f8c0cd80a7ecc052cbf2c (patch)
tree9499d2a7699f0d67265180efcb3f07fbebe47d2a /textproc
parent966183b6cee6d98c504ff09af674fc5a89546ddc (diff)
downloadpkgsrc-a50f184ff0a1c2b5969f8c0cd80a7ecc052cbf2c.tar.gz
Add py-cssselect.
cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document. This module used to live inside of lxml as lxml.cssselect before it was extracted as a stand-alone project.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-cssselect/DESCR6
-rw-r--r--textproc/py-cssselect/Makefile17
-rw-r--r--textproc/py-cssselect/PLIST17
-rw-r--r--textproc/py-cssselect/distinfo5
4 files changed, 45 insertions, 0 deletions
diff --git a/textproc/py-cssselect/DESCR b/textproc/py-cssselect/DESCR
new file mode 100644
index 00000000000..b9d812820f4
--- /dev/null
+++ b/textproc/py-cssselect/DESCR
@@ -0,0 +1,6 @@
+cssselect parses CSS3 Selectors and translate them to XPath 1.0
+expressions. Such expressions can be used in lxml or another XPath
+engine to find the matching elements in an XML or HTML document.
+
+This module used to live inside of lxml as lxml.cssselect before
+it was extracted as a stand-alone project.
diff --git a/textproc/py-cssselect/Makefile b/textproc/py-cssselect/Makefile
new file mode 100644
index 00000000000..6a35b8a0e77
--- /dev/null
+++ b/textproc/py-cssselect/Makefile
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2013/01/13 15:20:35 jakllsch Exp $
+#
+
+DISTNAME= cssselect-0.7.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://pypi.python.org/packages/source/c/cssselect/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://packages.python.org/cssselect/
+COMMENT= parses CSS3 Selectors and translates them to XPath 1.0
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-cssselect/PLIST b/textproc/py-cssselect/PLIST
new file mode 100644
index 00000000000..4ecccc911c3
--- /dev/null
+++ b/textproc/py-cssselect/PLIST
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2013/01/13 15:20:35 jakllsch Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cssselect/__init__.py
+${PYSITELIB}/cssselect/__init__.pyc
+${PYSITELIB}/cssselect/__init__.pyo
+${PYSITELIB}/cssselect/parser.py
+${PYSITELIB}/cssselect/parser.pyc
+${PYSITELIB}/cssselect/parser.pyo
+${PYSITELIB}/cssselect/tests.py
+${PYSITELIB}/cssselect/tests.pyc
+${PYSITELIB}/cssselect/tests.pyo
+${PYSITELIB}/cssselect/xpath.py
+${PYSITELIB}/cssselect/xpath.pyc
+${PYSITELIB}/cssselect/xpath.pyo
diff --git a/textproc/py-cssselect/distinfo b/textproc/py-cssselect/distinfo
new file mode 100644
index 00000000000..25e57a1808d
--- /dev/null
+++ b/textproc/py-cssselect/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2013/01/13 15:20:35 jakllsch Exp $
+
+SHA1 (cssselect-0.7.1.tar.gz) = 77787495a6dc2d02231b62cfa962e2c202a9cb23
+RMD160 (cssselect-0.7.1.tar.gz) = a30ebdddeacfdd2fe3a7176b3471eacde8732399
+Size (cssselect-0.7.1.tar.gz) = 30480 bytes