./textproc/py-cssselect, Parses CSS3 Selectors and translates them to XPath 1.0

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: py310-cssselect-1.2.0, Maintainer: pkgsrc-users

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.


Required to run:
[lang/python310]

Master sites:

Filesize: 40.452 KB

Version history: (Expand)


CVS history: (Expand)


   2023-01-11 12:48:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:23:42 by Nia Alarie | Files touched by this commit (1161)
Log message:
textproc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Unfetchable distfiles (fetched conditionally?):
./textproc/convertlit/distinfo clit18src.zip
   2021-10-07 17:02:49 by Nia Alarie | Files touched by this commit (1162)
Log message:
textproc: Remove SHA1 hashes for distfiles
   2019-08-12 22:00:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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.
   2018-01-01 22:28:59 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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.
   2017-02-13 18:58:47 by Adam Ciarcinski | Files touched by this commit (3)
Log message:
Version 1.0.1
* Add support for Python 3.6.
* Documentation hosted `on Read the Docs <https://cssselect.readthedocs.io/>`_
   2016-06-08 19:43:49 by Thomas Klausner | Files touched by this commit (356)
Log message:
Switch to MASTER_SITES_PYPI.