pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-cssselect2 Import cssselect2 0.2 as textpr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0ceb17ece306
branches:  trunk
changeset: 367466:0ceb17ece306
user:      kleink <kleink%pkgsrc.org@localhost>
date:      Sat Sep 02 14:58:45 2017 +0000

description:
Import cssselect2 0.2 as textproc/py-cssselect2.

cssselect2 is a straightforward implementation of CSS3 Selectors
for ElementTree-compatible documents (including cElementTree, lxml,
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.

diffstat:

 textproc/py-cssselect2/DESCR    |   5 +++++
 textproc/py-cssselect2/Makefile |  22 ++++++++++++++++++++++
 textproc/py-cssselect2/PLIST    |  34 ++++++++++++++++++++++++++++++++++
 textproc/py-cssselect2/distinfo |   6 ++++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 8ba5162637fb -r 0ceb17ece306 textproc/py-cssselect2/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cssselect2/DESCR      Sat Sep 02 14:58:45 2017 +0000
@@ -0,0 +1,5 @@
+cssselect2 is a straightforward implementation of CSS3 Selectors
+for ElementTree-compatible documents (including cElementTree, lxml,
+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.
diff -r 8ba5162637fb -r 0ceb17ece306 textproc/py-cssselect2/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cssselect2/Makefile   Sat Sep 02 14:58:45 2017 +0000
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2017/09/02 14:58:45 kleink Exp $
+
+DISTNAME=      cssselect2-0.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    textproc python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cssselect2/}
+
+MAINTAINER=    kleink%NetBSD.org@localhost
+HOMEPAGE=      https://pythonhosted.org/cssselect2/
+COMMENT=       CSS selectors for Python ElementTree
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= # empty
+
+DEPENDS+=      ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py-tinycss2
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8ba5162637fb -r 0ceb17ece306 textproc/py-cssselect2/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cssselect2/PLIST      Sat Sep 02 14:58:45 2017 +0000
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/02 14:58:45 kleink Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cssselect2/__init__.py
+${PYSITELIB}/cssselect2/__init__.pyc
+${PYSITELIB}/cssselect2/__init__.pyo
+${PYSITELIB}/cssselect2/_compat.py
+${PYSITELIB}/cssselect2/_compat.pyc
+${PYSITELIB}/cssselect2/_compat.pyo
+${PYSITELIB}/cssselect2/compiler.py
+${PYSITELIB}/cssselect2/compiler.pyc
+${PYSITELIB}/cssselect2/compiler.pyo
+${PYSITELIB}/cssselect2/parser.py
+${PYSITELIB}/cssselect2/parser.pyc
+${PYSITELIB}/cssselect2/parser.pyo
+${PYSITELIB}/cssselect2/tests/LICENSE
+${PYSITELIB}/cssselect2/tests/__init__.py
+${PYSITELIB}/cssselect2/tests/__init__.pyc
+${PYSITELIB}/cssselect2/tests/__init__.pyo
+${PYSITELIB}/cssselect2/tests/content.xhtml
+${PYSITELIB}/cssselect2/tests/ids.html
+${PYSITELIB}/cssselect2/tests/invalid_selectors.json
+${PYSITELIB}/cssselect2/tests/make_valid_selectors_json.sh
+${PYSITELIB}/cssselect2/tests/shakespeare.html
+${PYSITELIB}/cssselect2/tests/test_cssselect2.py
+${PYSITELIB}/cssselect2/tests/test_cssselect2.pyc
+${PYSITELIB}/cssselect2/tests/test_cssselect2.pyo
+${PYSITELIB}/cssselect2/tests/valid_selectors.json
+${PYSITELIB}/cssselect2/tree.py
+${PYSITELIB}/cssselect2/tree.pyc
+${PYSITELIB}/cssselect2/tree.pyo
diff -r 8ba5162637fb -r 0ceb17ece306 textproc/py-cssselect2/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-cssselect2/distinfo   Sat Sep 02 14:58:45 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/02 14:58:45 kleink Exp $
+
+SHA1 (cssselect2-0.2.0.tar.gz) = b559490b651768db652801622718cb3affed6918
+RMD160 (cssselect2-0.2.0.tar.gz) = aaf55accfd66c759d3106e5cc4ccd0acdacf046c
+SHA512 (cssselect2-0.2.0.tar.gz) = 18069dd22892d8457865c2960630e984e791c6779b8d3a6ce4542c3ae92535a8ab23fc964e59776095a999a38ad2c40facce3b9164fef68870bb54167b6dc49b
+Size (cssselect2-0.2.0.tar.gz) = 28197 bytes



Home | Main Index | Thread Index | Old Index