py-beautifulsoup4: updated to 4.7.0

4.7.0:

* Beautiful Soup's CSS Selector implementation has been replaced by a
  dependency on Isaac Muse's SoupSieve project (the soupsieve package
  on PyPI). The good news is that SoupSieve has a much more robust and
  complete implementation of CSS selectors, resolving a large number
  of longstanding issues. The bad news is that from this point onward,
  SoupSieve must be installed if you want to use the select() method.

  You don't have to change anything lf you installed Beautiful Soup
  through pip (SoupSieve will be automatically installed when you
  upgrade Beautiful Soup) or if you don't use CSS selectors from
  within Beautiful Soup.

  SoupSieve documentation: https://facelessuser.github.io/soupsieve/

* Fix a number of problems with the tree builder that caused
  trees that were superficially okay, but which fell apart when bits
  were extracted.

* Fixed a problem with the tree builder in which elements that
  contained no content (such as empty comments and all-whitespace
  elements) were not being treated as part of the tree.

* Fixed a problem with multi-valued attributes where the value
  contained whitespace.

* Clarified ambiguous license statements in the source code. Beautiful
  Soup is released under the MIT license, and has been since 4.4.0.

* This file has been renamed from NEWS.txt to CHANGELOG.
This commit is contained in:
adam 2019-01-02 10:36:08 +00:00
parent ba1859d853
commit 80edde1bdb
2 changed files with 10 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.12 2018/08/14 07:26:20 adam Exp $
# $NetBSD: Makefile,v 1.13 2019/01/02 10:36:08 adam Exp $
DISTNAME= beautifulsoup4-4.6.3
DISTNAME= beautifulsoup4-4.7.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www python
MASTER_SITES= https://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/
@ -12,6 +12,9 @@ COMMENT= HTML/XML Parser for Python, version 4
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
DEPENDS+= ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve
USE_LANGUAGES= # none
do-test:
cd ${WRKSRC} && ${PYTHONBIN} -m unittest discover -s bs4

View file

@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.8 2018/08/14 07:26:20 adam Exp $
$NetBSD: distinfo,v 1.9 2019/01/02 10:36:08 adam Exp $
SHA1 (beautifulsoup4-4.6.3.tar.gz) = c1524e05640204bd1eca7b56ec12e7dd7b2d0b8e
RMD160 (beautifulsoup4-4.6.3.tar.gz) = fc039d0cd41ef5612cdd57fcdfff4b1758a85a1a
SHA512 (beautifulsoup4-4.6.3.tar.gz) = 0cacae77843326ebee87d108b6706a7ca6943684bcccc62554d2ae5d77dfd181c97435ceca9d3e2e51962b024bbe52bc08d7f0dc516311aa87b3a1f87fb4ae23
Size (beautifulsoup4-4.6.3.tar.gz) = 167469 bytes
SHA1 (beautifulsoup4-4.7.0.tar.gz) = e2c961305af068e2aeda84c4b8e95423f1f181e5
RMD160 (beautifulsoup4-4.7.0.tar.gz) = 8d3b31a411e28bcb231ea3c8b884f9f26e18d122
SHA512 (beautifulsoup4-4.7.0.tar.gz) = 7bd431aa9ddcb972f13d39c46c16c87891cb9df9f8d90dcb1c818512f721f1d467d111b2fb2f0b96fb09b6ef8356c0d196a260a52f86fa0c904f145bca6782e3
Size (beautifulsoup4-4.7.0.tar.gz) = 150086 bytes