Wed Jan 31 11:53:35 2024 UTC (127d)
py-xopen: updated to 1.9.0

v1.9.0

* The python-isal compression backend is now only used for compression
  levels 1 and 2. Contrary to other backends, python-isal level 0 gave
  compressed rather than uncompressed data in gzip format. Level 3 on
  python-isal did not provide better compression than level 2.
* PipedCompressionReader/Writer now derive from the `io.IOBase
  <https://docs.python.org/3/library/io.html#io.IOBase>`_ abstract class.
* The gzip default compression level is now 1 when no value is provided
  by the calling function. The default used to be determined by the backend.
* xopen now uses zlib-ng when available and applicable.
* Piped ``igzip`` is no longer used as a (de)compression backend as
  python-isal's threaded mode is a better choice in all use cases.


(adam)
diff -r1.29 -r1.30 pkgsrc/devel/py-xopen/Makefile
diff -r1.26 -r1.27 pkgsrc/devel/py-xopen/distinfo

cvs diff -r1.29 -r1.30 pkgsrc/devel/py-xopen/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/py-xopen/Makefile 2023/10/28 19:57:09 1.29
+++ pkgsrc/devel/py-xopen/Makefile 2024/01/31 11:53:35 1.30
@@ -1,30 +1,26 @@ @@ -1,30 +1,26 @@
1# $NetBSD: Makefile,v 1.29 2023/10/28 19:57:09 wiz Exp $ 1# $NetBSD: Makefile,v 1.30 2024/01/31 11:53:35 adam Exp $
2 2
3DISTNAME= xopen-1.8.0 3DISTNAME= xopen-1.9.0
4PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 4PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5PKGREVISION= 1 
6CATEGORIES= devel python 5CATEGORIES= devel python
7MASTER_SITES= ${MASTER_SITE_PYPI:=x/xopen/} 6MASTER_SITES= ${MASTER_SITE_PYPI:=x/xopen/}
8 7
9MAINTAINER= bacon@NetBSD.org 8MAINTAINER= bacon@NetBSD.org
10HOMEPAGE= https://github.com/pycompression/xopen 9HOMEPAGE= https://github.com/pycompression/xopen
11COMMENT= Open compressed files transparently 10COMMENT= Open compressed files transparently
12LICENSE= mit 11LICENSE= mit
13 12
14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm 13TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
 14TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=6.2:../../devel/py-setuptools_scm
15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel 15TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
16DEPENDS+= pbzip2-[0-9]*:../../archivers/pbzip2 16DEPENDS+= pbzip2-[0-9]*:../../archivers/pbzip2
17DEPENDS+= pigz-[0-9]*:../../archivers/pigz 17DEPENDS+= pigz-[0-9]*:../../archivers/pigz
18DEPENDS+= xz-[0-9]*:../../archivers/xz 18DEPENDS+= xz-[0-9]*:../../archivers/xz
19TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test 
20TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout 19TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
21 20
22USE_LANGUAGES= # none 21USE_LANGUAGES= # none
23 22
24PYTHON_VERSIONS_INCOMPATIBLE= 27 23PYTHON_VERSIONS_INCOMPATIBLE= 27
25 24
26do-test: 
27 cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests 
28 
29.include "../../lang/python/wheel.mk" 25.include "../../lang/python/wheel.mk"
30.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"

cvs diff -r1.26 -r1.27 pkgsrc/devel/py-xopen/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/py-xopen/distinfo 2023/10/21 17:51:45 1.26
+++ pkgsrc/devel/py-xopen/distinfo 2024/01/31 11:53:35 1.27
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.26 2023/10/21 17:51:45 adam Exp $ 1$NetBSD: distinfo,v 1.27 2024/01/31 11:53:35 adam Exp $
2 2
3BLAKE2s (xopen-1.8.0.tar.gz) = c12ac9e75ab8d7a9496f15bc364cbb54863a7e45dd29089707cc3feb9aaaf191 3BLAKE2s (xopen-1.9.0.tar.gz) = 1617c1f27e8af4d2622c11c7d52be2b2e493e6580b4a36cfb7f8be98565605c7
4SHA512 (xopen-1.8.0.tar.gz) = 0f086570f83927c0fd37ee8e246262a1801cb464db7c456b147a117e3fd1ccfc1d9ed696f26edd3c48621b0c064aaf1f1a2c3ebfa7b39eaeaf1e2a9d9a7c9db7 4SHA512 (xopen-1.9.0.tar.gz) = 81e257ee84e4a0470760d80a6a0433dbea331b9bc079b7cb8ab744cc965325157fe961d6b8a76357f970cc72c366ac0233f5b6aff81eb43f7727f3695c83cdd8
5Size (xopen-1.8.0.tar.gz) = 28810 bytes 5Size (xopen-1.9.0.tar.gz) = 30580 bytes