diff options
| author | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-12-14 23:25:05 +0100 |
|---|---|---|
| committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2016-12-19 20:33:31 +0100 |
| commit | 361a2fcf8dc0ea6063f7c23d55ccec474e694330 (patch) | |
| tree | 1ea1bcf68567ab8e09b9e319a3c027ac20f5c887 /gnu/packages/python.scm | |
| parent | 565775399e700883b9ccf241fd4f23eeea629b50 (diff) | |
gnu: Add python-xopen.
* gnu/packages/python.scm (python-xopen, python2-xopen): New variables.
Diffstat (limited to 'gnu/packages/python.scm')
| -rw-r--r-- | gnu/packages/python.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 76e6ac16565..bfa7eae55ff 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm | |||
| @@ -11927,3 +11927,28 @@ network.") | |||
| 11927 | 11927 | ||
| 11928 | (define-public python2-argcomplete | 11928 | (define-public python2-argcomplete |
| 11929 | (package-with-python2 python-argcomplete)) | 11929 | (package-with-python2 python-argcomplete)) |
| 11930 | |||
| 11931 | (define-public python-xopen | ||
| 11932 | (package | ||
| 11933 | (name "python-xopen") | ||
| 11934 | (version "0.1.1") | ||
| 11935 | (source | ||
| 11936 | (origin | ||
| 11937 | (method url-fetch) | ||
| 11938 | (uri (pypi-uri "xopen" version)) | ||
| 11939 | (sha256 | ||
| 11940 | (base32 | ||
| 11941 | "1wx6mylzcsyhjl19ycb83qq6iqpmr927lz62njfsar6ldsj0qcni")) | ||
| 11942 | (file-name (string-append name "-" version ".tar.gz")))) | ||
| 11943 | (build-system python-build-system) | ||
| 11944 | (home-page "https://github.com/marcelm/xopen/") | ||
| 11945 | (synopsis "Open compressed files transparently") | ||
| 11946 | (description "This module provides an @code{xopen} function that works like | ||
| 11947 | Python's built-in @code{open} function, but can also deal with compressed files. | ||
| 11948 | Supported compression formats are gzip, bzip2 and, xz, and are automatically | ||
| 11949 | recognized by their file extensions. The focus is on being as efficient as | ||
| 11950 | possible on all supported Python versions.") | ||
| 11951 | (license license:expat))) | ||
| 11952 | |||
| 11953 | (define-public python2-xopen | ||
| 11954 | (package-with-python2 python-xopen)) | ||
