diff --git a/devel/py-toolz/Makefile b/devel/py-toolz/Makefile index 3ceec4edadc5..f5e9de7fdcef 100644 --- a/devel/py-toolz/Makefile +++ b/devel/py-toolz/Makefile @@ -1,20 +1,25 @@ PORTNAME= toolz -DISTVERSION= 1.0.0 -PORTREVISION= 1 +DISTVERSION= 1.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Functional standard library for Python WWW= https://github.com/pytoolz/toolz LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}setuptools-git-versioning>=2.0:devel/py-setuptools-git-versioning@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} + USES= python -USE_PYTHON= distutils autoplist pytest +USE_PYTHON= pep517 autoplist pytest NO_ARCH= yes +# tests as of 1.1.0: 186 passed in 3.86s + .include diff --git a/devel/py-toolz/distinfo b/devel/py-toolz/distinfo index 3294211edb02..7c555ff79610 100644 --- a/devel/py-toolz/distinfo +++ b/devel/py-toolz/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1730747114 -SHA256 (toolz-1.0.0.tar.gz) = 2c86e3d9a04798ac556793bced838816296a2f085017664e4995cb40a1047a02 -SIZE (toolz-1.0.0.tar.gz) = 66790 +TIMESTAMP = 1784569313 +SHA256 (toolz-1.1.0.tar.gz) = 27a5c770d068c110d9ed9323f24f1543e83b2f300a687b7891c1a6d56b697b5b +SIZE (toolz-1.1.0.tar.gz) = 52613 diff --git a/devel/py-toolz/files/patch-pyproject.toml b/devel/py-toolz/files/patch-pyproject.toml new file mode 100644 index 000000000000..d2387cc84cf2 --- /dev/null +++ b/devel/py-toolz/files/patch-pyproject.toml @@ -0,0 +1,23 @@ +-- Fix license declaration and lower the setuptools build-system requirement +-- to match the version available in FreeBSD ports. +--- pyproject.toml.orig 2025-10-16 21:02:30 UTC ++++ pyproject.toml 2026-07-20 17:49:53 UTC +@@ -1,7 +1,7 @@ + [build-system] + build-backend = "setuptools.build_meta" + requires = [ +- "setuptools >=77", ++ "setuptools >=61", + "setuptools-git-versioning >=2.0", + ] + +@@ -11,8 +11,7 @@ + description = "List processing tools and functional utilities" + readme = "README.rst" + requires-python = ">=3.9" +-license = "BSD-3-Clause" +-license-files = ["LICENSE.txt"] ++license = {text = "BSD-3-Clause"} + authors = [ + { name = "PyToolz Contributors" }, + ]