From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brendan Tildesley Subject: [PATCH 1/3] gnu: Add python-typing Date: Tue, 20 Sep 2016 21:31:11 +1000 Message-ID: References: <595814a0-d4cb-1359-a520-11412ce90fe6@openmailbox.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------D6281EDF008A6E666FF09DBA" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55530) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmJGn-00081g-Ja for guix-devel@gnu.org; Tue, 20 Sep 2016 07:31:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmJGi-0004Kw-AX for guix-devel@gnu.org; Tue, 20 Sep 2016 07:31:24 -0400 Received: from smtp7.openmailbox.org ([62.4.1.41]:42513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmJGi-0004K4-3y for guix-devel@gnu.org; Tue, 20 Sep 2016 07:31:20 -0400 In-Reply-To: <595814a0-d4cb-1359-a520-11412ce90fe6@openmailbox.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 This is a multi-part message in MIME format. --------------D6281EDF008A6E666FF09DBA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit --------------D6281EDF008A6E666FF09DBA Content-Type: text/x-patch; name="0001-gnu-Add-python-typing.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-gnu-Add-python-typing.patch" >From 3536a1cecbd10a499b1a76c34b7cd7b1b11c5f61 Mon Sep 17 00:00:00 2001 From: Brendan Tildesley Date: Tue, 20 Sep 2016 19:45:28 +1000 Subject: [PATCH 1/3] gnu: Add python-typing. * gnu/packages/python.scm (python-typing): New variable. * gnu/packages/python.scm (python2-typing): New variable. --- gnu/packages/python.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 96589fc..77fcdf6 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -10891,3 +10891,30 @@ with an associated set of resolve methods that know how to fetch data.") provide extendible implementations of common aspects of a cloud so that you can focus on building massively scalable web applications.") (license license:expat))) + +(define-public python-typing + (package + (name "python-typing") + (version "3.5.2.2") + (source + (origin + (method url-fetch) + (uri (string-append (pypi-uri "typing" version))) + (sha256 + (base32 + "0bvpqkmrnl5qs5491yb4irrkd8sha84g6xy8cclp3bsk4qlk9kib")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (arguments + `(#:tests? #f)) ; no setup.py test + (home-page "https://docs.python.org/3.5/library/typing.html") + (synopsis "Type Hints for Python") + (description "Typing defines a standard notation for Python function and +variable type annotations. The notation can be used for documenting code in a +concise, standard format, and it has been designed to also be used by static +and runtime type checkers, static analyzers, IDEs and other tools.") + (license license:psfl))) + +(define-public python2-typing + (package-with-python2 python-typing)) -- 2.9.3 --------------D6281EDF008A6E666FF09DBA--