diff options
author | Jason W. Bacon <jwb@FreeBSD.org> | 2017-11-30 00:00:39 +0800 |
---|---|---|
committer | Jason W. Bacon <jwb@FreeBSD.org> | 2017-11-30 00:00:39 +0800 |
commit | c08c101b3ff79278d8464d9624a6f719c423187a (patch) | |
tree | b7a26a8826b16ef5b3e463f09ab12ce7dbd1a7a1 /archivers | |
parent | 41115d47539acace9a92ce28c0be7a2a863ddebc (diff) | |
download | freebsd-ports-gnome-c08c101b3ff79278d8464d9624a6f719c423187a.tar.gz freebsd-ports-gnome-c08c101b3ff79278d8464d9624a6f719c423187a.tar.zst freebsd-ports-gnome-c08c101b3ff79278d8464d9624a6f719c423187a.zip |
[new port] archivers/py-xopen: Open compressed files transparently
Approved by: jrm (mentor)
Differential Revision: https://reviews.freebsd.org/D13292
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/py-xopen/Makefile | 19 | ||||
-rw-r--r-- | archivers/py-xopen/distinfo | 3 | ||||
-rw-r--r-- | archivers/py-xopen/pkg-descr | 6 |
4 files changed, 29 insertions, 0 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index e86d4eb76ef3..5dd07aec5b8d 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -188,6 +188,7 @@ SUBDIR += py-rcssmin SUBDIR += py-rjsmin SUBDIR += py-warctools + SUBDIR += py-xopen SUBDIR += py3-libarchive-c SUBDIR += qpress SUBDIR += quazip diff --git a/archivers/py-xopen/Makefile b/archivers/py-xopen/Makefile new file mode 100644 index 000000000000..520aecf7dda7 --- /dev/null +++ b/archivers/py-xopen/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= xopen +PORTVERSION= 0.2.1 +CATEGORIES= archivers python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Open compressed files transparently + +LICENSE= MIT + +NO_ARCH= yes + +USES= python +USE_PYTHON= autoplist distutils + +.include <bsd.port.mk> diff --git a/archivers/py-xopen/distinfo b/archivers/py-xopen/distinfo new file mode 100644 index 000000000000..82a4beacaa7c --- /dev/null +++ b/archivers/py-xopen/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1509552397 +SHA256 (xopen-0.2.1.tar.gz) = 9b054f8c1c906ca416412e8b7430bac4e683a2c5ce1a59e7e62d667418165dfe +SIZE (xopen-0.2.1.tar.gz) = 4353 diff --git a/archivers/py-xopen/pkg-descr b/archivers/py-xopen/pkg-descr new file mode 100644 index 000000000000..f3639b8054d0 --- /dev/null +++ b/archivers/py-xopen/pkg-descr @@ -0,0 +1,6 @@ +This small Python module provides a 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. + +WWW: https://pypi.python.org/pypi/xopen |