Subject: CVS commit: pkgsrc/www/py-beautifulsoup4
From: Adam Ciarcinski
Date: 2019-07-21 10:05:32
Message id: 20190721080532.2DDE2FBF4@cvs.NetBSD.org

Log Message:
py-beautifulsoup4: updated to 4.8.0

4.8.0:

This release focuses on making it easier to customize Beautiful Soup's
input mechanism (the TreeBuilder) and output mechanism (the Formatter).

* You can customize the TreeBuilder object by passing keyword
  arguments into the BeautifulSoup constructor. Those keyword
  arguments will be passed along into the TreeBuilder constructor.

  The main reason to do this right now is to change how which
  attributes are treated as multi-valued attributes (the way 'class'
  is treated by default). You can do this with the
  'multi_valued_attributes' argument.

* The role of Formatter objects has been greatly expanded. The Formatter
  class now controls the following:

  - The function to call to perform entity substitution. (This was
    previously Formatter's only job.)
  - Which tags should be treated as containing CDATA and have their
    contents exempt from entity substitution.
  - The order in which a tag's attributes are output.
  - Whether or not to put a '/' inside a void element, e.g. '<br/>' vs \ 
'<br>'

  All preexisting code should work as before.

* Added a new method to the API, Tag.smooth(), which consolidates
  multiple adjacent NavigableString elements.

* &apos; (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is always
  recognized as a named entity and converted to a single quote.

Files:
RevisionActionfile
1.15modifypkgsrc/www/py-beautifulsoup4/Makefile
1.6modifypkgsrc/www/py-beautifulsoup4/PLIST
1.11modifypkgsrc/www/py-beautifulsoup4/distinfo