From owner-svn-ports-head@freebsd.org Fri Dec 13 06:40:18 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id ABA491E48B2; Fri, 13 Dec 2019 06:40:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Z1J23Qkpz4bqt; Fri, 13 Dec 2019 06:40:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 70D8F827D; Fri, 13 Dec 2019 06:40:18 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBD6eI6B002025; Fri, 13 Dec 2019 06:40:18 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBD6eHRr002020; Fri, 13 Dec 2019 06:40:17 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201912130640.xBD6eHRr002020@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 13 Dec 2019 06:40:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519972 - in head/textproc: . py-cssselect2 X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/textproc: . py-cssselect2 X-SVN-Commit-Revision: 519972 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Dec 2019 06:40:18 -0000 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 +# $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 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