diff options
author | adam <adam@pkgsrc.org> | 2022-07-14 13:36:38 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2022-07-14 13:36:38 +0000 |
commit | bdd4c5925f8e17a55bf4e25e00d89325d8d62d4d (patch) | |
tree | fd90e2cff780ad68db59491c28a07e4b273b3924 | |
parent | 8c09bf010d78362d63387e9c6314d751ed29203a (diff) | |
download | pkgsrc-bdd4c5925f8e17a55bf4e25e00d89325d8d62d4d.tar.gz |
py-xopen: updated to 1.5.0
v1.5.0 (2022-03-23)
* Dropped Python 3.6 support
* Added support for piping into and from an external xz process. Contributed by @fanninpm.
* Support setting the xz compression level. Contributed by @tsibley.
v1.4.0 (2022-01-14)
Add seek() and tell() to the PipedCompressionReader classes (for Windows compatibility)
v1.3.0 (2022-01-10)
xopen is now available on Windows (in addition to Linux and macOS).
For greater compatibility with the built-in open() function, xopen() has gained the parameters encoding, errors and newlines with the same meaning as in open(). Unlike built-in open(), though, encoding is UTF-8 by default.
A parameter format has been added that allows to force the compression file format.
-rw-r--r-- | devel/py-xopen/Makefile | 13 | ||||
-rw-r--r-- | devel/py-xopen/distinfo | 8 |
2 files changed, 10 insertions, 11 deletions
diff --git a/devel/py-xopen/Makefile b/devel/py-xopen/Makefile index 5aa8de9b54a..85fa861c6d5 100644 --- a/devel/py-xopen/Makefile +++ b/devel/py-xopen/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.23 2022/01/04 20:53:48 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/07/14 13:36:38 adam Exp $ -DISTNAME= xopen-1.2.1 +DISTNAME= xopen-1.5.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=x/xopen/} @@ -14,14 +13,14 @@ LICENSE= mit BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm DEPENDS+= pbzip2-[0-9]*:../../archivers/pbzip2 DEPENDS+= pigz-[0-9]*:../../archivers/pigz +DEPENDS+= xz-[0-9]*:../../archivers/xz TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test - -PYTHON_VERSIONS_INCOMPATIBLE= 27 - -.include "../../lang/python/pyversion.mk" +TEST_DEPENDS+= ${PYPKGPREFIX}-test-timeout-[0-9]*:../../devel/py-test-timeout USE_LANGUAGES= # none +PYTHON_VERSIONS_INCOMPATIBLE= 27 + do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} tests diff --git a/devel/py-xopen/distinfo b/devel/py-xopen/distinfo index 04aa81ec377..a7a68a4f63e 100644 --- a/devel/py-xopen/distinfo +++ b/devel/py-xopen/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.22 2021/10/26 19:48:16 adam Exp $ +$NetBSD: distinfo,v 1.23 2022/07/14 13:36:38 adam Exp $ -BLAKE2s (xopen-1.2.1.tar.gz) = 86bc4f86b704053e9785218c111cdb9fe028d1a61c6182564649470f9b3bf9d1 -SHA512 (xopen-1.2.1.tar.gz) = 213f94e60dcbf4ead89b2d03d5b342a934427d75f269daf2d1ab9053b235c4eb4b7a90058d5e39d68c4efd41e184224af63a83d5b971f4c6ee6f14d5b80cbb04 -Size (xopen-1.2.1.tar.gz) = 20438 bytes +BLAKE2s (xopen-1.5.0.tar.gz) = 4a18323c07a393984e4c4758ec74ef3ec7bae1fb4a08465bc5429db69c922686 +SHA512 (xopen-1.5.0.tar.gz) = b5653522312ea6e3d59daee284bea9a9b434975d6be7f96470b4a2fb199da1903b5367ecaf5fe9192cc61aef7b2b7312f5d5d677dc69f93020d6daedd83d86d3 +Size (xopen-1.5.0.tar.gz) = 23694 bytes |