pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-beautifulsoup4



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 21 08:05:32 UTC 2019

Modified Files:
        pkgsrc/www/py-beautifulsoup4: Makefile PLIST distinfo

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.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 pkgsrc/www/py-beautifulsoup4/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/www/py-beautifulsoup4/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-beautifulsoup4/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-beautifulsoup4/Makefile
diff -u pkgsrc/www/py-beautifulsoup4/Makefile:1.14 pkgsrc/www/py-beautifulsoup4/Makefile:1.15
--- pkgsrc/www/py-beautifulsoup4/Makefile:1.14  Tue Jan  8 09:30:44 2019
+++ pkgsrc/www/py-beautifulsoup4/Makefile       Sun Jul 21 08:05:31 2019
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.14 2019/01/08 09:30:44 adam Exp $
+# $NetBSD: Makefile,v 1.15 2019/07/21 08:05:31 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.7.1
+DISTNAME=      beautifulsoup4-4.8.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  https://www.crummy.com/software/BeautifulSoup/bs4/download/${PKGVERSION_NOREV:R}/

Index: pkgsrc/www/py-beautifulsoup4/PLIST
diff -u pkgsrc/www/py-beautifulsoup4/PLIST:1.5 pkgsrc/www/py-beautifulsoup4/PLIST:1.6
--- pkgsrc/www/py-beautifulsoup4/PLIST:1.5      Tue May  9 20:05:17 2017
+++ pkgsrc/www/py-beautifulsoup4/PLIST  Sun Jul 21 08:05:31 2019
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.5 2017/05/09 20:05:17 adam Exp $
+@comment $NetBSD: PLIST,v 1.6 2019/07/21 08:05:31 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -28,6 +28,9 @@ ${PYSITELIB}/bs4/diagnose.pyo
 ${PYSITELIB}/bs4/element.py
 ${PYSITELIB}/bs4/element.pyc
 ${PYSITELIB}/bs4/element.pyo
+${PYSITELIB}/bs4/formatter.py
+${PYSITELIB}/bs4/formatter.pyc
+${PYSITELIB}/bs4/formatter.pyo
 ${PYSITELIB}/bs4/testing.py
 ${PYSITELIB}/bs4/testing.pyc
 ${PYSITELIB}/bs4/testing.pyo

Index: pkgsrc/www/py-beautifulsoup4/distinfo
diff -u pkgsrc/www/py-beautifulsoup4/distinfo:1.10 pkgsrc/www/py-beautifulsoup4/distinfo:1.11
--- pkgsrc/www/py-beautifulsoup4/distinfo:1.10  Tue Jan  8 09:30:44 2019
+++ pkgsrc/www/py-beautifulsoup4/distinfo       Sun Jul 21 08:05:31 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.10 2019/01/08 09:30:44 adam Exp $
+$NetBSD: distinfo,v 1.11 2019/07/21 08:05:31 adam Exp $
 
-SHA1 (beautifulsoup4-4.7.1.tar.gz) = 1000ef6113d020d5140d556862107c3d502dd5ed
-RMD160 (beautifulsoup4-4.7.1.tar.gz) = 177353bdcd7b87aa7a922c807271df81f0bcddb4
-SHA512 (beautifulsoup4-4.7.1.tar.gz) = 7aa77bc6008bbcbbbe91b0a850007ab237d2832b63a787fbd94b7cbf47d4276b185e0c61c134df73221406458edff2b75b6b8c2b53b543aa3bb1b0e2202dac5a
-Size (beautifulsoup4-4.7.1.tar.gz) = 167065 bytes
+SHA1 (beautifulsoup4-4.8.0.tar.gz) = 7cc2ae69183aca6102c88026ef46b339a7059ddb
+RMD160 (beautifulsoup4-4.8.0.tar.gz) = cf28bfc3fa3196e6b548a34347fce6a41dd41e23
+SHA512 (beautifulsoup4-4.8.0.tar.gz) = 00e157f8031dbb0e30e49158ca30f9e9207647dd3355edf23c2906b9d0c8b93250669edf5b20372e62546501a0cd2d7e87b793faf30bc122b5544f9358c1a4db
+Size (beautifulsoup4-4.8.0.tar.gz) = 170919 bytes



Home | Main Index | Thread Index | Old Index