[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/09: gnu: Add python-typing.
From: |
Ricardo Wurmus |
Subject: |
04/09: gnu: Add python-typing. |
Date: |
Thu, 15 Feb 2018 11:19:32 -0500 (EST) |
rekado pushed a commit to branch core-updates
in repository guix.
commit fc162dbaec1348d42361e0f12fc0ea731d53141b
Author: Ricardo Wurmus <address@hidden>
Date: Wed Feb 14 14:27:26 2018 +0100
gnu: Add python-typing.
* gnu/packages/python.scm (python-typing, python2-typing): New variables.
---
gnu/packages/python.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index b05a4a4..c3459cc 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -12707,3 +12707,28 @@ and @code{tokens_to_src} to roundtrip.")
source bytes using the UTF-8 encoding and then rewrites Python 3.6 style
@code{f} strings.")
(license license:expat)))
+
+(define-public python-typing
+ (package
+ (name "python-typing")
+ (version "3.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "typing" version))
+ (sha256
+ (base32
+ "1wmk9nkh30n37cbrqwkbggmj2390lhrlagjkd0ikm02l88saj06l"))))
+ (build-system python-build-system)
+ (home-page "https://docs.python.org/3/library/typing.html")
+ (synopsis "Type hints for Python")
+ (description "This is a backport of the standard library @code{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 license:psfl)))
+
+(define-public python2-typing
+ (package-with-python2 python-typing))
- branch core-updates updated (84fe442 -> 4aa0a1d), Ricardo Wurmus, 2018/02/15
- 03/09: gnu: Add python-future-fstrings., Ricardo Wurmus, 2018/02/15
- 01/09: gnu: augeas: Update to 1.10.1., Ricardo Wurmus, 2018/02/15
- 07/09: gnu: Add python-loompy., Ricardo Wurmus, 2018/02/15
- 02/09: gnu: Add python-tokenize-rt., Ricardo Wurmus, 2018/02/15
- 04/09: gnu: Add python-typing.,
Ricardo Wurmus <=
- 06/09: gnu: Add r-dropbead., Ricardo Wurmus, 2018/02/15
- 05/09: gnu: Add r-delayedmatrixstats., Ricardo Wurmus, 2018/02/15
- 08/09: gnu: java-testng: Update to 6.14.2., Ricardo Wurmus, 2018/02/15
- 09/09: gnu: java-jeromq: Update to 0.4.3., Ricardo Wurmus, 2018/02/15