From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 1/5] gnu: python-cryptography: Define 'python2-variant'. Date: Thu, 11 Feb 2016 21:05:48 +0200 Message-ID: <20160211210548.06e2d43d@debian-netbook> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/u5/Cay2ty8YoAK7CNQd9YOm"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwic-0006HY-L9 for guix-devel@gnu.org; Thu, 11 Feb 2016 14:16:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwiW-0004ii-KP for guix-devel@gnu.org; Thu, 11 Feb 2016 14:15:58 -0500 Received: from flashner.co.il ([178.62.234.194]:44771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwiW-0004iN-9Q for guix-devel@gnu.org; Thu, 11 Feb 2016 14:15:52 -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: Leo Famulari Cc: guix-devel@gnu.org --Sig_/u5/Cay2ty8YoAK7CNQd9YOm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 9 Feb 2016 03:10:59 -0500 Leo Famulari wrote: > * gnu/packages/python.scm (python-cryptography)[properties]: New field. > (python2-cryptography): Use 'strip-python2-variant'. > --- > gnu/packages/python.scm | 20 +++++++------------- > 1 file changed, 7 insertions(+), 13 deletions(-) >=20 > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 5b988c1..982de40 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -2334,11 +2334,8 @@ OAuth request-signing logic.") > (let ((base (package-with-python2 python-oauthlib))) > (package > (inherit base) > - (inputs > - `(("python2-unittest2" ,python2-unittest2) > - ("python2-cryptography" ,python2-cryptography) > - ,@(alist-delete "python-cryptography" > - (package-inputs base))))))) > + (inputs `(("python2-unittest2" ,python2-unittest2) > + ,@(package-inputs base)))))) > =20 > (define-public python-itsdangerous > (package > @@ -5821,10 +5818,12 @@ library=E2=80=9D for Python. The package include= s both high level recipes, and low > level interfaces to common cryptographic algorithms such as symmetric ci= phers, > message digests and key derivation functions.") > ;; Distributed under either BSD-3 or ASL2.0 > - (license (list bsd-3 asl2.0)))) > + (license (list bsd-3 asl2.0)) > + (properties `((python2-variant . ,(delay python2-cryptography)))))) > =20 > (define-public python2-cryptography > - (let ((crypto (package-with-python2 python-cryptography))) > + (let ((crypto (package-with-python2 > + (strip-python2-variant python-cryptography)))) > (package (inherit crypto) > (propagated-inputs > `(("python2-ipaddress" ,python2-ipaddress) > @@ -5881,12 +5880,7 @@ library.") > (license asl2.0))) > =20 > (define-public python2-pyopenssl > - (let ((pyopenssl (package-with-python2 python-pyopenssl))) > - (package (inherit pyopenssl) > - (propagated-inputs > - `(("python2-cryptography" ,python2-cryptography) > - ,@(alist-delete "python-cryptography" > - (package-propagated-inputs pyopenssl))))))) > + (package-with-python2 python-pyopenssl)) > =20 > (define-public python-pip > (package This one looks good to me --=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 --Sig_/u5/Cay2ty8YoAK7CNQd9YOm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWvNuMAAoJEPTB05F+rO6Tg8QQAJROkX2DM/dwrlHUL6JqfJlK BooxLZ2gTIOIr9/A4l97dKyGxbvaG1i8xUfl7RusfLxtBMqZhCZ4o30xLsPG442K pUQiIA6YKFa+Vx/tcz5ROaNIwpwzb4+wh76ANXVTbGv2LAVwU1Nxqs+FH0nFqFor rWh9IK5+XJWk/huDASKWI39py0qvre5x3NtltVdGtI1ceB7E2uEOPdNnyJrOEwQw nnwGq5rfIl8rbOdLX1D5waNvQCAtL0xekugyozXWR1sZqv0Hf+P2iJ+3j26dYpre 0hpsxlI8U3WZftUCuk6VkIpJbIyzHonL9Szy582jWvfYXh93WQjKG7LeYrUDz9Ld LMtaeXqf+rKVN+Y9xD6DI6vKg4rnkaReXrFpJgP0oFhA0nasvw837UAyZVwVuHaw zOEXNHApiq3t3m1lNxRDqsu4ELCikPrEMs4PMLQ22QxLQJ9sVl7xZi0BOq8aEPv4 e0MYlFsUC/7V8Irb+7QDklYgTYLdsxK/TDJlqykk0R7fL5d91dBESC6cNKyZswvX ljYe5mS/Bc9Oegq2ymavUeJBY+z+R0n3Xl5JizW9jjSiUSdoSOjAz+B1nkRlya/H wTC+Cuk2RYz5+lcMfPiIUGpVcSzZYRUrkfUk0FJneS50MeI/MtauWjnIe8W8F/0s 2oe3i5PMhxZPolpLO/JI =zLKz -----END PGP SIGNATURE----- --Sig_/u5/Cay2ty8YoAK7CNQd9YOm--