guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: Add python-xopen.


From: Tobias Geerinckx-Rice
Subject: 01/03: gnu: Add python-xopen.
Date: Mon, 19 Dec 2016 19:42:22 +0000 (UTC)

nckx pushed a commit to branch master
in repository guix.

commit 361a2fcf8dc0ea6063f7c23d55ccec474e694330
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Wed Dec 14 23:25:05 2016 +0100

    gnu: Add python-xopen.
    
    * gnu/packages/python.scm (python-xopen, python2-xopen): New variables.
---
 gnu/packages/python.scm |   25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 76e6ac1..bfa7eae 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -11927,3 +11927,28 @@ network.")
 
 (define-public python2-argcomplete
   (package-with-python2 python-argcomplete))
+
+(define-public python-xopen
+  (package
+    (name "python-xopen")
+    (version "0.1.1")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (pypi-uri "xopen" version))
+        (sha256
+          (base32
+           "1wx6mylzcsyhjl19ycb83qq6iqpmr927lz62njfsar6ldsj0qcni"))
+        (file-name (string-append name "-" version ".tar.gz"))))
+    (build-system python-build-system)
+    (home-page "https://github.com/marcelm/xopen/";)
+    (synopsis "Open compressed files transparently")
+    (description "This module provides an @code{xopen} function that works like
+Python's built-in @code{open} function, but can also deal with compressed 
files.
+Supported compression formats are gzip, bzip2 and, xz, and are automatically
+recognized by their file extensions.  The focus is on being as efficient as
+possible on all supported Python versions.")
+    (license license:expat)))
+
+(define-public python2-xopen
+  (package-with-python2 python-xopen))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]