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.
This commit is contained in:
parent
966183b6ce
commit
a50f184ff0
4 changed files with 45 additions and 0 deletions
6
textproc/py-cssselect/DESCR
Normal file
6
textproc/py-cssselect/DESCR
Normal file
|
@ -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.
|
17
textproc/py-cssselect/Makefile
Normal file
17
textproc/py-cssselect/Makefile
Normal file
|
@ -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"
|
17
textproc/py-cssselect/PLIST
Normal file
17
textproc/py-cssselect/PLIST
Normal file
|
@ -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
|
5
textproc/py-cssselect/distinfo
Normal file
5
textproc/py-cssselect/distinfo
Normal file
|
@ -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
|
Loading…
Reference in a new issue