The NetBSD Project

CVS log for pkgsrc/www/py-parsel/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / www / py-parsel

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.12 / (download) - annotate - [select for diffs], Wed Nov 1 18:27:13 2023 UTC (3 months, 3 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, HEAD
Changes since 1.11: +3 -2 lines
Diff to previous 1.11 (colored)

py-parsel: updated to 1.8.1

1.8.1 (2023-04-18)
~~~~~~~~~~~~~~~~~~

* Remove a Sphinx reference from NEWS to fix the PyPI description
* Add a ``twine check`` CI check to detect such problems

1.8.0 (2023-04-18)
~~~~~~~~~~~~~~~~~~

* Add support for JMESPath: you can now create a selector for a JSON document
  and call ``Selector.jmespath()``. See `the documentation`_ for more
  information and examples.
* Selectors can now be constructed from ``bytes`` (using the ``body`` and
  ``encoding`` arguments) instead of ``str`` (using the ``text`` argument), so
  that there is no internal conversion from ``str`` to ``bytes`` and the memory
  usage is lower.
* Typing improvements
* The ``pkg_resources`` module (which was absent from the requirements) is no
  longer used
* Documentation build fixes
* New requirements:

  * ``jmespath``
  * ``typing_extensions`` (on Python 3.7)

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 11 11:47:18 2023 UTC (13 months, 2 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2023Q3-base, pkgsrc-2023Q3, pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1
Changes since 1.10: +9 -10 lines
Diff to previous 1.10 (colored)

py-parsel: updated to 1.7.0

1.7.0 (2022-11-01)
* Add PEP 561-style type information
* Support for Python 2.7, 3.5 and 3.6 is removed
* Support for Python 3.9-3.11 is added
* Very large documents (with deep nesting or long tag content) can now be
  parsed, and ``Selector`` now takes a new argument ``huge_tree`` to disable
  this
* Support for new features of cssselect 1.2.0 is added
* The ``Selector.remove()`` and ``SelectorList.remove()`` methods are
  deprecated and replaced with the new ``Selector.drop()`` and
  ``SelectorList.drop()`` methods which don't delete text after the dropped
  elements when used in the HTML mode.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jan 4 20:55:32 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q4-base, pkgsrc-2022Q4, pkgsrc-2022Q3-base, pkgsrc-2022Q3, pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored)

*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS

Revision 1.9 / (download) - annotate - [select for diffs], Sun May 17 20:37:20 2020 UTC (3 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.8: +9 -5 lines
Diff to previous 1.8 (colored)

py-parsel: updated to 1.6.0

1.6.0:
* Python 3.4 is no longer supported
* New ``Selector.remove()`` and ``SelectorList.remove()`` methods to remove
  selected elements from the parsed document tree
* Improvements to error reporting, test coverage and documentation, and code
  cleanup

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 12 20:04:22 2019 UTC (4 years, 6 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

py-parsel: updated to 1.5.2

1.5.2:
* Selector.remove_namespaces received a significant performance improvement
* The value of data within the printable representation of a selector
  (repr(selector)) now ends in ... when truncated, to make the
  truncation obvious.
* Minor documentation improvements.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 15 09:53:33 2018 UTC (5 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

py-parsel: updated to 1.5.1

1.5.1:
* has-class XPath function handles newlines and other separators
  in class names properly;
* fixed parsing of HTML documents with null bytes;
* documentation improvements;
* Python 3.7 tests are run on CI; other test improvements.

Revision 1.6 / (download) - annotate - [select for diffs], Mon Jul 9 06:17:14 2018 UTC (5 years, 7 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.5: +3 -4 lines
Diff to previous 1.5 (colored)

py-parsel: updated to 1.5.0

1.5.0:
* New Selector.attrib and SelectorList.attrib properties which make
  it easier to get attributes of HTML elements.
* CSS selectors became faster: compilation results are cached
  (LRU cache is used for css2xpath), so there is
  less overhead when the same CSS expression is used several times.
* .get() and .getall() selector methods are documented and recommended
  over .extract_first() and .extract().
* Various documentation tweaks and improvements.

Revision 1.5 / (download) - annotate - [select for diffs], Mon Feb 26 08:32:32 2018 UTC (6 years ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.4: +5 -3 lines
Diff to previous 1.4 (colored)

py-parsel: updated to 1.4.0

1.4.0:
* Selector and SelectorList can't be pickled because
  pickling/unpickling doesn't work for lxml.html.HtmlElement;
  parsel now raises TypeError explicitly instead of allowing pickle to
  silently produce wrong output. This is technically backwards-incompatible
  if you're using Python < 3.6.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 30 22:32:27 2017 UTC (6 years, 7 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Switch github HOMEPAGEs to https.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 20 05:40:35 2017 UTC (6 years, 9 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

Changes 1.2.0:
* Add :meth:`~parsel.selector.SelectorList.get` and :meth:`~parsel.selector.SelectorList.getall`
  methods as aliases for :meth:`~parsel.selector.SelectorList.extract_first`
  and :meth:`~parsel.selector.SelectorList.extract` respectively
* Add default value parameter to :meth:`~parsel.selector.SelectorList.re_first` method
* Add :meth:`~parsel.selector.Selector.re_first` method to :class:`parsel.selector.Selector` class
* Bug fix: detect ``None`` result from lxml parsing and fallback with an empty document
* Rearrange XML/HTML examples in the selectors usage docs

Revision 1.2 / (download) - annotate - [select for diffs], Wed Feb 15 23:22:33 2017 UTC (7 years ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Needs py-test-runner.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Feb 13 21:21:09 2017 UTC (7 years ago) by adam
Branch: MAIN

Added www/py-parsel version 1.1.0

Parsel is a library to extract data from HTML and XML using XPath and CSS
selectors.

Features:
* Extract text using CSS or XPath selectors
* Regular expression helper methods

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>