summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-08-02 15:31:03 +0000
committeradam <adam@pkgsrc.org>2018-08-02 15:31:03 +0000
commit9bd49680a776c1ea9e61d5692f8b73b3e71bc74f (patch)
tree39fee375f335d116c31e79a6fd13e9d7ce7b1433 /www
parent48de61f3bc897f1080f2e992c607461c1a089050 (diff)
downloadpkgsrc-9bd49680a776c1ea9e61d5692f8b73b3e71bc74f.tar.gz
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 (limited to 'www')
-rw-r--r--www/py-beautifulsoup4/Makefile4
-rw-r--r--www/py-beautifulsoup4/distinfo10
2 files changed, 7 insertions, 7 deletions
diff --git a/www/py-beautifulsoup4/Makefile b/www/py-beautifulsoup4/Makefile
index 548e3284e68..a037e609d5b 100644
--- a/www/py-beautifulsoup4/Makefile
+++ b/www/py-beautifulsoup4/Makefile
@@ -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 --git a/www/py-beautifulsoup4/distinfo b/www/py-beautifulsoup4/distinfo
index a648b23fedd..2e9434e5e92 100644
--- a/www/py-beautifulsoup4/distinfo
+++ b/www/py-beautifulsoup4/distinfo
@@ -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