diff --git a/devel/py-distlib/Makefile b/devel/py-distlib/Makefile index 007e251b5f26..117925ed4d6b 100644 --- a/devel/py-distlib/Makefile +++ b/devel/py-distlib/Makefile @@ -1,24 +1,26 @@ PORTNAME= distlib -DISTVERSION= 0.4.0 +DISTVERSION= 0.4.1 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Low-level components of distutils2 and higher-level APIs WWW= https://github.com/pypa/distlib LICENSE= PSFL LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${PY_SETUPTOOLS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= pep517 autoplist pytest # few tests fail intermittently, see https://github.com/pypa/distlib/issues/205 NO_ARCH= yes TEST_ENV= PYTHONHASHSEED=0 # needed for tests to succeed +# tests as of 0.4.1: 1 failed, 222 passed, 21 skipped, 49 warnings in 21.39s + .include diff --git a/devel/py-distlib/distinfo b/devel/py-distlib/distinfo index 04b6e5179a30..4646dd08df70 100644 --- a/devel/py-distlib/distinfo +++ b/devel/py-distlib/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1777559512 -SHA256 (distlib-0.4.0.tar.gz) = feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d -SIZE (distlib-0.4.0.tar.gz) = 614605 +TIMESTAMP = 1780468606 +SHA256 (distlib-0.4.1.tar.gz) = c3804d0d2d4b5fcd44036eb860cb6660485fcdf5c2aba53dc324d805837ea65b +SIZE (distlib-0.4.1.tar.gz) = 610526 diff --git a/devel/py-distlib/files/patch-pyproject.toml b/devel/py-distlib/files/patch-pyproject.toml new file mode 100644 index 000000000000..8d88fa5bf700 --- /dev/null +++ b/devel/py-distlib/files/patch-pyproject.toml @@ -0,0 +1,13 @@ +-- Relax setuptools version requirement +-- Upper limits on dependencies often break builds in the ports tree + +--- pyproject.toml.orig 2026-06-03 06:40:03 UTC ++++ pyproject.toml +@@ -1,6 +1,6 @@ requires = [ + [build-system] + requires = [ +- "setuptools >= 68,<75", ++ "setuptools >= 63", + "wheel" + ] + build-backend = 'setuptools.build_meta'