git: 1f40086f81ff - main - devel/py-cytoolz: update 1.0.1 → 1.1.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Sep 2026 20:06:10 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=1f40086f81ffca14d526cfe13de9e1ae1249c441
commit 1f40086f81ffca14d526cfe13de9e1ae1249c441
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-09-09 20:17:13 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-09-10 19:58:17 +0000
devel/py-cytoolz: update 1.0.1 → 1.1.0
---
devel/py-cytoolz/Makefile | 8 ++++++--
devel/py-cytoolz/distinfo | 6 +++---
devel/py-cytoolz/files/patch-pyproject.toml | 26 ++++++++++++++++++++++++++
3 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/devel/py-cytoolz/Makefile b/devel/py-cytoolz/Makefile
index 10a5b94b7d1b..b211e0247a95 100644
--- a/devel/py-cytoolz/Makefile
+++ b/devel/py-cytoolz/Makefile
@@ -1,5 +1,5 @@
PORTNAME= cytoolz
-DISTVERSION= 1.0.1
+DISTVERSION= 1.1.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -12,6 +12,7 @@ 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}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}toolz>=0.8.0:devel/py-toolz@${PY_FLAVOR}
@@ -21,9 +22,12 @@ USE_PYTHON= pep517 cython autoplist pytest
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
TEST_WRKSRC= ${WRKSRC}/cytoolz/tests
-# 3 tests fail, see https://github.com/pytoolz/cytoolz/issues/200
+pre-test:
+ @${CP} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/cytoolz/*.so ${WRKSRC}/cytoolz/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}/*.so
+# tests as of 1.1.0: 194 passed in 1.37s
+
.include <bsd.port.mk>
diff --git a/devel/py-cytoolz/distinfo b/devel/py-cytoolz/distinfo
index 92143f0659c2..d94da8b65b6e 100644
--- a/devel/py-cytoolz/distinfo
+++ b/devel/py-cytoolz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1734182125
-SHA256 (cytoolz-1.0.1.tar.gz) = 89cc3161b89e1bb3ed7636f74ed2e55984fd35516904fc878cae216e42b2c7d6
-SIZE (cytoolz-1.0.1.tar.gz) = 626652
+TIMESTAMP = 1788943986
+SHA256 (cytoolz-1.1.0.tar.gz) = 13a7bf254c3c0d28b12e2290b82aed0f0977a4c2a2bf84854fcdc7796a29f3b0
+SIZE (cytoolz-1.1.0.tar.gz) = 642510
diff --git a/devel/py-cytoolz/files/patch-pyproject.toml b/devel/py-cytoolz/files/patch-pyproject.toml
new file mode 100644
index 000000000000..5070e86642c5
--- /dev/null
+++ b/devel/py-cytoolz/files/patch-pyproject.toml
@@ -0,0 +1,26 @@
+-- Adjust pyproject.toml to build with the setuptools version available in the
+-- FreeBSD ports tree: lower the build-system requirement and use the legacy
+-- PEP 621 license syntax supported by that version, and remove the
+-- license-files key which that version does not support.
+
+--- pyproject.toml.orig 2026-09-09 09:01:44 UTC
++++ pyproject.toml
+@@ -1,7 +1,7 @@
+ [build-system]
+ build-backend = "setuptools.build_meta"
+ requires = [
+- "setuptools >=77",
++ "setuptools >=63.1",
+ "cython >=0.29",
+ "setuptools-git-versioning >=2.0",
+ ]
+@@ -12,8 +12,7 @@
+ description = "Cython implementation of Toolz: High performance functional utilities"
+ readme = "README.rst"
+ requires-python = ">=3.9"
+-license = "BSD-3-Clause"
+-license-files = ["LICENSE.txt"]
++license = {text = "BSD-3-Clause"}
+ authors = [
+ { name = "Erik Welch", email = "erik.n.welch@gmail.com" },
+ { name = "CyToolz contributors" },