Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2019 06:40:17 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519972 - in head/textproc: . py-cssselect2
Message-ID:  <201912130640.xBD6eHRr002020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912130640.xBD6eHRr002020>