Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2026 16:34:24 +0000
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dd8f68ba13a1 - main - archivers/py-zstandard: update 0.23=?utf-8?Q?=2E0 =E2=86=92 0?=.25.0
Message-ID:  <69e50410.3a210.38382742@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dd8f68ba13a1b6182d69464f943e6ca1b0946ede

commit dd8f68ba13a1b6182d69464f943e6ca1b0946ede
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-04-19 16:32:29 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-04-19 16:34:22 +0000

    archivers/py-zstandard: update 0.23.0 → 0.25.0
    
    PR:     294616
    Submitted by:    Franco Ricci <franco.ricc@gmail.com> (initial patch)
---
 archivers/py-zstandard/Makefile                   | 12 ++++++++----
 archivers/py-zstandard/distinfo                   |  6 +++---
 archivers/py-zstandard/files/patch-pyproject.toml | 24 +++++++++++++++++++++++
 3 files changed, 35 insertions(+), 7 deletions(-)

diff --git a/archivers/py-zstandard/Makefile b/archivers/py-zstandard/Makefile
index 842829a9d505..316ce4741f6f 100644
--- a/archivers/py-zstandard/Makefile
+++ b/archivers/py-zstandard/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	zstandard
-DISTVERSION=	0.23.0
-PORTREVISION=	1
+DISTVERSION=	0.25.0
 CATEGORIES=	archivers python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,12 +10,15 @@ WWW=		https://github.com/indygreg/python-zstandard
 
 LICENSE=	BSD2CLAUSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cffi>=1.8.0:devel/py-cffi@${PY_FLAVOR}
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}cffi>=1.17:devel/py-cffi@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 #LIB_DEPENDS=	libzstd.so:archivers/zstd
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hypothesis>0:devel/py-hypothesis@${PY_FLAVOR}
 
 USES=		localbase python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	pep517 autoplist
 #PYDISTUTILS_BUILDARGS=	--system-zstd # breaks in runtime due to version mismatch, keep disabled until this is fixed: https://github.com/indygreg/python-zstandard/issues/132
 
 post-install:
@@ -25,4 +27,6 @@ post-install:
 do-test: # runs the internal testsuite, tests are unreliable or faulty: https://github.com/indygreg/python-zstandard/issues/133
 	@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILDARGS} test
 
+# tests as of 0.25.0: Ran 292 tests in 0.199s
+
 .include <bsd.port.mk>
diff --git a/archivers/py-zstandard/distinfo b/archivers/py-zstandard/distinfo
index f4715250cd8c..3c58298aa307 100644
--- a/archivers/py-zstandard/distinfo
+++ b/archivers/py-zstandard/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721029661
-SHA256 (zstandard-0.23.0.tar.gz) = b2d8c62d08e7255f68f7a740bae85b3c9b8e5466baa9cbf7f57f1cde0ac6bc09
-SIZE (zstandard-0.23.0.tar.gz) = 681701
+TIMESTAMP = 1776521155
+SHA256 (zstandard-0.25.0.tar.gz) = 7713e1179d162cf5c7906da876ec2ccb9c3a9dcbdffef0cc7f70c3667a205f0b
+SIZE (zstandard-0.25.0.tar.gz) = 711513
diff --git a/archivers/py-zstandard/files/patch-pyproject.toml b/archivers/py-zstandard/files/patch-pyproject.toml
new file mode 100644
index 000000000000..32a490bd59e5
--- /dev/null
+++ b/archivers/py-zstandard/files/patch-pyproject.toml
@@ -0,0 +1,24 @@
+--- pyproject.toml.orig	2025-09-14 20:35:55 UTC
++++ pyproject.toml
+@@ -6,7 +6,7 @@ authors = [
+ authors = [
+     { name = "Gregory Szorc", email = "gregory.szorc@gmail.com" },
+ ]
+-license = "BSD-3-Clause"
++license = {text = "BSD-3-Clause"}
+ requires-python = ">=3.9"
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+@@ -35,10 +35,10 @@ requires = [
+ 
+ [build-system]
+ requires = [
+-    "cffi~=1.17; platform_python_implementation != 'PyPy' and python_version < '3.14'",
++    "cffi>=1.17; platform_python_implementation != 'PyPy' and python_version < '3.14'",
+     "cffi>=2.0.0b; platform_python_implementation != 'PyPy' and python_version >= '3.14'",
+     "packaging",
+-    "setuptools>=77.0.0",
++    "setuptools",
+ ]
+ build-backend = "setuptools.build_meta"
+ 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69e50410.3a210.38382742>