Tue Oct 15 17:21:35 2019 UTC ()
py-beautifulsoup4: updated to 4.8.1

4.8.1:

* When the html.parser or html5lib parsers are in use, Beautiful Soup
  will, by default, record the position in the original document where
  each tag was encountered. This includes line number (Tag.sourceline)
  and position within a line (Tag.sourcepos).  Based on code by Chris
  Mayo.

* When instantiating a BeautifulSoup object, it's now possible to
   provide a dictionary ('element_classes') of the classes you'd like to be
   instantiated instead of Tag, NavigableString, etc.

* Fixed the definition of the default XML namespace when using
   lxml 4.4. Patch by Isaac Muse.

* Fixed a crash when pretty-printing tags that were not created
   during initial parsing.

* Copying a Tag preserves information that was originally obtained from
   the TreeBuilder used to build the original Tag.

* Raise an explanatory exception when the underlying parser
   completely rejects the incoming markup.

* Avoid a crash when trying to detect the declared encoding of a
   Unicode document.

* Avoid a crash when unpickling certain parse trees generated
   using html5lib on Python 3.


(adam)
diff -r1.15 -r1.16 pkgsrc/www/py-beautifulsoup4/Makefile
diff -r1.6 -r1.7 pkgsrc/www/py-beautifulsoup4/PLIST
diff -r1.11 -r1.12 pkgsrc/www/py-beautifulsoup4/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/www/py-beautifulsoup4/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-beautifulsoup4/Makefile 2019/07/21 08:05:31 1.15
+++ pkgsrc/www/py-beautifulsoup4/Makefile 2019/10/15 17:21:34 1.16
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.15 2019/07/21 08:05:31 adam Exp $ 1# $NetBSD: Makefile,v 1.16 2019/10/15 17:21:34 adam Exp $
2 2
3DISTNAME= beautifulsoup4-4.8.0 3DISTNAME= beautifulsoup4-4.8.1
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5CATEGORIES= www python 5CATEGORIES= www python
6MASTER_SITES= https://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/ 6MASTER_SITES= https://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/
7MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/} 7MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.crummy.com/software/BeautifulSoup/ 10HOMEPAGE= https://www.crummy.com/software/BeautifulSoup/
11COMMENT= HTML/XML Parser for Python, version 4 11COMMENT= HTML/XML Parser for Python, version 4
12LICENSE= mit 12LICENSE= mit
13 13
14DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml 14DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
15DEPENDS+= ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve 15DEPENDS+= ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve
16 16

cvs diff -r1.6 -r1.7 pkgsrc/www/py-beautifulsoup4/PLIST (expand / switch to unified diff)

--- pkgsrc/www/py-beautifulsoup4/PLIST 2019/07/21 08:05:31 1.6
+++ pkgsrc/www/py-beautifulsoup4/PLIST 2019/10/15 17:21:34 1.7
@@ -1,34 +1,37 @@ @@ -1,34 +1,37 @@
1@comment $NetBSD: PLIST,v 1.6 2019/07/21 08:05:31 adam Exp $ 1@comment $NetBSD: PLIST,v 1.7 2019/10/15 17:21:34 adam Exp $
2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO 2${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt 3${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt 4${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
5${PYSITELIB}/${EGG_INFODIR}/requires.txt 5${PYSITELIB}/${EGG_INFODIR}/requires.txt
6${PYSITELIB}/${EGG_INFODIR}/top_level.txt 6${PYSITELIB}/${EGG_INFODIR}/top_level.txt
7${PYSITELIB}/bs4/__init__.py 7${PYSITELIB}/bs4/__init__.py
8${PYSITELIB}/bs4/__init__.pyc 8${PYSITELIB}/bs4/__init__.pyc
9${PYSITELIB}/bs4/__init__.pyo 9${PYSITELIB}/bs4/__init__.pyo
10${PYSITELIB}/bs4/builder/__init__.py 10${PYSITELIB}/bs4/builder/__init__.py
11${PYSITELIB}/bs4/builder/__init__.pyc 11${PYSITELIB}/bs4/builder/__init__.pyc
12${PYSITELIB}/bs4/builder/__init__.pyo 12${PYSITELIB}/bs4/builder/__init__.pyo
13${PYSITELIB}/bs4/builder/_html5lib.py 13${PYSITELIB}/bs4/builder/_html5lib.py
14${PYSITELIB}/bs4/builder/_html5lib.pyc 14${PYSITELIB}/bs4/builder/_html5lib.pyc
15${PYSITELIB}/bs4/builder/_html5lib.pyo 15${PYSITELIB}/bs4/builder/_html5lib.pyo
16${PYSITELIB}/bs4/builder/_htmlparser.py 16${PYSITELIB}/bs4/builder/_htmlparser.py
17${PYSITELIB}/bs4/builder/_htmlparser.pyc 17${PYSITELIB}/bs4/builder/_htmlparser.pyc
18${PYSITELIB}/bs4/builder/_htmlparser.pyo 18${PYSITELIB}/bs4/builder/_htmlparser.pyo
19${PYSITELIB}/bs4/builder/_lxml.py 19${PYSITELIB}/bs4/builder/_lxml.py
20${PYSITELIB}/bs4/builder/_lxml.pyc 20${PYSITELIB}/bs4/builder/_lxml.pyc
21${PYSITELIB}/bs4/builder/_lxml.pyo 21${PYSITELIB}/bs4/builder/_lxml.pyo
 22${PYSITELIB}/bs4/check_block.py
 23${PYSITELIB}/bs4/check_block.pyc
 24${PYSITELIB}/bs4/check_block.pyo
22${PYSITELIB}/bs4/dammit.py 25${PYSITELIB}/bs4/dammit.py
23${PYSITELIB}/bs4/dammit.pyc 26${PYSITELIB}/bs4/dammit.pyc
24${PYSITELIB}/bs4/dammit.pyo 27${PYSITELIB}/bs4/dammit.pyo
25${PYSITELIB}/bs4/diagnose.py 28${PYSITELIB}/bs4/diagnose.py
26${PYSITELIB}/bs4/diagnose.pyc 29${PYSITELIB}/bs4/diagnose.pyc
27${PYSITELIB}/bs4/diagnose.pyo 30${PYSITELIB}/bs4/diagnose.pyo
28${PYSITELIB}/bs4/element.py 31${PYSITELIB}/bs4/element.py
29${PYSITELIB}/bs4/element.pyc 32${PYSITELIB}/bs4/element.pyc
30${PYSITELIB}/bs4/element.pyo 33${PYSITELIB}/bs4/element.pyo
31${PYSITELIB}/bs4/formatter.py 34${PYSITELIB}/bs4/formatter.py
32${PYSITELIB}/bs4/formatter.pyc 35${PYSITELIB}/bs4/formatter.pyc
33${PYSITELIB}/bs4/formatter.pyo 36${PYSITELIB}/bs4/formatter.pyo
34${PYSITELIB}/bs4/testing.py 37${PYSITELIB}/bs4/testing.py

cvs diff -r1.11 -r1.12 pkgsrc/www/py-beautifulsoup4/distinfo (expand / switch to unified diff)

--- pkgsrc/www/py-beautifulsoup4/distinfo 2019/07/21 08:05:31 1.11
+++ pkgsrc/www/py-beautifulsoup4/distinfo 2019/10/15 17:21:34 1.12
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.11 2019/07/21 08:05:31 adam Exp $ 1$NetBSD: distinfo,v 1.12 2019/10/15 17:21:34 adam Exp $
2 2
3SHA1 (beautifulsoup4-4.8.0.tar.gz) = 7cc2ae69183aca6102c88026ef46b339a7059ddb 3SHA1 (beautifulsoup4-4.8.1.tar.gz) = afec76610be96ce8141bf56885bea55ff458d457
4RMD160 (beautifulsoup4-4.8.0.tar.gz) = cf28bfc3fa3196e6b548a34347fce6a41dd41e23 4RMD160 (beautifulsoup4-4.8.1.tar.gz) = 8d8d811507d63ee72f55240cad1c86a0f2209d30
5SHA512 (beautifulsoup4-4.8.0.tar.gz) = 00e157f8031dbb0e30e49158ca30f9e9207647dd3355edf23c2906b9d0c8b93250669edf5b20372e62546501a0cd2d7e87b793faf30bc122b5544f9358c1a4db 5SHA512 (beautifulsoup4-4.8.1.tar.gz) = 7abc5e84cb8da5428dafc6b473418d0cc72b518cb1a73d4ae58b8dad3ec985e5778629dc1d7c8374dfb223be981983c745a1dbb55a98078b4cfe7ba5ce25539b
6Size (beautifulsoup4-4.8.0.tar.gz) = 170919 bytes 6Size (beautifulsoup4-4.8.1.tar.gz) = 159164 bytes