svn commit: r519972 - in head/textproc: . py-cssselect2

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Fri Dec 13 06:40:18 UTC 2019


Author: sunpoet
Date: Fri Dec 13 06:40:17 2019
New Revision: 519972
URL: https://svnweb.freebsd.org/changeset/ports/519972

Log:
  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

Added:
  head/textproc/py-cssselect2/
  head/textproc/py-cssselect2/Makefile   (contents, props changed)
  head/textproc/py-cssselect2/distinfo   (contents, props changed)
  head/textproc/py-cssselect2/pkg-descr   (contents, props changed)
Modified:
  head/textproc/Makefile

Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile	Fri Dec 13 06:40:11 2019	(r519971)
+++ head/textproc/Makefile	Fri Dec 13 06:40:17 2019	(r519972)
@@ -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

Added: head/textproc/py-cssselect2/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cssselect2/Makefile	Fri Dec 13 06:40:17 2019	(r519972)
@@ -0,0 +1,23 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	cssselect2
+PORTVERSION=	0.2.2
+CATEGORIES=	textproc python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet at 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>

Added: head/textproc/py-cssselect2/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cssselect2/distinfo	Fri Dec 13 06:40:17 2019	(r519972)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576164452
+SHA256 (cssselect2-0.2.2.tar.gz) = 70485a680cd72b023f0ce5ae4dcd392e2b10f7280e20afdb1735334bd6af7e6a
+SIZE (cssselect2-0.2.2.tar.gz) = 31764

Added: head/textproc/py-cssselect2/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/textproc/py-cssselect2/pkg-descr	Fri Dec 13 06:40:17 2019	(r519972)
@@ -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


More information about the svn-ports-head mailing list