pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 13 13:10:20 UTC 2025

Modified Files:
        pkgsrc/archivers: Makefile
Added Files:
        pkgsrc/archivers/py-zlib-ng: DESCR Makefile PLIST distinfo

Log Message:
py-zlib-ng: added version 0.5.1

Faster zlib and gzip compatible compression and decompression by providing
Python bindings for the zlib-ng library.
This package provides Python bindings for the zlib-ng library.

python-zlib-ng provides the bindings by offering three modules:
* zlib_ng: A drop-in replacement for the zlib module that uses zlib-ng to
  accelerate its performance.
* gzip_ng: A drop-in replacement for the gzip module that uses zlib_ng instead
  of zlib to perform its compression and checksum tasks, which improves
  performance.
* gzip_ng_threaded offers an open function which returns buffered read or write
  streams that can be used to read and write large files while escaping the GIL
  using one or multiple threads. This functionality only works for streaming,
  seeking is not supported.


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 pkgsrc/archivers/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/archivers/py-zlib-ng/DESCR \
    pkgsrc/archivers/py-zlib-ng/Makefile pkgsrc/archivers/py-zlib-ng/PLIST \
    pkgsrc/archivers/py-zlib-ng/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/Makefile
diff -u pkgsrc/archivers/Makefile:1.215 pkgsrc/archivers/Makefile:1.216
--- pkgsrc/archivers/Makefile:1.215     Sun Jan  5 11:47:01 2025
+++ pkgsrc/archivers/Makefile   Thu Feb 13 13:10:20 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.215 2025/01/05 11:47:01 pho Exp $
+# $NetBSD: Makefile,v 1.216 2025/02/13 13:10:20 adam Exp $
 #
 
 COMMENT=       Archivers and compression tools
@@ -124,6 +124,7 @@ SUBDIR+=    py-unrardll
 SUBDIR+=       py-zipp
 SUBDIR+=       py-zipstream
 SUBDIR+=       py-zipstream-ng
+SUBDIR+=       py-zlib-ng
 SUBDIR+=       py-zopfli
 SUBDIR+=       py-zstandard
 SUBDIR+=       quazip

Added files:

Index: pkgsrc/archivers/py-zlib-ng/DESCR
diff -u /dev/null pkgsrc/archivers/py-zlib-ng/DESCR:1.1
--- /dev/null   Thu Feb 13 13:10:20 2025
+++ pkgsrc/archivers/py-zlib-ng/DESCR   Thu Feb 13 13:10:20 2025
@@ -0,0 +1,14 @@
+Faster zlib and gzip compatible compression and decompression by providing
+Python bindings for the zlib-ng library.
+This package provides Python bindings for the zlib-ng library.
+
+python-zlib-ng provides the bindings by offering three modules:
+* zlib_ng: A drop-in replacement for the zlib module that uses zlib-ng to
+  accelerate its performance.
+* gzip_ng: A drop-in replacement for the gzip module that uses zlib_ng instead
+  of zlib to perform its compression and checksum tasks, which improves
+  performance.
+* gzip_ng_threaded offers an open function which returns buffered read or write
+  streams that can be used to read and write large files while escaping the GIL
+  using one or multiple threads. This functionality only works for streaming,
+  seeking is not supported.
Index: pkgsrc/archivers/py-zlib-ng/Makefile
diff -u /dev/null pkgsrc/archivers/py-zlib-ng/Makefile:1.1
--- /dev/null   Thu Feb 13 13:10:20 2025
+++ pkgsrc/archivers/py-zlib-ng/Makefile        Thu Feb 13 13:10:20 2025
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2025/02/13 13:10:20 adam Exp $
+
+DISTNAME=      zlib_ng-0.5.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES=    archivers python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=z/zlib-ng/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pycompression/python-zlib-ng
+COMMENT=       Drop-in replacement for zlib and gzip modules using zlib-ng
+LICENSE=       python-software-foundation
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=64:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-versioningit>=1.1.0:../../devel/py-versioningit
+
+MAKE_ENV+=     PYTHON_ZLIB_NG_LINK_DYNAMIC=1
+
+.include "../../archivers/zlib-ng/buildlink3.mk"
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/archivers/py-zlib-ng/PLIST
diff -u /dev/null pkgsrc/archivers/py-zlib-ng/PLIST:1.1
--- /dev/null   Thu Feb 13 13:10:20 2025
+++ pkgsrc/archivers/py-zlib-ng/PLIST   Thu Feb 13 13:10:20 2025
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2025/02/13 13:10:20 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/zlib_ng/__init__.py
+${PYSITELIB}/zlib_ng/__init__.pyc
+${PYSITELIB}/zlib_ng/__init__.pyo
+${PYSITELIB}/zlib_ng/_version.py
+${PYSITELIB}/zlib_ng/_version.pyc
+${PYSITELIB}/zlib_ng/_version.pyi
+${PYSITELIB}/zlib_ng/_version.pyo
+${PYSITELIB}/zlib_ng/gzip_ng.py
+${PYSITELIB}/zlib_ng/gzip_ng.pyc
+${PYSITELIB}/zlib_ng/gzip_ng.pyo
+${PYSITELIB}/zlib_ng/gzip_ng_threaded.py
+${PYSITELIB}/zlib_ng/gzip_ng_threaded.pyc
+${PYSITELIB}/zlib_ng/gzip_ng_threaded.pyo
+${PYSITELIB}/zlib_ng/py.typed
+${PYSITELIB}/zlib_ng/zlib-ng/LICENSE.md
+${PYSITELIB}/zlib_ng/zlib-ng/README.md
+${PYSITELIB}/zlib_ng/zlib_ng.pyi
+${PYSITELIB}/zlib_ng/zlib_ng.so
Index: pkgsrc/archivers/py-zlib-ng/distinfo
diff -u /dev/null pkgsrc/archivers/py-zlib-ng/distinfo:1.1
--- /dev/null   Thu Feb 13 13:10:20 2025
+++ pkgsrc/archivers/py-zlib-ng/distinfo        Thu Feb 13 13:10:20 2025
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2025/02/13 13:10:20 adam Exp $
+
+BLAKE2s (zlib_ng-0.5.1.tar.gz) = 07431dba82611d88af67b06309f17f515d48cd88bc3b5cb7d56d6fad4a531a16
+SHA512 (zlib_ng-0.5.1.tar.gz) = 2f06eaa8aa7320e7153d23789debd6dfbd7e8dac8ced840f55b50ee5f1102d187f5819151f4d21e6f530609680cc81fdb7a2787cceb411ccec119fc6f002e5b0
+Size (zlib_ng-0.5.1.tar.gz) = 2436421 bytes



Home | Main Index | Thread Index | Old Index