From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH] gnu: Add python-xopen. Date: Thu, 15 Dec 2016 10:20:07 +0100 Message-ID: <87fulpsg54.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <20161214225712.31168-1-me@tobias.gr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHSD1-0001EG-MI for guix-devel@gnu.org; Thu, 15 Dec 2016 04:20:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHSCy-00048Q-5Y for guix-devel@gnu.org; Thu, 15 Dec 2016 04:20:15 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:43539) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHSCx-00046l-Qn for guix-devel@gnu.org; Thu, 15 Dec 2016 04:20:12 -0500 In-Reply-To: <20161214225712.31168-1-me@tobias.gr> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tobias Geerinckx-Rice , guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice 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.") >=20=20 > (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 wor= ks like > +Python's built-in @code{open} function, but can also deal with compresse= d files. > +Supported compression formats are gzip, bzip2 and, xz, and are automatic= ally > +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)) > --=20 > 2.9.3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlhSYEcACgkQoqBt8qM6 VPrpvAf/Wh8jXB6tGz+cYUP5n5LpIh7lO6Nn0WBCYTKTsenFSi/CYroTWkpY9O14 C4/JDZBlyuXItYi2v5gm5cMQdObofPH9DRKIaeT5wgNRgaeXEkWgKJ+kn0XdKKME x/KaRKl94guVXdqezGHCZflWCaKkAdqIfyPrZ4HtSvjCP1zGqyYZX9mHJNcvMb4t YmxVvL36+foXLxJfDTwfxm2oEDO1s7xlt4IRYdeXAhZH1MOhRa5cjAttU598f19q lOZiJN6RjT3qf4Dr9eGTljtgynuT0/3ftsf37gH0UNZCoTJ+V0w9BX90TJI3Ivul iWm65JQwod3xDq7QPllTKLnjyKFU/A== =Nay9 -----END PGP SIGNATURE----- --=-=-=--