pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-xopen



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Feb 13 13:50:00 UTC 2025

Modified Files:
        pkgsrc/devel/py-xopen: Makefile distinfo

Log Message:
py-xopen: updated to 2.0.2

v2.0.2 (2024-06-12)

* Fix a bug that was triggered when reading large compressed files with an external program.

v2.0.1 (2024-03-28)

* Fixed a bug where reading from stdin and other pipes would discard the first bytes from the input.
* Zstd files compressed with the --long=31 files can now be opened without throwing errors.

v2.0.0 (2024-03-26)

* Support for gzip levels has been made more consistent. Levels 0-9 are supported. Level 11 which was only available when the pigz backend was present is not supported anymore. Level 0, gzip format 
without compression, lead to crashes when the gzip application backend was used as this does not have a -0 flag. xopen() now defers to other backends in that case.

* xopen() now accepts file-like objects for its filename argument.

* Various refactors for better code size and readability:

PipedCompressionReader/Writer are now combined _PipedCompressionProgram class.
_PipedCompressionProgram is binary-only. For text reading and writing it is wrapped in an io.TextIOWrapper in the xopen() function.
Classes that derive from PipedCompressionReader/Writer have been removed.

* xopen's classes, variables and functions pertaining to piped reading and writing are all made private by prefixing them with an underscore. These are not part of the API and may change between 
releases.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 pkgsrc/devel/py-xopen/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/py-xopen/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-xopen/Makefile
diff -u pkgsrc/devel/py-xopen/Makefile:1.33 pkgsrc/devel/py-xopen/Makefile:1.34
--- pkgsrc/devel/py-xopen/Makefile:1.33 Mon Nov 11 07:28:30 2024
+++ pkgsrc/devel/py-xopen/Makefile      Thu Feb 13 13:50:00 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2024/11/11 07:28:30 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2025/02/13 13:50:00 adam Exp $
 
-DISTNAME=      xopen-1.9.0
-PKGREVISION=   1
+DISTNAME=      xopen-2.0.2
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=x/xopen/}
@@ -16,12 +15,11 @@ TOOL_DEPENDS+=      ${PYPKGPREFIX}-setuptools
 DEPENDS+=      pbzip2-[0-9]*:../../archivers/pbzip2
 DEPENDS+=      pigz-[0-9]*:../../archivers/pigz
 DEPENDS+=      xz-[0-9]*:../../archivers/xz
+DEPENDS+=      ${PYPKGPREFIX}-zlib-ng>=0.4.1:../../archivers/py-zlib-ng
 DEPENDS+=      ${PYPKGPREFIX}-zstandard-[0-9]*:../../archivers/py-zstandard
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/py-xopen/distinfo
diff -u pkgsrc/devel/py-xopen/distinfo:1.28 pkgsrc/devel/py-xopen/distinfo:1.29
--- pkgsrc/devel/py-xopen/distinfo:1.28 Sat Feb 10 13:04:22 2024
+++ pkgsrc/devel/py-xopen/distinfo      Thu Feb 13 13:50:00 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2024/02/10 13:04:22 bacon Exp $
+$NetBSD: distinfo,v 1.29 2025/02/13 13:50:00 adam Exp $
 
-BLAKE2s (xopen-1.9.0.tar.gz) = 1617c1f27e8af4d2622c11c7d52be2b2e493e6580b4a36cfb7f8be98565605c7
-SHA512 (xopen-1.9.0.tar.gz) = 81e257ee84e4a0470760d80a6a0433dbea331b9bc079b7cb8ab744cc965325157fe961d6b8a76357f970cc72c366ac0233f5b6aff81eb43f7727f3695c83cdd8
-Size (xopen-1.9.0.tar.gz) = 30580 bytes
+BLAKE2s (xopen-2.0.2.tar.gz) = da8dd2f41efe362057d79a27b3144c9bd22f4404dc4ade8dce2e03387dc12850
+SHA512 (xopen-2.0.2.tar.gz) = 65e628e4a86281c6fead189a058a5e59107079ba4a74b8b45dbe6afb149644872efdbb118d74a89c1ebf643d93378c72f2c24390a4a05a2e0f4ad0f77fe0bfac
+Size (xopen-2.0.2.tar.gz) = 32224 bytes



Home | Main Index | Thread Index | Old Index