diff options
author | jakllsch <jakllsch@pkgsrc.org> | 2013-01-13 15:20:35 +0000 |
---|---|---|
committer | jakllsch <jakllsch@pkgsrc.org> | 2013-01-13 15:20:35 +0000 |
commit | 4d6ed9b3b181e4b2d1006122408afc0990cf7b03 (patch) | |
tree | 9499d2a7699f0d67265180efcb3f07fbebe47d2a /textproc/py-cssselect | |
parent | 628c7b49608f6cd0babfc836514d7a14c0af046a (diff) | |
download | pkgsrc-4d6ed9b3b181e4b2d1006122408afc0990cf7b03.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/py-cssselect')
-rw-r--r-- | textproc/py-cssselect/DESCR | 6 | ||||
-rw-r--r-- | textproc/py-cssselect/Makefile | 17 | ||||
-rw-r--r-- | textproc/py-cssselect/PLIST | 17 | ||||
-rw-r--r-- | textproc/py-cssselect/distinfo | 5 |
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 |