From mboxrd@z Thu Jan 1 00:00:00 1970 From: contact.ng0@cryptolab.net Subject: [PATCH 5/7] gnu: Add python-typing. Date: Tue, 31 Jan 2017 12:53:37 +0000 Message-ID: <20170131125339.18500-6-contact.ng0@cryptolab.net> References: <20160925173931.GD9499@jasmine> <20170131125339.18500-1-contact.ng0@cryptolab.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cYXvM-0006dx-8r for guix-devel@gnu.org; Tue, 31 Jan 2017 07:52:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cYXvL-0002oT-9n for guix-devel@gnu.org; Tue, 31 Jan 2017 07:52:40 -0500 Received: from aibo.runbox.com ([91.220.196.211]:47840) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cYXvL-0002nE-3C for guix-devel@gnu.org; Tue, 31 Jan 2017 07:52:39 -0500 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1cYXvJ-0002pv-N0 for guix-devel@gnu.org; Tue, 31 Jan 2017 13:52:37 +0100 In-Reply-To: <20170131125339.18500-1-contact.ng0@cryptolab.net> 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: ng0 From: ng0 * gnu/packages/python.scm (python-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 88762a412..285207543 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -1402,6 +1402,33 @@ Python 3.3+.") (define-public python2-simplejson (package-with-python2 python-simplejson)) +(define-public python-typing + (package + (name "python-typing") + (version "3.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "typing" version ".2.tar.gz")) + (sha256 + (base32 + "0bvpqkmrnl5qs5491yb4irrkd8sha84g6xy8cclp3bsk4qlk9kib")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; No tests + (home-page "https://docs.python.org/3.5/library/typing.html") + (synopsis "Type Hints for Python") + (description + "This is a backport of the standard library typing module to +Python versions older than 3.5. 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 (package-license python)))) + +(define-public python2-typing + (package-with-python2 python-typing)) (define-public python-pyicu (package -- 2.11.0