Add py-cssselect2 0.2.2
cssselect2 is a straightforward implementation of CSS3 Selectors for markup documents (HTML, XML, etc.) that can be read by ElementTree-like parsers (including cElementTree, lxml, html5lib, etc.) Unlike cssselect, it does not translate selectors to XPath and therefore does not have all the correctness corner cases that are hard or impossible to fix in cssselect. WWW: https://github.com/Kozea/cssselect2
This commit is contained in:
parent
64a2ed3ab1
commit
839c82b7ec
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519972
@ -1245,6 +1245,7 @@
|
||||
SUBDIR += py-cmarkgfm
|
||||
SUBDIR += py-colorclass
|
||||
SUBDIR += py-creole
|
||||
SUBDIR += py-cssselect2
|
||||
SUBDIR += py-csvkit
|
||||
SUBDIR += py-custom_inherit
|
||||
SUBDIR += py-dbfread
|
||||
|
23
textproc/py-cssselect2/Makefile
Normal file
23
textproc/py-cssselect2/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cssselect2
|
||||
PORTVERSION= 0.2.2
|
||||
CATEGORIES= textproc python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= CSS selectors for Python ElementTree
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tinycss2>=0:textproc/py-tinycss2@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/py-cssselect2/distinfo
Normal file
3
textproc/py-cssselect2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1576164452
|
||||
SHA256 (cssselect2-0.2.2.tar.gz) = 70485a680cd72b023f0ce5ae4dcd392e2b10f7280e20afdb1735334bd6af7e6a
|
||||
SIZE (cssselect2-0.2.2.tar.gz) = 31764
|
9
textproc/py-cssselect2/pkg-descr
Normal file
9
textproc/py-cssselect2/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
cssselect2 is a straightforward implementation of CSS3 Selectors for markup
|
||||
documents (HTML, XML, etc.) that can be read by ElementTree-like parsers
|
||||
(including cElementTree, lxml, html5lib, etc.)
|
||||
|
||||
Unlike cssselect, it does not translate selectors to XPath and therefore does
|
||||
not have all the correctness corner cases that are hard or impossible to fix in
|
||||
cssselect.
|
||||
|
||||
WWW: https://github.com/Kozea/cssselect2
|
Loading…
Reference in New Issue
Block a user