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 Apr  2 12:41:02 UTC 2023

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

Log Message:
py-beautifulsoup4: updated to 4.12.0

4.12.0 (20230320)

* Introduced the .css property, which centralizes all access to
  the Soup Sieve API. This allows Beautiful Soup to give direct
  access to as much of Soup Sieve that makes sense, without cluttering
  the BeautifulSoup and Tag classes with a lot of new methods.

  This does mean one addition to the BeautifulSoup and Tag classes
  (the .css property itself), so this might be a breaking change if you
  happen to use Beautiful Soup to parse XML that includes a tag called
  <css>. In particular, code like this will stop working in 4.12.0:

    soup.css['id']

  Code like this will work just as before:

    soup.find_one('css')['id']

  The Soup Sieve methods supported through the .css property are
  select(), select_one(), iselect(), closest(), match(), filter(),
  escape(), and compile(). The BeautifulSoup and Tag classes still
  support the select() and select_one() methods; they have not been
  deprecated, but they have been demoted to convenience methods.

  [bug=2003677]

* When the html.parser parser decides it can't parse a document, Beautiful
  Soup now consistently propagates this fact by raising a
  ParserRejectedMarkup error. [bug=2007343]

* Removed some error checking code from diagnose(), which is redundant with
  similar (but more Pythonic) code in the BeautifulSoup constructor.
  [bug=2007344]

* Added intersphinx references to the documentation so that other
  projects have a target to point to when they reference Beautiful
  Soup classes. [bug=1453370]

= 4.11.2 (20230131)

* Fixed test failures caused by nondeterministic behavior of
  UnicodeDammit's character detection, depending on the platform setup.
  [bug=1973072]

* Fixed another crash when overriding multi_valued_attributes and using the
  html5lib parser. [bug=1948488]

* The HTMLFormatter and XMLFormatter constructors no longer return a
  value. [bug=1992693]

* Tag.interesting_string_types is now propagated when a tag is
  copied. [bug=1990400]

* Warnings now do their best to provide an appropriate stacklevel,
  improving the usefulness of the message. [bug=1978744]

* Passing a Tag's .contents into PageElement.extend() now works the
  same way as passing the Tag itself.

* Soup Sieve tests will be skipped if the library is not installed.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/www/py-beautifulsoup4/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/www/py-beautifulsoup4/PLIST
cvs rdiff -u -r1.22 -r1.23 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.26 pkgsrc/www/py-beautifulsoup4/Makefile:1.27
--- pkgsrc/www/py-beautifulsoup4/Makefile:1.26  Wed Feb  1 08:42:54 2023
+++ pkgsrc/www/py-beautifulsoup4/Makefile       Sun Apr  2 12:41:02 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.26 2023/02/01 08:42:54 adam Exp $
+# $NetBSD: Makefile,v 1.27 2023/04/02 12:41:02 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.11.2
+DISTNAME=      beautifulsoup4-4.12.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}

Index: pkgsrc/www/py-beautifulsoup4/PLIST
diff -u pkgsrc/www/py-beautifulsoup4/PLIST:1.9 pkgsrc/www/py-beautifulsoup4/PLIST:1.10
--- pkgsrc/www/py-beautifulsoup4/PLIST:1.9      Wed Nov 30 17:00:38 2022
+++ pkgsrc/www/py-beautifulsoup4/PLIST  Sun Apr  2 12:41:02 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.9 2022/11/30 17:00:38 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2023/04/02 12:41:02 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -19,6 +19,9 @@ ${PYSITELIB}/bs4/builder/_htmlparser.pyo
 ${PYSITELIB}/bs4/builder/_lxml.py
 ${PYSITELIB}/bs4/builder/_lxml.pyc
 ${PYSITELIB}/bs4/builder/_lxml.pyo
+${PYSITELIB}/bs4/css.py
+${PYSITELIB}/bs4/css.pyc
+${PYSITELIB}/bs4/css.pyo
 ${PYSITELIB}/bs4/dammit.py
 ${PYSITELIB}/bs4/dammit.pyc
 ${PYSITELIB}/bs4/dammit.pyo
@@ -40,6 +43,9 @@ ${PYSITELIB}/bs4/tests/test_builder.pyo
 ${PYSITELIB}/bs4/tests/test_builder_registry.py
 ${PYSITELIB}/bs4/tests/test_builder_registry.pyc
 ${PYSITELIB}/bs4/tests/test_builder_registry.pyo
+${PYSITELIB}/bs4/tests/test_css.py
+${PYSITELIB}/bs4/tests/test_css.pyc
+${PYSITELIB}/bs4/tests/test_css.pyo
 ${PYSITELIB}/bs4/tests/test_dammit.py
 ${PYSITELIB}/bs4/tests/test_dammit.pyc
 ${PYSITELIB}/bs4/tests/test_dammit.pyo

Index: pkgsrc/www/py-beautifulsoup4/distinfo
diff -u pkgsrc/www/py-beautifulsoup4/distinfo:1.22 pkgsrc/www/py-beautifulsoup4/distinfo:1.23
--- pkgsrc/www/py-beautifulsoup4/distinfo:1.22  Wed Feb  1 08:42:54 2023
+++ pkgsrc/www/py-beautifulsoup4/distinfo       Sun Apr  2 12:41:02 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.22 2023/02/01 08:42:54 adam Exp $
+$NetBSD: distinfo,v 1.23 2023/04/02 12:41:02 adam Exp $
 
-BLAKE2s (beautifulsoup4-4.11.2.tar.gz) = 8bb7fa26930c5cc347fb98753df5771c8cc292a973d174b92a5a874a3eacefcc
-SHA512 (beautifulsoup4-4.11.2.tar.gz) = 68f5328f881946e80ed1af36b26da184f0af58aaf124f5f623f89c40130e1578f6dbe874b11c802e52c0ec02cfbf6b681e10eb235279631f479d14c2243e7dd3
-Size (beautifulsoup4-4.11.2.tar.gz) = 517627 bytes
+BLAKE2s (beautifulsoup4-4.12.0.tar.gz) = a2ff08c13cace3e2760ae0d55eb43c8f60fc7d9aabf925a19672f8c2c71aadc9
+SHA512 (beautifulsoup4-4.12.0.tar.gz) = 8f4dcaccdcd220f9641c7080d685c1eaa9c851daa579c187fda75a1d85dcf2fe4cc673c2d4b2143682003390ef1d954366ea0d2820e07f8c10418350d31bccd3
+Size (beautifulsoup4-4.12.0.tar.gz) = 523942 bytes



Home | Main Index | Thread Index | Old Index