./devel/py-xopen, Open compressed files transparently

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.7.0, Package name: py310-xopen-1.7.0, Maintainer: bacon

This small Python module provides an xopen function that works like the
built-in open function, but can also deal with compressed files. Supported
compression formats are gzip, bzip2 and xz. They are automatically recognized
by their file extensions .gz, .bz2 or .xz.


Required to run:
[devel/py-setuptools] [archivers/pigz] [lang/python37]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

Filesize: 26.743 KB

Version history: (Expand)


CVS history: (Expand)


   2022-11-08 12:36:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 1.7.0

1.7.0:
Unknown changes
   2022-08-11 08:29:32 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-xopen: updated to 1.6.0

v1.6.0 (2022-08-10)

When writing gzip files, the timestamp and name of the original file is omitted \ 
(equivalent to using gzip --no-name (or -n) on the command line). This allows \ 
files to be written in a reproducible manner.
   2022-07-14 15:36:38 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
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.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 21:48:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 1.2.1

1.2.1:
Unknown changes
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2021-09-28 18:04:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-xopen: updated to 1.2.0

v1.2.0
pbzip2 is now used to open .bz2 files if threads is greater than zero.