summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2021-04-29 23:42:20 +0000
committerjoerg <joerg@pkgsrc.org>2021-04-29 23:42:20 +0000
commit08eec11f9514b84e7aa0a6063bde1547b2cf18be (patch)
treec990ec58f9ee0ca2a85252834ecb3ea30e0b589b /textproc
parent38496879cd95937e11efb861f489c2765dc48691 (diff)
downloadpkgsrc-08eec11f9514b84e7aa0a6063bde1547b2cf18be.tar.gz
Preserve py27-cssselect2-0.2.2.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py27-cssselect2/DESCR5
-rw-r--r--textproc/py27-cssselect2/Makefile24
-rw-r--r--textproc/py27-cssselect2/PLIST34
-rw-r--r--textproc/py27-cssselect2/distinfo6
4 files changed, 69 insertions, 0 deletions
diff --git a/textproc/py27-cssselect2/DESCR b/textproc/py27-cssselect2/DESCR
new file mode 100644
index 00000000000..a2a0afa02f2
--- /dev/null
+++ b/textproc/py27-cssselect2/DESCR
@@ -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 --git a/textproc/py27-cssselect2/Makefile b/textproc/py27-cssselect2/Makefile
new file mode 100644
index 00000000000..b4a617300ac
--- /dev/null
+++ b/textproc/py27-cssselect2/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2021/04/29 23:42:20 joerg Exp $
+
+DISTNAME= cssselect2-0.2.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc python
+MASTER_SITES= ${MASTER_SITE_PYPI:=c/cssselect2/}
+
+MAINTAINER= kleink@NetBSD.org
+HOMEPAGE= https://github.com/Kozea/cssselect2
+COMMENT= CSS selectors for Python ElementTree
+LICENSE= modified-bsd
+
+PYTHON_VERSIONS_ACCEPTED= 27
+
+DEPENDS+= ${PYPKGPREFIX}-tinycss2-[0-9]*:../../textproc/py27-tinycss2
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-flake8-[0-9]*:../../devel/py-test-flake8
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-isort-[0-9]*:../../devel/py-test-isort
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py27-cssselect2/PLIST b/textproc/py27-cssselect2/PLIST
new file mode 100644
index 00000000000..8fe5a3c5f6d
--- /dev/null
+++ b/textproc/py27-cssselect2/PLIST
@@ -0,0 +1,34 @@
+@comment $NetBSD: PLIST,v 1.1 2021/04/29 23:42:20 joerg 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 --git a/textproc/py27-cssselect2/distinfo b/textproc/py27-cssselect2/distinfo
new file mode 100644
index 00000000000..73c84c03529
--- /dev/null
+++ b/textproc/py27-cssselect2/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/04/29 23:42:20 joerg Exp $
+
+SHA1 (cssselect2-0.2.2.tar.gz) = 13b61c17b5fbd5215c0711fd5b5904c842623565
+RMD160 (cssselect2-0.2.2.tar.gz) = 5ff084628a84c85e3aef56dddbd9a1455adc9dc6
+SHA512 (cssselect2-0.2.2.tar.gz) = 1f11077c6e28f52a1c370c1f3d5fa1156f74b390298323889230304ede6c23a2f2b78c63026f5d84e67518a21fc8df3484577bc77fcf19cb97a84c2a7f28d355
+Size (cssselect2-0.2.2.tar.gz) = 31764 bytes