From 63d22fa87ebe3a4b9c1ca417bcf2a24411db0acf7f86ca2c9705fe80d5465d7e Mon Sep 17 00:00:00 2001 From: Todd R Date: Mon, 22 Jul 2019 16:24:21 +0000 Subject: [PATCH] Accepting request 717647 from home:TheBlackCat:branches:devel:languages:python - Update to 4.8.0 * It's now possible to customize the TreeBuilder object by passing keyword arguments into the BeautifulSoup 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. '
' vs '
' All preexisting code should work as before. * Added a new method to the API, Tag.smooth(), which consolidates multiple adjacent NavigableString elements. * ' (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is now recognized as a named entity and converted to a single quote. OBS-URL: https://build.opensuse.org/request/show/717647 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-beautifulsoup4?expand=0&rev=68 --- beautifulsoup4-4.7.1.tar.gz | 3 --- beautifulsoup4-4.8.0.tar.gz | 3 +++ python-beautifulsoup4.changes | 23 +++++++++++++++++++++++ python-beautifulsoup4.spec | 2 +- 4 files changed, 27 insertions(+), 4 deletions(-) delete mode 100644 beautifulsoup4-4.7.1.tar.gz create mode 100644 beautifulsoup4-4.8.0.tar.gz diff --git a/beautifulsoup4-4.7.1.tar.gz b/beautifulsoup4-4.7.1.tar.gz deleted file mode 100644 index fb898d7..0000000 --- a/beautifulsoup4-4.7.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:945065979fb8529dd2f37dbb58f00b661bdbcbebf954f93b32fdf5263ef35348 -size 167065 diff --git a/beautifulsoup4-4.8.0.tar.gz b/beautifulsoup4-4.8.0.tar.gz new file mode 100644 index 0000000..657433e --- /dev/null +++ b/beautifulsoup4-4.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:25288c9e176f354bf277c0a10aa96c782a6a18a17122dba2e8cec4a97e03343b +size 170919 diff --git a/python-beautifulsoup4.changes b/python-beautifulsoup4.changes index 9e9700b..16445e8 100644 --- a/python-beautifulsoup4.changes +++ b/python-beautifulsoup4.changes @@ -1,3 +1,26 @@ +------------------------------------------------------------------- +Mon Jul 22 16:18:23 UTC 2019 - Todd R + +- Update to 4.8.0 + * It's now possible to customize the TreeBuilder object by passing + keyword arguments into the BeautifulSoup 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. '
' vs '
' + All preexisting code should work as before. + * Added a new method to the API, Tag.smooth(), which consolidates + multiple adjacent NavigableString elements. + * ' (which is valid in XML, XHTML, and HTML 5, but not HTML 4) is now + recognized as a named entity and converted to a single quote. + ------------------------------------------------------------------- Fri Mar 1 11:23:21 UTC 2019 - Tomáš Chvátal diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index 59dffd9..f0ae2b1 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-beautifulsoup4 -Version: 4.7.1 +Version: 4.8.0 Release: 0 Summary: HTML/XML Parser for Quick-Turnaround Applications Like Screen-Scraping License: MIT