./www/py-soupsieve, CSS4 selector implementation for Beautiful Soup

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


Branch: CURRENT, Version: 1.9.2, Package name: py37-soupsieve-1.9.2, Maintainer: pkgsrc-users

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4.
It aims to provide selecting, matching, and filtering using modern CSS
selectors. Soup Sieve currently provides selectors from the CSS level 1
specifications up through the latest CSS level 4 drafts (though some are not
yet implemented).

Soup Sieve was written with the intent to replace Beautiful Soup's builtin
select feature, and as of Beautiful Soup version 4.7.0, it now is. Soup Sieve
can also be imported in order to use its API directly for more controlled,
specialized parsing.

Soup Sieve has implemented most of the CSS selectors up through the level 4
drafts, though there are a number that don't make sense in a non-browser
environment. Selectors that cannot provide meaningful functionality simply do
not match anything.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: d1eb367b6b831eb35a78c109ee4f01d5e1ca03cb
RMD160: 0da8641b45fb79f81943ca1e3b27d3a1a576d3aa
Filesize: 93.211 KB

Version history: (Expand)


CVS history: (Expand)


   2019-07-07 00:49:00 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.2

1.9.2
- **FIX**: Shortcut last descendant calculation if possible for performance.
- **FIX**: Fix issue where `Doctype` strings can be mistaken for a normal text \ 
node in some cases.
- **FIX**: A top level tag is not a `:root` tag if it has sibling text nodes or \ 
tag nodes. This is an issue that mostly manifests when using `html.parser` as \ 
the parser will allow multiple root nodes.
   2019-04-29 10:48:10 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.1

1.9.1
- **FIX**: :root, :contains(), :default, :indeterminate, :lang(), and :dir() \ 
will properly account for HTML
iframe elements in their logic when selecting or matching an element. Their \ 
logic will be restricted to the document
for which the element under consideration applies.
- **FIX**: HTML pseudo-classes will check that all key elements checked are in \ 
the XHTML namespace (HTML parsers that do
not provide namespaces will assume the XHTML namespace).
- **FIX**: Ensure that all pseudo-class names are case insensitive and allow CSS \ 
escapes.
   2019-04-04 08:37:09 by Leonardo Taccari | Files touched by this commit (1)
Log message:
py-soupsieve: Remove no longer needed/used patch

setup.py was differently adjusted upstream to exclude all tests.
   2019-04-03 11:29:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.0

1.9.0:
NEW: Allow :contains() to accept a list of text to search for.
NEW: Add new escape function for escaping CSS identifiers.
NEW: Deprecate comments and icomments functions in the API to ensure Soup Sieve \ 
focuses only in CSS selectors. comments and icomments will most likely be \ 
removed in 2.0.
NEW: Add Python 3.8 support.
FIX: Don't install test files when installing the soupsieve package.
FIX: Improve efficiency of :contains() comparison.
FIX: Null characters should translate to the Unicode REPLACEMENT CHARACTER \ 
(U+FFFD) according to the specification. This applies to CSS escaped NULL \ 
characters as well.
FIX: Escaped EOF should translate to U+FFFD outside of CSS strings. In a string, \ 
they should just be ignored, but as there is no case where we could resolve such \ 
a string and still have a valid selector, string handling remains the same.
   2019-02-19 10:43:56 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-soupsieve: updated to 1.8

1.8.0
NEW: Add custom selector support.
FIX: Small tweak to CSS identifier pattern to ensure it matches the CSS \ 
specification exactly. Specifically, you can't have an identifier of only -.
FIX: CSS string patterns should allow escaping newlines to span strings across \ 
multiple lines.
FIX: Newline regular expression for CSS newlines should treat \r\n as a single \ 
character, especially in cases such as string escapes: \\\r\n.
FIX: Allow -- as a valid identifier or identifier start.
FIX: Bad CSS syntax now raises a SelectorSyntaxError, which is still currently \ 
derived from SyntaxError, but will most likely be derived from Exception in the \ 
future.
   2019-01-24 15:06:49 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.7.3

1.7.3
- Fix regression with tag names in regards to case sensitivity, and ensure there \ 
are tests to prevent breakage
  in the future.
- XHTML should always be case sensitive like XML.
   2019-01-21 10:56:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.7.2

1.7.2
- **FIX**: Fix HTML detection type selector.
- **FIX**: Fixes for :enabled and :disabled.
- **FIX**: Provide a way for Beautiful Soup to parse selectors in a quirks mode \ 
to mimic some of the quirks of the old
  select method prior to Soup Sieve, but with warnings. This is to help old \ 
scripts to not break during the transitional
  period with newest Beautiful Soup. In the future, these quirks will raise an \ 
exception as Soup Sieve requires
  selectors to follow the CSS specification.

1.7.1
- **FIX**: Fix issue with :has() selector where a leading combinator can only be \ 
provided in the first selector in a
  relative selector list.

1.7.0
- **NEW**: Add support for :in-range and :out-of-range selectors.
- **NEW**: Add support for :defined selector.
- **FIX**: Fix pickling issue when compiled selector contains a NullSelector object.
- **FIX**: Better exception messages in the CSS selector parser and fix a \ 
position reporting issue that can occur in
  some exceptions.
- **FIX**: Don't compare prefixes when evaluating attribute namespaces, compare \ 
the actual namespace.
- **FIX**: Split whitespace attribute lists by all whitespace characters, not \ 
just space.
- **FIX**: :nth-* patterns were converting numbers to base 16 when they should \ 
have been converting to base 10.
   2019-01-08 10:39:24 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.6.2

1.6.2
- FIX: Fix pattern compile issues on Python < 2.7.4.
- FIX: Don't use \d in Unicode Re patterns as they will contain characters \ 
outside the range of [0-9].