www/py-beautifulsoup: Update to 4.12.2

This commit is contained in:
Wen Heping 2023-04-22 17:35:05 +08:00
parent df8106b79d
commit f761610769
3 changed files with 111 additions and 14 deletions

View file

@ -1,5 +1,5 @@
PORTNAME= beautifulsoup
PORTVERSION= 4.12.0
PORTVERSION= 4.12.2
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,23 +12,23 @@ WWW= https://www.crummy.com/software/BeautifulSoup/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}soupsieve>=1.2:www/py-soupsieve@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}html5lib>=0:www/py-html5lib@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
USE_PYTHON= concurrent pep517 pytest
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
do-build:
@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m build --wheel --no-isolation --outdir ${WRKDIR}
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/build/sphinx/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
"! -name .buildinfo -and ! -name objects.inv")
do-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} -m installer ${WRKDIR}/*.whl --destdir ${STAGEDIR}
do-test:
@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest bs4
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1679955651
SHA256 (beautifulsoup4-4.12.0.tar.gz) = c5fceeaec29d09c84970e47c65f2f0efe57872f7cff494c9691a26ec0ff13234
SIZE (beautifulsoup4-4.12.0.tar.gz) = 523942
TIMESTAMP = 1682130916
SHA256 (beautifulsoup4-4.12.2.tar.gz) = 492bbc69dca35d12daac71c4db1bfff0c876c00ef4a2ffacce226d4638eb72da
SIZE (beautifulsoup4-4.12.2.tar.gz) = 505113

View file

@ -0,0 +1,97 @@
%%PYTHON_SITELIBDIR%%/beautifulsoup4-4.12.2.dist-info/METADATA
%%PYTHON_SITELIBDIR%%/beautifulsoup4-4.12.2.dist-info/RECORD
%%PYTHON_SITELIBDIR%%/beautifulsoup4-4.12.2.dist-info/WHEEL
%%PYTHON_SITELIBDIR%%/beautifulsoup4-4.12.2.dist-info/licenses/AUTHORS
%%PYTHON_SITELIBDIR%%/beautifulsoup4-4.12.2.dist-info/licenses/LICENSE
%%PYTHON_SITELIBDIR%%/bs4/__init__.py
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/css%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/css%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/dammit%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/dammit%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/diagnose%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/diagnose%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/element%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/element%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/formatter%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/__pycache__/formatter%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__init__.py
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_html5lib%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_html5lib%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_htmlparser%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_htmlparser%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_lxml%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/__pycache__/_lxml%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/builder/_html5lib.py
%%PYTHON_SITELIBDIR%%/bs4/builder/_htmlparser.py
%%PYTHON_SITELIBDIR%%/bs4/builder/_lxml.py
%%PYTHON_SITELIBDIR%%/bs4/css.py
%%PYTHON_SITELIBDIR%%/bs4/dammit.py
%%PYTHON_SITELIBDIR%%/bs4/diagnose.py
%%PYTHON_SITELIBDIR%%/bs4/element.py
%%PYTHON_SITELIBDIR%%/bs4/formatter.py
%%PYTHON_SITELIBDIR%%/bs4/tests/__init__.py
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/__init__%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_builder%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_builder%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_builder_registry%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_builder_registry%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_css%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_css%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_dammit%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_dammit%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_docs%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_docs%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_element%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_element%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_formatter%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_formatter%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_fuzz%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_fuzz%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_html5lib%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_html5lib%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_htmlparser%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_htmlparser%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_lxml%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_lxml%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_navigablestring%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_navigablestring%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_pageelement%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_pageelement%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_soup%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_soup%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_tag%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_tag%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_tree%%PYTHON_EXT_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/__pycache__/test_tree%%PYTHON_EXT_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4818336571064320.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-4999465949331456.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5167584867909632.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5703933063462912.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5843991618256896.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-5984173902397440.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6124268085182464.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6241471367348224.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6450958476902400.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/clusterfuzz-testcase-minimized-bs4_fuzzer-6600557255327744.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/fuzz/crash-0d306a50c8ed8bcd0785b67000fcd5dea1d33f08.testcase
%%PYTHON_SITELIBDIR%%/bs4/tests/test_builder.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_builder_registry.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_css.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_dammit.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_docs.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_element.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_formatter.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_fuzz.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_html5lib.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_htmlparser.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_lxml.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_navigablestring.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_pageelement.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_soup.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_tag.py
%%PYTHON_SITELIBDIR%%/bs4/tests/test_tree.py