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

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


Branch: CURRENT, Version: 1.9.5, Package name: py37-soupsieve-1.9.5, 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: f66b287793498e32d99217da87d99bd3116b801b
RMD160: 09f157b1fc94045683b55fd52679b3cd3c078548
Filesize: 96.679 KB

Version history: (Expand)


CVS history: (Expand)


   2019-11-13 21:42:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.5

1.9.5
- **FIX**: `:placeholder-shown` should not match if the element has content that \ 
overrides the placeholder.
   2019-10-07 20:27:09 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.4

1.9.4
- **FIX**: :checked rule was too strict with option elements. The specification \ 
for :checked does not require an
  option element to be under a select element.
- **FIX**: Fix level 4 :lang() wildcard match handling with singletons. Implicit \ 
wildcard matching should not
  match any singleton. Explicit wildcard matching (* in the language range: \ 
*-US) is allowed to match singletons.
   2019-08-21 14:48:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-soupsieve: updated to 1.9.3

1.9.3
- **FIX**: [attr!=value] pattern was mistakenly using :not([attr|=value]) logic \ 
instead of :not([attr=value]).
- **FIX**: Remove undocumented _QUIRKS mode flag. Beautiful Soup was meant to \ 
use it to help with transition to Soup
Sieve, but never released with it. Help with transition at this point is no \ 
longer needed.
   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.