head 1.9; access; symbols pkgsrc-2023Q4:1.9.0.8 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.6 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.4 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.2 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.8.0.8 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.6 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.8.0.4 pkgsrc-2022Q2-base:1.8 pkgsrc-2022Q1:1.8.0.2 pkgsrc-2022Q1-base:1.8 pkgsrc-2021Q4:1.7.0.20 pkgsrc-2021Q4-base:1.7 pkgsrc-2021Q3:1.7.0.18 pkgsrc-2021Q3-base:1.7 pkgsrc-2021Q2:1.7.0.16 pkgsrc-2021Q2-base:1.7 pkgsrc-2021Q1:1.7.0.14 pkgsrc-2021Q1-base:1.7 pkgsrc-2020Q4:1.7.0.12 pkgsrc-2020Q4-base:1.7 pkgsrc-2020Q3:1.7.0.10 pkgsrc-2020Q3-base:1.7 pkgsrc-2020Q2:1.7.0.8 pkgsrc-2020Q2-base:1.7 pkgsrc-2020Q1:1.7.0.4 pkgsrc-2020Q1-base:1.7 pkgsrc-2019Q4:1.7.0.6 pkgsrc-2019Q4-base:1.7 pkgsrc-2019Q3:1.7.0.2 pkgsrc-2019Q3-base:1.7 pkgsrc-2019Q2:1.6.0.12 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.10 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.8 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.6.0.6 pkgsrc-2018Q3-base:1.6 pkgsrc-2018Q2:1.6.0.4 pkgsrc-2018Q2-base:1.6 pkgsrc-2018Q1:1.6.0.2 pkgsrc-2018Q1-base:1.6 pkgsrc-2017Q4:1.5.0.10 pkgsrc-2017Q4-base:1.5 pkgsrc-2017Q3:1.5.0.8 pkgsrc-2017Q3-base:1.5 pkgsrc-2017Q2:1.5.0.4 pkgsrc-2017Q2-base:1.5 pkgsrc-2017Q1:1.5.0.2 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.4.0.6 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.4 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.2 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.3.0.16 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.14 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.12 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.10 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.8 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.6 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.4 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.2 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.2.0.8 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.6 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.1.0.2 pkgsrc-2013Q1-base:1.1; locks; strict; comment @# @; 1.9 date 2023.01.11.11.48.35; author adam; state Exp; branches; next 1.8; commitid chKMCudmNBepm79E; 1.8 date 2022.01.04.20.54.53; author wiz; state Exp; branches; next 1.7; commitid CYyhdK9qtoffkmnD; 1.7 date 2019.08.12.20.00.45; author adam; state Exp; branches; next 1.6; commitid 4Y0bOlOubRvscMyB; 1.6 date 2018.01.01.21.28.59; author adam; state Exp; branches; next 1.5; commitid ay1UmK1LOG8yAdlA; 1.5 date 2017.02.13.17.58.47; author adam; state Exp; branches; next 1.4; commitid DuHnuc5DTngfMOFz; 1.4 date 2016.06.08.17.43.40; author wiz; state Exp; branches; next 1.3; commitid z4yEulWexjFaJG9z; 1.3 date 2014.04.11.17.58.35; author wiz; state Exp; branches; next 1.2; commitid u9OcS1C6hRyKaiwx; 1.2 date 2013.04.06.03.45.26; author rodent; state Exp; branches; next 1.1; 1.1 date 2013.01.13.15.20.35; author jakllsch; state Exp; branches; next ; desc @@ 1.9 log @py-cssselect: updated to 1.2.0 Version 1.2.0 ------------- * Drop support for Python 2.7, 3.4-3.6, add support for Python 3.7-3.11. * Add type annotations (PEP 484 and PEP 561). * More features from the CSS Selectors Level 4: * The ``:is()`` pseudo-class. * The ``:where()`` pseudo-class. * The ``:has()`` pseudo-class, with some limitations. * Fix parsing ``:scope`` after a comma. * Add parentheses to fix condition precedence in some cases. * Private API changes related to the removal of the Python 2 support: * Remove ``_unicode`` and ``_unichr`` aliases from ``csselect.parser``. * Remove ``_basestring`` and ``_unicode`` aliases from ``csselect.xpath``. * Deprecate ``csselect.xpath._unicode_safe_getattr()`` and change it to just call ``getattr()``. * Include tests in the PyPI tarball. * Many CI additions and improvements. * Improve the test coverage. @ text @# $NetBSD: Makefile,v 1.8 2022/01/04 20:54:53 wiz Exp $ DISTNAME= cssselect-1.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=c/cssselect/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://packages.python.org/cssselect/ COMMENT= Parses CSS3 Selectors and translates them to XPath 1.0 LICENSE= modified-bsd USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m unittest discover -v .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.8 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2019/08/12 20:00:45 adam Exp $ d3 1 a3 1 DISTNAME= cssselect-1.1.0 a4 1 PKGREVISION= 1 d15 5 @ 1.7 log @py-cssselect: updated to 1.1.0 Version 1.1.0 * Support for the :scope selector, which allows to access immediate children of a selector. * Support for the |E syntax for type selectors without a namespace. * A new selector method, canonical, returns the CSS expression of the selector, as a string. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2018/01/01 21:28:59 adam Exp $ d5 1 @ 1.6 log @py-cssselect: updated to 1.0.3 Version 1.0.3 * Fix artifact uploads to pypi Version 1.0.2 * Drop support for Python 2.6 and Python 3.3. * Fix deprecation warning in Python 3.6. * Minor cleanups. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2017/02/13 17:58:47 adam Exp $ d3 1 a3 1 DISTNAME= cssselect-1.0.3 @ 1.5 log @Version 1.0.1 * Add support for Python 3.6. * Documentation hosted `on Read the Docs `_ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2016/06/08 17:43:40 wiz Exp $ d3 1 a3 1 DISTNAME= cssselect-1.0.1 d5 1 a5 1 CATEGORIES= textproc @ 1.4 log @Switch to MASTER_SITES_PYPI. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2014/04/11 17:58:35 wiz Exp $ d3 1 a3 1 DISTNAME= cssselect-0.9.1 @ 1.3 log @Update to 0.9.1: Version 0.9.1 ------------- Released on 2013-10-17. * **Backward incompatible change from 0.9**: :meth:`~GenericTranslator.selector_to_xpath` defaults to ignoring pseudo-elements, as it did in 0.8 and previous versions. (:meth:`~GenericTranslator.css_to_xpath` doesn’t change.) * Drop official support for Python 2.4 and 3.1, as testing was becoming difficult. Nothing will break overnight, but future releases may on may not work on these versions. Older releases will remain available on PyPI. Version 0.9 ----------- Released on 2013-10-11. Add parser support for :attr:`functional pseudo-elements `. *Update:* This version accidentally introduced a **backward incompatible** change: :meth:`~GenericTranslator.selector_to_xpath` defaults to rejecting pseudo-elements instead of ignoring them. Version 0.8 ----------- Released on 2013-03-15. Improvements: * `#22 `_ Let extended translators override what XPathExpr class is used * `#19 `_ Use the built-in ``lang()`` XPath function for implementing the ``:lang()`` pseudo-class with XML documents. This is probably faster than ``ancestor-or-self::``. Bug fixes: * `#14 `_ Fix non-ASCII pseudo-classes. (Invalid selector instead of crash.) * `#20 `_ As per the spec, elements containing only whitespace are not considered empty for the ``:empty`` pseudo-class. Version 0.7.1 ------------- Released on 2012-06-14. Code name *remember-to-test-with-tox*. 0.7 broke the parser in Python 2.4 and 2.5; the tests in 2.x. Now all is well again. Also, pseudo-elements are now correctly made lower-case. (They are supposed to be case-insensitive.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2013/04/06 03:45:26 rodent Exp $ d6 1 a6 1 MASTER_SITES= http://pypi.python.org/packages/source/c/cssselect/ @ 1.2 log @Fixes: COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections. @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.1 2013/01/13 15:20:35 jakllsch Exp $ # d3 1 a3 1 DISTNAME= cssselect-0.7.1 @ 1.1 log @Add py-cssselect. cssselect parses CSS3 Selectors and translate them to XPath 1.0 expressions. Such expressions can be used in lxml or another XPath engine to find the matching elements in an XML or HTML document. This module used to live inside of lxml as lxml.cssselect before it was extracted as a stand-alone project. @ text @d1 1 a1 1 # $NetBSD$ d11 1 a11 1 COMMENT= parses CSS3 Selectors and translates them to XPath 1.0 @