From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marius Bakke Subject: Re: [PATCH 5/6] gnu: Add python-typing Date: Wed, 08 Feb 2017 23:38:04 +0100 Message-ID: <8760kkb96b.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> References: <1486490441-3995-1-git-send-email-fredmanglis@gmail.com> <1486490441-3995-5-git-send-email-fredmanglis@gmail.com> 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]:59092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cbasM-0000Gh-Tx for guix-devel@gnu.org; Wed, 08 Feb 2017 17:38:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cbasJ-0006X3-Q7 for guix-devel@gnu.org; Wed, 08 Feb 2017 17:38:10 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:54117) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cbasJ-0006Wc-ML for guix-devel@gnu.org; Wed, 08 Feb 2017 17:38:07 -0500 In-Reply-To: <1486490441-3995-5-git-send-email-fredmanglis@gmail.com> 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 Cc: Muriithi Frederick Muriuki --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Muriithi Frederick Muriuki writes: > * gnu/packages/python.scm (python-typing): New variable. > --- > gnu/packages/python.scm | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > > diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm > index 170107a..ef3d9bd 100644 > --- a/gnu/packages/python.scm > +++ b/gnu/packages/python.scm > @@ -12625,3 +12625,23 @@ faster ones are not available.") > "This package provides efficient Python bindings to picosat on the = C level, i.e. > when importing pycosat, the picosat solver becomes part of the Python p= rocess itself") > (license license:expat))) > + > +(define-public python-typing > + (package > + (name "python-typing") > + (version "3.5.3.0") > + (source > + (origin > + (method url-fetch) > + (uri (pypi-uri "typing" version)) > + (sha256 > + (base32 > + "08gz3grrh3vph5ib1w5x1ssnpzvj077x030lx63fxs4kwg3slbfa")))) > + (build-system python-build-system) > + (home-page > + "https://docs.python.org/3.5/library/typing.html") If this is provided by the standard library as this link implies, why do we need this package? Is it a python2 backport? In that case it should be named "python2-typing" and you'll need to specify #:python as argument. > + (synopsis "Type Hints for Python") > + (description "This module supports type hints as specified by PEP 48= 4. The most > + fundamental support consists of the types Any, Union, Tuple, Callable, = TypeVar, and > + Generic. For full specification please see PEP 484") > + (license license:psfl))) > --=20 > 2.1.4 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAlibncwACgkQoqBt8qM6 VPpXnAf+Nw9NNpF+345uyBDE9hrFX0QsELCHAtei3/u8jtuK0b+t44AJ88CwRFSO J0nCv8DOmyNxTXWk35/eaxhcAbB1UE1GaKLspmcII4LG5RWTIZWVVFVu3HyxcCUx TuuG7M8i45uOcCBv0yVIE0XDzHFBVRe2WF6LDAmRf9uwerSGSJQK0rQ3aswLXg/f ge1SKGzqMA7S2x1z7eZJnlX5G4r/jCNG1paKvQseHefk47EuScQgXg6SPA4YZjUo nb2ngSDLQKpVrHThV5fv3C4HCW1AfeOIXL7v370ojI2URYneDJlx/cAM0gjp83sR 9qfcEmWJ7euqs+dkHndL+J43C7guqA== =jsc0 -----END PGP SIGNATURE----- --=-=-=--