aboutsummaryrefslogtreecommitdiff
path: root/archivers/py-xopen
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2017-11-29 16:00:39 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2017-11-29 16:00:39 +0000
commitc08c101b3ff79278d8464d9624a6f719c423187a (patch)
treeb7a26a8826b16ef5b3e463f09ab12ce7dbd1a7a1 /archivers/py-xopen
parent41115d47539acace9a92ce28c0be7a2a863ddebc (diff)
downloadports-c08c101b3ff79278d8464d9624a6f719c423187a.tar.gz
ports-c08c101b3ff79278d8464d9624a6f719c423187a.zip
[new port] archivers/py-xopen: Open compressed files transparently
Approved by: jrm (mentor) Differential Revision: https://reviews.freebsd.org/D13292
Notes
Notes: svn path=/head/; revision=455116
Diffstat (limited to 'archivers/py-xopen')
-rw-r--r--archivers/py-xopen/Makefile19
-rw-r--r--archivers/py-xopen/distinfo3
-rw-r--r--archivers/py-xopen/pkg-descr6
3 files changed, 28 insertions, 0 deletions
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