From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: [PATCH] gnu: Add python2-qrcode Date: Tue, 14 Jun 2016 19:51:01 +0000 Message-ID: <20160614195101.GA32427@khazad-dum> References: <37a4098c2f54e331321179bc1dca5a59@d4n1.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zYM0uCDKw75PZbzx" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCuMq-00011S-KW for guix-devel@gnu.org; Tue, 14 Jun 2016 15:51:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bCuMm-00009B-EO for guix-devel@gnu.org; Tue, 14 Jun 2016 15:51:19 -0400 Received: from 93-95-228-168.1984.is ([93.95.228.168]:45847 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bCuMm-00008x-00 for guix-devel@gnu.org; Tue, 14 Jun 2016 15:51:16 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id 4ed66c55 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Tue, 14 Jun 2016 19:51:10 +0000 (UTC) Content-Disposition: inline In-Reply-To: <37a4098c2f54e331321179bc1dca5a59@d4n1.org> 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: guix-devel@gnu.org --zYM0uCDKw75PZbzx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2016-06-14(04:26:08PM-0300), Daniel Pimentel wrote: > Added python2-qrcode. > > -- > Daniel Pimentel (aka d4n1) > From 3a9c7b2ed591a32ff7d8b40f1b24ee51f8350577 Mon Sep 17 00:00:00 2001 > From: Daniel Pimentel > Date: Tue, 14 Jun 2016 16:23:41 -0300 > Subject: [PATCH 3/3] gnu: Add python2-qrcode > > --- > gnu/packages/python.scm | 26 ++++++++++++++++++++++++++ > 1 file changed, 26 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index c9ac1f1..efdce9a 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -9058,3 +9058,29 @@ new (proposed) 2.0 spec, which includes batch subm= ission, keyword arguments, > "This module implements the password-based key derivation function, > PBKDF2, specified in RSA PKCS#5 v2.0.") > (license license:expat))) > + > +(define-public python2-qrcode > + (package > + (name "python2-qrcode") > + (version "5.1") > + (source (origin > + (method url-fetch) > + (uri (string-append > + "http://pypi.python.org/packages/source/q/qrcode/qrc= ode-" Could you use https://pypi.python.org/packages/source/q/qrcode/qrcode-" instead of the http uri? > + version ".tar.gz")) > + (sha256 > + (base32 > + "0skzrvhjnnacrz52jml4i050vdx5lfcd3np172srxjaghdgfxg9k"))= )) > + (build-system python-build-system) > + (inputs > + `(("python2-setuptools" ,python2-setuptools) > + ("python2-pillow" ,python2-pillow) > + ("python2-six" ,python2-six))) > + (arguments > + `(#:python ,python-2)) ; only Python 2.7 is supported > + (home-page "https://pypi.python.org/pypi/qrcode") > + (synopsis "Python library to generate QR Codes") > + (description > + "Python library that uses image libraries, Python Imaging Library (= PIL) > +by default, to generate QR Codes.") > + (license license:expat))) > -- > 2.7.4 > Otherwise it looks good to me. I can't run it because I'm running and testi= ng something myself. thanks, -- =E2=99=A5=E2=92=B6 ng0 For non-prism friendly talk find me on psyced.org / loupsycedyglgamf.onion --zYM0uCDKw75PZbzx Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iF4EARYKAAYFAldgYBsACgkQhhoAchyzrCBfewD/TN9wV+TOKm9AoWJT40MTYjew sWt7O8GxhekhGbmidz0BAO/9/0koAaIdfglEZUIA+rb870UHn+xjGznWsuM+h1cF =H9rm -----END PGP SIGNATURE----- --zYM0uCDKw75PZbzx--