From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 07/10] gnu: Add python-rauth. Date: Mon, 7 Dec 2015 21:27:55 +0200 Message-ID: <20151207212755.2d6cce93@debian-netbook> References: <1449153811-32039-1-git-send-email-efraim@flashner.co.il> <1449153811-32039-8-git-send-email-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/P1SG=XtcE3Oldef8zZ496_E"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a61Uy-0007cK-74 for guix-devel@gnu.org; Mon, 07 Dec 2015 14:31:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a61Uw-0005R2-O9 for guix-devel@gnu.org; Mon, 07 Dec 2015 14:31:00 -0500 Received: from flashner.co.il ([178.62.234.194]:43084) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a61Uw-0005Qi-D9 for guix-devel@gnu.org; Mon, 07 Dec 2015 14:30:58 -0500 In-Reply-To: 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ricardo Wurmus Cc: guix-devel@gnu.org --Sig_/P1SG=XtcE3Oldef8zZ496_E Content-Type: multipart/mixed; boundary="MP_/6W2a_.TTuU_NC7YZl=.2wI+" --MP_/6W2a_.TTuU_NC7YZl=.2wI+ Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Fri, 4 Dec 2015 10:53:42 +0100 Ricardo Wurmus wrote: > Efraim Flashner writes: >=20 > > * gnu/packages/python.scm (python-rauth, python2-rauth): New variables. > > --- > > gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++ > > 1 file changed, 33 insertions(+) > > > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > > index 21aa8fa..5c71aac 100644 > > --- a/gnu/packages/python.scm > > +++ b/gnu/packages/python.scm > > @@ -6064,6 +6064,39 @@ automatically detect a wide range of file encodi= ngs.") > > (define-public python2-chardet > > (package-with-python2 python-chardet)) > > =20 > > +(define-public python-rauth > > + (package > > + (name "python-rauth") > > + (version "0.7.2") > > + (source > > + (origin > > + (method url-fetch) > > + (uri (pypi-uri "rauth" version)) > > + (sha256 > > + (base32 > > + "00pq7zw429hhza9c0qzxiqp77m653jv09z92nralnmzwdf6pzicf")))) > > + (build-system python-build-system) > > + (arguments > > + `(#:test-target "check")) > > + (native-inputs > > + `(("python-setuptools" ,python-setuptools))) > > + (inputs > > + `(("python-requests" ,python-requests))) =20 >=20 > I think this should be a propagated input. >=20 > > + (home-page "https://github.com/litl/rauth") > > + (synopsis "Python library for OAuth 1.0/a, 2.0, and Ofly") > > + (description > > + "Rauth is a Python library for OAuth 1.0/a, 2.0, and Ofly. It al= so > > +provides service wrappers for convenient connection initialization and > > +authenticated session objects providing things like keep-alive.") > > + (license license:expat))) =20 >=20 > Otherwise OK. >=20 > > +(define-public python2-rauth > > + (let ((rauth (package-with-python2 python-rauth))) > > + (package (inherit rauth) > > + (native-inputs > > + `(("python2-unittest2", python2-unittest2) > > + ,@(package-native-inputs rauth)))))) > > + =20 >=20 > Lookin=E2=80=99 good! >=20 > ~~ Ricardo --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --MP_/6W2a_.TTuU_NC7YZl=.2wI+ Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0007-gnu-Add-python-rauth.patch =46rom 5382b2ad55475cfcf0ea7589cba4a58b87e352eb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 22 Nov 2015 22:43:51 +0200 Subject: [PATCH 07/10] gnu: Add python-rauth. * gnu/packages/python.scm (python-rauth, python2-rauth): New variables. --- gnu/packages/python.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index a6c665c..8defd9e 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6621,6 +6621,39 @@ of the SSL peer.") (propagated-inputs `(("python2-pyopenssl" ,python2-pyopenssl))))) =20 +(define-public python-rauth + (package + (name "python-rauth") + (version "0.7.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "rauth" version)) + (sha256 + (base32 + "00pq7zw429hhza9c0qzxiqp77m653jv09z92nralnmzwdf6pzicf")))) + (build-system python-build-system) + (arguments + `(#:test-target "check")) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (propagated-inputs + `(("python-requests" ,python-requests))) + (home-page "https://github.com/litl/rauth") + (synopsis "Python library for OAuth 1.0/a, 2.0, and Ofly") + (description + "Rauth is a Python library for OAuth 1.0/a, 2.0, and Ofly. It also +provides service wrappers for convenient connection initialization and +authenticated session objects providing things like keep-alive.") + (license license:expat))) + +(define-public python2-rauth + (let ((rauth (package-with-python2 python-rauth))) + (package (inherit rauth) + (native-inputs + `(("python2-unittest2", python2-unittest2) + ,@(package-native-inputs rauth)))))) + (define-public python2-futures (package (name "python2-futures") --=20 2.6.2 --MP_/6W2a_.TTuU_NC7YZl=.2wI+-- --Sig_/P1SG=XtcE3Oldef8zZ496_E Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWZd27AAoJEPTB05F+rO6T+6cQAKB8v0PqhxCRKyvdiKuSWGvv fY3SFxmUlSTEEMD5EeqdgF8LbSjS4hcKOqZ/fyU+ixfOTisHaxbRDqgNXLY6cEOd LpGPbKxxLTLOSwhafnpDyMUTN+rcqvIoR3mN5F3aqDZ5irtoblhH3+sfawoBk4jg K2g0AWw9IlNAWnGEmZ9I1Wahvl1T6X4Ag4g/qGNGbUPUZNatn+7xzM027dERsJRb POxE4XgaXUxHlKmX11NcHPFN8oETeVwXvGvqXeG77Hw3tUoYRq59ju1rhwa4fzag eq5txSVADfZYTtVaxmzw7WOFgD8/Rve8tEMuRLlkEGISFpRAFpfOGAumoUuLA36e 8ZO5bpNhHHc2cTJsjqIXitBSZp3YvjfgLf+krMrdqcBRJ+fwYuAdo57evM6yrOGF re3JHQjDMQswwLeQ8NTNNG25G3EWxROx7GYeKjdAasdpUE5FWh+/yX8BSdjgM41B 4+z7/ymzFHbytgCEln3al4kN4LzTuVBLnULL1aPr1C0SRG6TXs9DK0Dem/FqAvg0 goYkLNem+IF3VumN62wELwRFQLPpTt+Nsbodt+Enc9EtgZDGqHQjJcfeivZAmnA5 KlQLrqvqIlJjNk7lGiaJP3fmUpnHVVbM/Yf/5JNemlZXVWN+QB35U+fQ7ap6UzOq UD2tXqNgdEdMGSwNmJq2 =fZFs -----END PGP SIGNATURE----- --Sig_/P1SG=XtcE3Oldef8zZ496_E--