[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add python-xopen.
From: |
Marius Bakke |
Subject: |
Re: [PATCH] gnu: Add python-xopen. |
Date: |
Thu, 15 Dec 2016 10:20:07 +0100 |
User-agent: |
Notmuch/0.23.3 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
Tobias Geerinckx-Rice <address@hidden> writes:
> * gnu/packages/python.scm (python-xopen, python2-xopen): New variables.
> ---
> gnu/packages/python.scm | 26 ++++++++++++++++++++++++++
> 1 file changed, 26 insertions(+)
>
> diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
> index 789e199..70c5aed 100644
> --- a/gnu/packages/python.scm
> +++ b/gnu/packages/python.scm
> @@ -11929,3 +11929,29 @@ 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 (string-append "https://github.com/marcelm/xopen/archive/v"
> + version ".tar.gz"))
Why not use 'pypi-uri' here? Otherwise LGTM.
> + (sha256
> + (base32
> + "1dp0fg56fk5kiz9n1h82b6bf9vf15p4c79bvidlbgvsx3jqqaa39"))
> + (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))
> --
> 2.9.3
signature.asc
Description: PGP signature
- [PATCH] gnu: Add python-xopen., Tobias Geerinckx-Rice, 2016/12/14
- Re: [PATCH] gnu: Add python-xopen.,
Marius Bakke <=
- Re: [PATCH] gnu: Add python-xopen., Tobias Geerinckx-Rice, 2016/12/15
- Re: [PATCH] gnu: Add python-xopen., Marius Bakke, 2016/12/16
- Re: [PATCH] gnu: Add python-xopen., Tobias Geerinckx-Rice, 2016/12/17
- Re: [PATCH] gnu: Add python-xopen., Ben Woodcroft, 2016/12/17
- Re: [PATCH] gnu: Add python-xopen., Hartmut Goebel, 2016/12/18
- Re: [PATCH] gnu: Add python-xopen., Tobias Geerinckx-Rice, 2016/12/18
- Re: [PATCH] gnu: Add python-xopen., Leo Famulari, 2016/12/16