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:           Mon Apr 17 06:38:13 UTC 2023

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

Log Message:
py-beautifulsoup4: updated to 4.12.2

= 4.12.2 (20230407)

* Fixed an unhandled exception in BeautifulSoup.decode_contents
  and methods that call it. [bug=2015545]

= 4.12.1 (20230405)

NOTE: the following things are likely to be dropped in the next
feature release of Beautiful Soup:

 Official support for Python 3.6.
 Inclusion of unit tests and test data in the wheel file.
 Two scripts: demonstrate_parser_differences.py and test-all-versions.

Changes:

* This version of Beautiful Soup replaces setup.py and setup.cfg
  with pyproject.toml. Beautiful Soup now uses tox as its test backend
  and hatch to do builds.

* The main functional improvement in this version is a nonrecursive technique
  for regenerating a tree. This technique is used to avoid situations where,
  in previous versions, doing something to a very deeply nested tree
  would overflow the Python interpreter stack:

  1. Outputting a tree as a string, e.g. with
     BeautifulSoup.encode() [bug=1471755]

  2. Making copies of trees (copy.copy() and
     copy.deepcopy() from the Python standard library). [bug=1709837]

  3. Pickling a BeautifulSoup object. (Note that pickling a Tag
     object can still cause an overflow.)

* Making a copy of a BeautifulSoup object no longer parses the
  document again, which should improve performance significantly.

* When a BeautifulSoup object is unpickled, Beautiful Soup now
  tries to associate an appropriate TreeBuilder object with it.

* Tag.prettify() will now consistently end prettified markup with
  a newline.

* Added unit tests for fuzz test cases created by third
  parties. Some of these tests are skipped since they point
  to problems outside of Beautiful Soup, but this change
  puts them all in one convenient place.

* PageElement now implements the known_xml attribute. (This was technically
  a bug, but it shouldn't be an issue in normal use.) [bug=2007895]

* The demonstrate_parser_differences.py script was still written in
  Python 2. I've converted it to Python 3, but since no one has
  mentioned this over the years, it's a sign that no one uses this
  script and it's not serving its purpose.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/py-beautifulsoup4/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/www/py-beautifulsoup4/PLIST
cvs rdiff -u -r1.23 -r1.24 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.27 pkgsrc/www/py-beautifulsoup4/Makefile:1.28
--- pkgsrc/www/py-beautifulsoup4/Makefile:1.27  Sun Apr  2 12:41:02 2023
+++ pkgsrc/www/py-beautifulsoup4/Makefile       Mon Apr 17 06:38:13 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2023/04/02 12:41:02 adam Exp $
+# $NetBSD: Makefile,v 1.28 2023/04/17 06:38:13 adam Exp $
 
-DISTNAME=      beautifulsoup4-4.12.0
+DISTNAME=      beautifulsoup4-4.12.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES+= ${MASTER_SITE_PYPI:=b/beautifulsoup4/}
@@ -10,6 +10,7 @@ HOMEPAGE=     https://www.crummy.com/softwar
 COMMENT=       HTML/XML Parser for Python, version 4
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
 DEPENDS+=      ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
 DEPENDS+=      ${PYPKGPREFIX}-soupsieve>=1.2:../../www/py-soupsieve
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
@@ -21,5 +22,5 @@ PYTHON_VERSIONS_INCOMPATIBLE= 27
 do-test:
        cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} bs4
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-beautifulsoup4/PLIST
diff -u pkgsrc/www/py-beautifulsoup4/PLIST:1.10 pkgsrc/www/py-beautifulsoup4/PLIST:1.11
--- pkgsrc/www/py-beautifulsoup4/PLIST:1.10     Sun Apr  2 12:41:02 2023
+++ pkgsrc/www/py-beautifulsoup4/PLIST  Mon Apr 17 06:38:13 2023
@@ -1,84 +1,74 @@
-@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
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.11 2023/04/17 06:38:13 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/bs4/__init__.py
 ${PYSITELIB}/bs4/__init__.pyc
-${PYSITELIB}/bs4/__init__.pyo
 ${PYSITELIB}/bs4/builder/__init__.py
 ${PYSITELIB}/bs4/builder/__init__.pyc
-${PYSITELIB}/bs4/builder/__init__.pyo
 ${PYSITELIB}/bs4/builder/_html5lib.py
 ${PYSITELIB}/bs4/builder/_html5lib.pyc
-${PYSITELIB}/bs4/builder/_html5lib.pyo
 ${PYSITELIB}/bs4/builder/_htmlparser.py
 ${PYSITELIB}/bs4/builder/_htmlparser.pyc
-${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
 ${PYSITELIB}/bs4/diagnose.py
 ${PYSITELIB}/bs4/diagnose.pyc
-${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/tests/__init__.py
 ${PYSITELIB}/bs4/tests/__init__.pyc
-${PYSITELIB}/bs4/tests/__init__.pyo
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase
+${PYSITELIB}/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase
+${PYSITELIB}/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase
 ${PYSITELIB}/bs4/tests/test_builder.py
 ${PYSITELIB}/bs4/tests/test_builder.pyc
-${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
 ${PYSITELIB}/bs4/tests/test_docs.py
 ${PYSITELIB}/bs4/tests/test_docs.pyc
-${PYSITELIB}/bs4/tests/test_docs.pyo
 ${PYSITELIB}/bs4/tests/test_element.py
 ${PYSITELIB}/bs4/tests/test_element.pyc
-${PYSITELIB}/bs4/tests/test_element.pyo
 ${PYSITELIB}/bs4/tests/test_formatter.py
 ${PYSITELIB}/bs4/tests/test_formatter.pyc
-${PYSITELIB}/bs4/tests/test_formatter.pyo
+${PYSITELIB}/bs4/tests/test_fuzz.py
+${PYSITELIB}/bs4/tests/test_fuzz.pyc
 ${PYSITELIB}/bs4/tests/test_html5lib.py
 ${PYSITELIB}/bs4/tests/test_html5lib.pyc
-${PYSITELIB}/bs4/tests/test_html5lib.pyo
 ${PYSITELIB}/bs4/tests/test_htmlparser.py
 ${PYSITELIB}/bs4/tests/test_htmlparser.pyc
-${PYSITELIB}/bs4/tests/test_htmlparser.pyo
 ${PYSITELIB}/bs4/tests/test_lxml.py
 ${PYSITELIB}/bs4/tests/test_lxml.pyc
-${PYSITELIB}/bs4/tests/test_lxml.pyo
 ${PYSITELIB}/bs4/tests/test_navigablestring.py
 ${PYSITELIB}/bs4/tests/test_navigablestring.pyc
-${PYSITELIB}/bs4/tests/test_navigablestring.pyo
 ${PYSITELIB}/bs4/tests/test_pageelement.py
 ${PYSITELIB}/bs4/tests/test_pageelement.pyc
-${PYSITELIB}/bs4/tests/test_pageelement.pyo
 ${PYSITELIB}/bs4/tests/test_soup.py
 ${PYSITELIB}/bs4/tests/test_soup.pyc
-${PYSITELIB}/bs4/tests/test_soup.pyo
 ${PYSITELIB}/bs4/tests/test_tag.py
 ${PYSITELIB}/bs4/tests/test_tag.pyc
-${PYSITELIB}/bs4/tests/test_tag.pyo
 ${PYSITELIB}/bs4/tests/test_tree.py
 ${PYSITELIB}/bs4/tests/test_tree.pyc
-${PYSITELIB}/bs4/tests/test_tree.pyo

Index: pkgsrc/www/py-beautifulsoup4/distinfo
diff -u pkgsrc/www/py-beautifulsoup4/distinfo:1.23 pkgsrc/www/py-beautifulsoup4/distinfo:1.24
--- pkgsrc/www/py-beautifulsoup4/distinfo:1.23  Sun Apr  2 12:41:02 2023
+++ pkgsrc/www/py-beautifulsoup4/distinfo       Mon Apr 17 06:38:13 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.23 2023/04/02 12:41:02 adam Exp $
+$NetBSD: distinfo,v 1.24 2023/04/17 06:38:13 adam Exp $
 
-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
+BLAKE2s (beautifulsoup4-4.12.2.tar.gz) = 5130ca9c9ad31fb39dd315d23283ed89bd9912de94bbf555ebc5252301b8c713
+SHA512 (beautifulsoup4-4.12.2.tar.gz) = 1dbb620f675bb319ef050ece0f343e80359bdc59cd8b8de19b1851aa5bca1081a7e953e3221ad97142198c17f67384c05b0406af24a123d71398f209fb89db97
+Size (beautifulsoup4-4.12.2.tar.gz) = 505113 bytes



Home | Main Index | Thread Index | Old Index