diff --git a/devel/py-commoncode/Makefile b/devel/py-commoncode/Makefile index 52ea50163887..1e0e675935f0 100644 --- a/devel/py-commoncode/Makefile +++ b/devel/py-commoncode/Makefile @@ -1,38 +1,38 @@ PORTNAME= commoncode -DISTVERSION= 32.2.1 +DISTVERSION= 32.4.2 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= tuukka.pasanen@ilmi.fi COMMENT= Set of common utilities, originally split from ScanCode WWW= https://github.com/aboutcode-org/commoncode LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/apache-2.0.LICENSE BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>=25.0:devel/py-attrs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.13.0:www/py-beautifulsoup@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}click>=2.8:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}click>=8.1.7:devel/py-click@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>2.7.0:www/py-requests@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}saneyaml>0.5.2:devel/py-saneyaml@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}text-unidecode>1.0:converters/py-text-unidecode@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}text-unidecode>=1.0:converters/py-text-unidecode@${PY_FLAVOR} USES= python USE_PYTHON= autoplist concurrent pep517 pytest PYTEST_BROKEN_TESTS= test_parse_os_release test_is_readable_is_writeable_dir \ test_is_readable_is_writeable_file \ test_chmod_read_write_file \ test_chmod_read_write_non_recursively_on_dir \ test_chmod_read_write_recursively_on_dir \ test_copyfile_does_not_keep_permissions \ test_copytree_copies_unreadable_files \ test_copytree_does_not_keep_non_writable_permissions \ test_resource_iter_can_walk_unicode_path_with_zip NO_ARCH= yes .include diff --git a/devel/py-commoncode/distinfo b/devel/py-commoncode/distinfo index 210558a10e66..3cdb8752677b 100644 --- a/devel/py-commoncode/distinfo +++ b/devel/py-commoncode/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746508932 -SHA256 (commoncode-32.2.1.tar.gz) = 4c5c37b39a77adecd67f7d53073c02d1d96283d31fd2bc2d67e22f320a381881 -SIZE (commoncode-32.2.1.tar.gz) = 1742208 +TIMESTAMP = 1770637964 +SHA256 (commoncode-32.4.2.tar.gz) = 8f78ca62085b4a0c3c4dfc2820d61fd1cd24bc64b4a76dc7d6a4db46766eda3c +SIZE (commoncode-32.4.2.tar.gz) = 1742998 diff --git a/devel/py-commoncode/files/patch-PKG-INFO b/devel/py-commoncode/files/patch-PKG-INFO new file mode 100644 index 000000000000..f199e564a28f --- /dev/null +++ b/devel/py-commoncode/files/patch-PKG-INFO @@ -0,0 +1,11 @@ +--- PKG-INFO.orig 2026-03-03 10:49:15.576988000 +0200 ++++ PKG-INFO 2026-03-03 10:50:11.562701000 +0200 +@@ -25,7 +25,7 @@ + Requires-Dist: attrs!=20.1.0,>=18.1; python_version < "3.11" + Requires-Dist: attrs>=22.1.0; python_version >= "3.11" + Requires-Dist: Beautifulsoup4[chardet]>=4.13.0 +-Requires-Dist: click>=8.3.0 ++Requires-Dist: click>=8.1.7 + Requires-Dist: requests[use_chardet_on_py3]>=2.7.0 + Requires-Dist: saneyaml>=0.5.2 + Requires-Dist: text_unidecode>=1.0 diff --git a/devel/py-commoncode/files/patch-requirements.txt b/devel/py-commoncode/files/patch-requirements.txt new file mode 100644 index 000000000000..304d712b919a --- /dev/null +++ b/devel/py-commoncode/files/patch-requirements.txt @@ -0,0 +1,38 @@ +--- requirements.txt.orig 2026-03-03 10:49:23.668295000 +0200 ++++ requirements.txt 2026-03-03 10:50:00.305129000 +0200 +@@ -1,17 +1,17 @@ +-attrs==25.4.0 +-beautifulsoup4==4.14.2 +-certifi==2025.10.5 +-chardet==5.2.0 +-charset-normalizer==3.4.4 +-click==8.3.0 +-idna==3.10 +-pip==25.1.1 +-PyYAML==6.0.2 +-requests==2.32.2 +-saneyaml==0.6.1 +-setuptools==80.9.0 +-soupsieve==2.8 +-text-unidecode==1.3 +-typing_extensions==4.15.0 +-urllib3==2.5.0 +-wheel==0.38.4 +\ No newline at end of file ++attrs>=25.4.0 ++beautifulsoup4>=4.14.2 ++certifi>=2025.10.5 ++chardet>=5.2.0 ++charset-normalizer>=3.4.4 ++click>=8.1.7 ++idna>=3.10 ++pip>=25.1.1 ++PyYAML>=6.0.2 ++requests>=2.32.2 ++saneyaml>=0.6.1 ++setuptools>=80.9.0 ++soupsieve>=2.8 ++text-unidecode>=1.3 ++typing_extensions>=4.15.0 ++urllib3>=2.5.0 ++wheel>=0.38.4 diff --git a/devel/py-commoncode/files/patch-setup.cfg b/devel/py-commoncode/files/patch-setup.cfg new file mode 100644 index 000000000000..8e2ad86ae6a9 --- /dev/null +++ b/devel/py-commoncode/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2026-03-03 10:49:03.821396000 +0200 ++++ setup.cfg 2026-03-03 10:49:34.977067000 +0200 +@@ -38,7 +38,7 @@ + attrs >= 18.1,!=20.1.0;python_version<'3.11' + attrs >= 22.1.0;python_version>='3.11' + Beautifulsoup4[chardet] >= 4.13.0 +- click >= 8.3.0 ++ click >= 8.1.7 + requests[use_chardet_on_py3] >= 2.7.0 + saneyaml >= 0.5.2 + text_unidecode >= 1.0