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:           Mon Nov  6 20:00:39 UTC 2023

Modified Files:
        pkgsrc/archivers/py-zstandard: Makefile PLIST distinfo

Log Message:
py-zstandard: update to 0.22.0.

Backwards Compatibility Notes

    ZstdDecompressor.decompressobj() will change read_across_frames to
    default to True in a future release. If you depend on the current
    functionality of stopping at frame boundaries, start explicitly passing
    read_across_frames=False to preserve the current behavior.
    manylinux2010 wheels are no longer published since this wheel format
    is no longer supported by the pypa/manylinux project.
    Removed CI coverage for PyPy 3.7 and 3.8, which are no longer supported
    PyPy versions.
    Support for Python 3.7 has been dropped because it reached end of life.
    Python 3.8 is the minimum supported Python version. The code should still be
    compatible with Python 3.7 and removing of version checks from setup.py
    will likely yield a working install. However, this is no officially supported.

Bug Fixes

    ZstdDecompressor.decompress() with allow_extra_data=False would
    previously allow extra data to exist after an empty zstd frame (a frame
    holding 0 length input). This scenario now raises an exception.

Changes

    ZstdDecompressor.decompressobj() now accepts a read_across_frames
    boolean named argument to control whether to transparently read across
    multiple zstd frames. It defaults to False to preserve existing
    behavior.
    Added CI coverage for PyPy 3.10.
    Added CI coverage for newer Anaconda Python versions.
    Packages used in CI have been upgraded to latest versions. This should
    nominally only impact developers of this project and not end-users.
    pyproject.toml now declares a [build-system] section saying to build
    with setuptools.
    CI now builds wheels with pip instead of setup.py directly.
    Official support for CPython 3.12. Binary wheels for 3.12 are now published
    during releases. There were no meaningful code changes to support Python 3.12.
    Binary wheels for musllinux_1_1 x86_64 and aarch64 are now being built and
    published.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/archivers/py-zstandard/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/archivers/py-zstandard/PLIST
cvs rdiff -u -r1.26 -r1.27 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.27 pkgsrc/archivers/py-zstandard/Makefile:1.28
--- pkgsrc/archivers/py-zstandard/Makefile:1.27 Mon Oct  2 23:18:03 2023
+++ pkgsrc/archivers/py-zstandard/Makefile      Mon Nov  6 20:00:39 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.27 2023/10/02 23:18:03 riastradh Exp $
+# $NetBSD: Makefile,v 1.28 2023/11/06 20:00:39 wiz Exp $
 
-DISTNAME=      zstandard-0.21.0
+DISTNAME=      zstandard-0.22.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    archivers python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zstandard/}
@@ -10,14 +10,14 @@ HOMEPAGE=   https://github.com/indygreg/py
 COMMENT=       Zstandard bindings for Python
 LICENSE=       modified-bsd
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel>=0:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-cffi>=1.11:../../devel/py-cffi
 TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
 
-PYSETUPBUILDARGS+=     --system-zstd
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 BUILDLINK_API_DEPENDS.zstd+=   zstd>=1.5.5
 .include "../../archivers/zstd/buildlink3.mk"
-.include "../../lang/python/egg.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.6 pkgsrc/archivers/py-zstandard/PLIST:1.7
--- pkgsrc/archivers/py-zstandard/PLIST:1.6     Sun Jan  3 14:57:53 2021
+++ pkgsrc/archivers/py-zstandard/PLIST Mon Nov  6 20:00:39 2023
@@ -1,9 +1,9 @@
-@comment $NetBSD: PLIST,v 1.6 2021/01/03 14:57:53 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.7 2023/11/06 20:00:39 wiz Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/zstandard/__init__.py
 ${PYSITELIB}/zstandard/__init__.pyc
 ${PYSITELIB}/zstandard/__init__.pyi

Index: pkgsrc/archivers/py-zstandard/distinfo
diff -u pkgsrc/archivers/py-zstandard/distinfo:1.26 pkgsrc/archivers/py-zstandard/distinfo:1.27
--- pkgsrc/archivers/py-zstandard/distinfo:1.26 Tue Apr 25 07:48:02 2023
+++ pkgsrc/archivers/py-zstandard/distinfo      Mon Nov  6 20:00:39 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.26 2023/04/25 07:48:02 adam Exp $
+$NetBSD: distinfo,v 1.27 2023/11/06 20:00:39 wiz Exp $
 
-BLAKE2s (zstandard-0.21.0.tar.gz) = 9afa887dc9d419fc6572f2e1c1736ecde7f9be108dd9bb0988881cdceac83666
-SHA512 (zstandard-0.21.0.tar.gz) = fc46b676e9319180ffa8f626c55bcfbf13804cc75170255bfa7d7b614563276f3bb0fa84e6dba43501ef1cf920fdb90d39ddee2a1ac00139acd0da88ebc67d2a
-Size (zstandard-0.21.0.tar.gz) = 659790 bytes
+BLAKE2s (zstandard-0.22.0.tar.gz) = 2dab3b32c6332217bb099e4530b97a8e2b0f3f0e8191267dac9d89bb2e502819
+SHA512 (zstandard-0.22.0.tar.gz) = 6352586cd3eb9fd2c552a478847433a5879a4f655396186b30ec0b86325e3015c36993e4993e9fa6e92adb5118bb6f78dba1749991ec78b07a8e3646cdf414a9
+Size (zstandard-0.22.0.tar.gz) = 660738 bytes
 SHA1 (patch-c-ext_backend__c.c) = 3a15a55939840df85e25fdd214d07dd6408864c8



Home | Main Index | Thread Index | Old Index