From: Marius Bakke <mbakke@fastmail.com>
To: Tobias Geerinckx-Rice <me@tobias.gr>, guix-devel@gnu.org
Subject: Re: [PATCH] gnu: Add python-xopen.
Date: Thu, 15 Dec 2016 10:20:07 +0100 [thread overview]
Message-ID: <87fulpsg54.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <20161214225712.31168-1-me@tobias.gr>
[-- Attachment #1: Type: text/plain, Size: 1728 bytes --]
Tobias Geerinckx-Rice <me@tobias.gr> 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
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
next prev parent reply other threads:[~2016-12-15 9:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-14 22:57 [PATCH] gnu: Add python-xopen Tobias Geerinckx-Rice
2016-12-15 9:20 ` Marius Bakke [this message]
2016-12-15 10:02 ` Tobias Geerinckx-Rice
2016-12-16 16:09 ` Marius Bakke
2016-12-18 1:00 ` Tobias Geerinckx-Rice
2016-12-18 1:23 ` Ben Woodcroft
2016-12-18 10:07 ` Hartmut Goebel
2016-12-18 16:21 ` Tobias Geerinckx-Rice
2016-12-16 20:19 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fulpsg54.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
--to=mbakke@fastmail.com \
--cc=guix-devel@gnu.org \
--cc=me@tobias.gr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).