./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.1.0, Package name: py37-cssselect-1.1.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:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: c34b045aafdafdbb583e5a43cd1db9270f1e7d1e
RMD160: 7d4898327b6d291a669bd82d1d6e568dfb0c5c64
Filesize: 22.186 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2015-11-04 03:00:17 by Alistair G. Crooks | Files touched by this commit (797)
Log message:
Add SHA512 digests for distfiles for textproc category

Problems found locating distfiles:
	Package cabocha: missing distfile cabocha-0.68.tar.bz2
	Package convertlit: missing distfile clit18src.zip
	Package php-enchant: missing distfile php-enchant/enchant-1.1.0.tgz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-04-11 19:58:35 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
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 <Selector.pseudo_element>`.

*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 <https://github.com/SimonSapin/cssselect/issues/22>`_
  Let extended translators override what XPathExpr class is used
* `#19 <https://github.com/SimonSapin/cssselect/issues/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 <https://github.com/SimonSapin/cssselect/issues/14>`_
  Fix non-ASCII pseudo-classes. (Invalid selector instead of crash.)
* `#20 <https://github.com/SimonSapin/cssselect/issues/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.)
   2013-04-06 05:45:29 by Blue Rats | Files touched by this commit (152)
Log message:
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.
   2013-01-13 16:20:35 by Jonathan A. Kollasch | Files touched by this commit (4)
Log message:
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.