pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/py-beautifulsoup4 py-beautifulsoup4: updated to 4.6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f98cc501723e
branches:  trunk
changeset: 383521:f98cc501723e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 02 15:31:03 2018 +0000

description:
py-beautifulsoup4: updated to 4.6.1

4.6.1:

* Stop data loss when encountering an empty numeric entity, and
  possibly in other cases.

* Preserve XML namespaces introduced inside an XML document, not just
   the ones introduced at the top level.

* Added a new formatter, "html5", which represents void elements
   as "<element>" rather than "<element/>".

* Fixed a problem where the html.parser tree builder interpreted
  a string like "&foo " as the character entity "&foo;"

* Correctly handle invalid HTML numeric character entities
  which reference code points that are not Unicode code points. Note
  that this is only fixed when Beautiful Soup is used with the
  html.parser parser -- html5lib already worked and I couldn't fix it
  with lxml.

* Improved the warning given when no parser is specified.

* When markup contains duplicate elements, a select() call that
  includes multiple match clauses will match all relevant
  elements.

* Fixed code that was causing deprecation warnings in recent Python 3
  versions.

* Fixed a Windows crash in diagnose() when checking whether a long
  markup string is a filename.

* Stopped HTMLParser from raising an exception in very rare cases of
  bad markup.

* Fixed a bug where find_all() was not working when asked to find a
  tag with a namespaced name in an XML document that was parsed as
  HTML.

* You can get finer control over formatting by subclassing
  bs4.element.Formatter and passing a Formatter instance into (e.g.)
  encode().

* You can pass a dictionary of `attrs` into
  BeautifulSoup.new_tag. This makes it possible to create a tag with
  an attribute like 'name' that would otherwise be masked by another
  argument of new_tag.

* Clarified the deprecation warning when accessing tag.fooTag, to cover
  the possibility that you might really have been looking for a tag
  called 'fooTag'.

diffstat:

 www/py-beautifulsoup4/Makefile |   4 ++--
 www/py-beautifulsoup4/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r ae0ac53e2d7c -r f98cc501723e www/py-beautifulsoup4/Makefile
--- a/www/py-beautifulsoup4/Makefile    Thu Aug 02 15:26:03 2018 +0000
+++ b/www/py-beautifulsoup4/Makefile    Thu Aug 02 15:31:03 2018 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2017/09/03 08:53:17 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2018/08/02 15:31:03 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.6.0
+DISTNAME=      beautifulsoup4-4.6.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/
diff -r ae0ac53e2d7c -r f98cc501723e www/py-beautifulsoup4/distinfo
--- a/www/py-beautifulsoup4/distinfo    Thu Aug 02 15:26:03 2018 +0000
+++ b/www/py-beautifulsoup4/distinfo    Thu Aug 02 15:31:03 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2017/05/09 20:05:17 adam Exp $
+$NetBSD: distinfo,v 1.7 2018/08/02 15:31:03 adam Exp $
 
-SHA1 (beautifulsoup4-4.6.0.tar.gz) = b9ad167d69b12d342b3ff713b2b6461c3f20e441
-RMD160 (beautifulsoup4-4.6.0.tar.gz) = 6452de577ef676636fb0be79eba9224cafd5622d
-SHA512 (beautifulsoup4-4.6.0.tar.gz) = 1a7eee4218e58cc3852e71fe4f0892f673bb46a851941264766a38eff8ef05d612d88b4641fcb478ce8f66ac50dc987ca039923c4bbb11867c74813289f7e578
-Size (beautifulsoup4-4.6.0.tar.gz) = 160846 bytes
+SHA1 (beautifulsoup4-4.6.1.tar.gz) = 6d93b0a801e97808fedf4aae8290e23c972fd44d
+RMD160 (beautifulsoup4-4.6.1.tar.gz) = 18a612ed6bb14b80206bb8a92e5dcfdf04727b07
+SHA512 (beautifulsoup4-4.6.1.tar.gz) = 598f6be620d6c656bdab6d0d6e767a1ffc695a790dc5e3e8cc0f411555de1c52ef1972c93d0916135375c74e5272dd112f00e5ed2fb12a12c90d5d30d852e91c
+Size (beautifulsoup4-4.6.1.tar.gz) = 165733 bytes



Home | Main Index | Thread Index | Old Index