From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: [PATCH 3/5] gnu: python-wheel: Define 'python2-variant'. Date: Thu, 11 Feb 2016 21:13:45 +0200 Message-ID: <20160211211345.0b3a57ab@debian-netbook> References: <9ab0a5111a1fd1d8c3724e1f0b49190174079a6b.1455005066.git.leo@famulari.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; boundary="Sig_/YnSdPf+aurdH..xeExgb5+G"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwiY-0006HM-Sr for guix-devel@gnu.org; Thu, 11 Feb 2016 14:15:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwiT-0004fH-5j for guix-devel@gnu.org; Thu, 11 Feb 2016 14:15:54 -0500 Received: from flashner.co.il ([178.62.234.194]:44766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwiS-0004f1-Tj for guix-devel@gnu.org; Thu, 11 Feb 2016 14:15:49 -0500 In-Reply-To: <9ab0a5111a1fd1d8c3724e1f0b49190174079a6b.1455005066.git.leo@famulari.name> 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_/YnSdPf+aurdH..xeExgb5+G Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 9 Feb 2016 03:11:01 -0500 Leo Famulari wrote: > * gnu/packages/python.scm (python-wheel)[properties]: New field. > (python2-wheel): Use 'strip-python2-variant'. > --- > gnu/packages/python.scm | 14 +++++++------- > 1 file changed, 7 insertions(+), 7 deletions(-) >=20 > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 0a90e48..4d6b1f7 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -2141,16 +2141,16 @@ packages will be properly installed with only the= @code{Unpack} step and the > unpacked archive preserves enough information to @code{Spread} (copy dat= a and > scripts to their final locations) at any later time. Wheel files can be > installed with a newer @code{pip} or with wheel's own command line utili= ty.") > - (license license:expat))) > + (license license:expat) > + (properties `((python2-variant . ,(delay python2-wheel)))))) > =20 > (define-public python2-wheel > - (let ((wheel (package-with-python2 python-wheel))) > + (let ((wheel (package-with-python2 > + (strip-python2-variant python-wheel)))) > (package (inherit wheel) > - (native-inputs > - `(("python2-functools32" ,python2-functools32) > - ("python2-jsonschema" ,python2-jsonschema) > - ,@(alist-delete "python-jsonschema" > - (package-native-inputs wheel))))))) > + (native-inputs `(("python2-functools32" ,python2-functools32) > + ,@(package-native-inputs wheel)))))) > + > =20 > (define-public python-requests > (package You can delete the python2-wheel specified in python2-requests, which means you can follow python2-requests around and delete those ones specified also. --=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_/YnSdPf+aurdH..xeExgb5+G Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCgAGBQJWvN1qAAoJEPTB05F+rO6TK5AP/jJWnSYTlBjyCcI7ICLzLj/o B4isGbtUVd6Kx421jgcvALXrqS/nZXex2BBFaTCvtE2ajWU2RtQPRb0NPvtfbWew RbXN8mz4wspmOL3nbAhLyS/f/aaVrKH/9xXONnfWk+NMvkg0VPm/WFC594uGnzkG zNfVVE2lT3f0wHbL15RvhqGSHH8hfWke9Q6LdV+nyMdWvaBNxv26TbsB4zjFANsv VeLYgFF2Rj6edvi9LYAJv5Dhs3EyCVRhdahwCQEcOh1yrhq5qAUA4xVnkv2//LOX UGBmKKYZHqRvcif87X7ON7nBvXTgt4MeofDCQh2sRxWCkAJ5RpaOzY3uH/FaYZ2F +7JUcjkwhus7sefpnB2TYUKN5C1WNg9PwvRm/OgJwE252NJUliLTMtmB4lPcqaFM T1Cbp0jolv+UDbf9f21+6dx0WgtXZXTlvjFQjPSC7VgWGEAXR1dRakUrS5fV0TuZ TyDZj4uWddQAfPjNVwUAxLonoJR0AZ2Jal3Xl/T4qJmydcdJbUpDutDSaDIVf8TG 6m5Bzu5pXY4P15GdVjdkHpwb7K1Oy+AkgVZKWKnueCAjeXxe9j93x3dI8Z/uF08P lzj7YOVOQWon/W51NSMv2MjofX2k3Cdz9SGga+PvUtiR80Ken/enIDNZydOOD6xi csZINyYER+y4Z05l/+w4 =YZzV -----END PGP SIGNATURE----- --Sig_/YnSdPf+aurdH..xeExgb5+G--