pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/archivers/py-zstandard
Module Name: pkgsrc
Committed By: wiz
Date: Sun Aug 17 20:43:58 UTC 2025
Modified Files:
pkgsrc/archivers/py-zstandard: Makefile PLIST distinfo
Log Message:
py-zstandard: update to 0.24.0.
Keep using the bundled zstd since upstream insists on it.
Changes
Bundled zstd library upgraded from 1.5.6 to 1.5.7. (#255)
We now use and require cffi 1.17.0 or newer. Previously, the
constraint was >=1.11.0 on Python <3.13.
The pyproject.toml file now defines a [project] section.
We now use GitHub's native ARM Linux runners to build wheels
and run tests. Previously, Linux ARM wheels were built inside
a QEMU virtualized environment and we didn't run tests on this
platform.
We now collections.abs.Buffer on Python 3.12+ instead of
typing.ByteString, as typing.ByteString was deprecated and
later removed. (#238, #262)
PyO3 Rust crate upgraded from 0.21 to 0.22 (#257) and later to
0.24.
get_frame_parameters() now accepts an optional format argument
defining the zstandard frame type. You can pass e.g.
zstandard.FORMAT_ZSTD1_MAGICLESS to decode frames without header
magic. (#217)
Initial Python 3.14 support. We build wheels and have CI test
coverage.
Source Archive Publishing Error
During the release process of this version, we uploaded the source
archive to PyPI after some wheels. PyPI rejected the source archive
because of presence of a license-file entry while using metadata
version 2.4. We manually generated the source distribution locally.
The source distribution on PyPI therefore does not match what GitHub
Actions produced.
To generate a diff of this commit:
cvs rdiff -u -r1.35 -r1.36 pkgsrc/archivers/py-zstandard/Makefile
cvs rdiff -u -r1.9 -r1.10 pkgsrc/archivers/py-zstandard/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/archivers/py-zstandard/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/archivers/py-zstandard/Makefile
diff -u pkgsrc/archivers/py-zstandard/Makefile:1.35 pkgsrc/archivers/py-zstandard/Makefile:1.36
--- pkgsrc/archivers/py-zstandard/Makefile:1.35 Sat Apr 12 17:54:10 2025
+++ pkgsrc/archivers/py-zstandard/Makefile Sun Aug 17 20:43:58 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.35 2025/04/12 17:54:10 pgoyette Exp $
+# $NetBSD: Makefile,v 1.36 2025/08/17 20:43:58 wiz Exp $
-DISTNAME= zstandard-0.23.0
+DISTNAME= zstandard-0.24.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 2
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_PYPI:=z/zstandard/}
@@ -11,18 +10,15 @@ HOMEPAGE= https://github.com/indygreg/py
COMMENT= Zstandard bindings for Python
LICENSE= modified-bsd
-USE_TOOLS+= cpp
-
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+= ${PYPKGPREFIX}-cffi>=1.11:../../devel/py-cffi
TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
-# TODO: switch to this again
-# after https://github.com/indygreg/python-zstandard/issues/252
-# is fixed
-# or not:
+USE_TOOLS+= cpp
+
+# upstream prefers to use its bundled version of zstd
# https://github.com/indygreg/python-zstandard/blob/0063333790a853360c816101511635865405834f/c-ext/backend_c.c#L137-L151
-#BUILDLINK_API_DEPENDS.zstd+= zstd>=1.5.6
+#BUILDLINK_API_DEPENDS.zstd+= zstd>=1.5.7
#.include "../../archivers/zstd/buildlink3.mk"
.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/py-zstandard/PLIST
diff -u pkgsrc/archivers/py-zstandard/PLIST:1.9 pkgsrc/archivers/py-zstandard/PLIST:1.10
--- pkgsrc/archivers/py-zstandard/PLIST:1.9 Sun Apr 13 08:06:23 2025
+++ pkgsrc/archivers/py-zstandard/PLIST Sun Aug 17 20:43:58 2025
@@ -1,8 +1,7 @@
-@comment $NetBSD: PLIST,v 1.9 2025/04/13 08:06:23 adam Exp $
+@comment $NetBSD: PLIST,v 1.10 2025/08/17 20:43:58 wiz Exp $
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
-${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
${PYSITELIB}/zstandard/__init__.py
${PYSITELIB}/zstandard/__init__.pyc
Index: pkgsrc/archivers/py-zstandard/distinfo
diff -u pkgsrc/archivers/py-zstandard/distinfo:1.28 pkgsrc/archivers/py-zstandard/distinfo:1.29
--- pkgsrc/archivers/py-zstandard/distinfo:1.28 Mon Jul 15 20:17:51 2024
+++ pkgsrc/archivers/py-zstandard/distinfo Sun Aug 17 20:43:58 2025
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.28 2024/07/15 20:17:51 adam Exp $
+$NetBSD: distinfo,v 1.29 2025/08/17 20:43:58 wiz Exp $
-BLAKE2s (zstandard-0.23.0.tar.gz) = 3bfdc298ee43c7db56031749997c8e8149756808ae58146b9c0e8e3bb1e09c9d
-SHA512 (zstandard-0.23.0.tar.gz) = 8b408fe537b783f61451f2024250402e38892d6feb4cfb935664d7a53d6e13d7e7e7b7687256613ea189763f70ef62d513332c879f26e55b524bb5941295840c
-Size (zstandard-0.23.0.tar.gz) = 681701 bytes
-SHA1 (patch-c-ext_backend__c.c) = 6a3bb953caf6d4f658b737025cc6d67b86de14d4
+BLAKE2s (zstandard-0.24.0.tar.gz) = 162b783aa2073f1b52a803ac284a9bb1ff99f3b134c22ee9357aeca4ac02f0f2
+SHA512 (zstandard-0.24.0.tar.gz) = 6590ddf40958a16894c4239811054f50d07451fe9649bb5ea59918f83826498ce2d5a777f84bb68479de30fcb7308e8d579794b6ad0d3412b736638d85d1c0c2
+Size (zstandard-0.24.0.tar.gz) = 905681 bytes
Home |
Main Index |
Thread Index |
Old Index