[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/7] gnu: Add python-typing.
From: |
contact . ng0 |
Subject: |
[PATCH 5/7] gnu: Add python-typing. |
Date: |
Tue, 31 Jan 2017 12:53:37 +0000 |
From: ng0 <address@hidden>
* 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
- tinycm., contact . ng0, 2017/01/31
- [PATCH 1/7] gnu: Add python-boolexp., contact . ng0, 2017/01/31
- [PATCH 7/7] gnu: Add tinycm., contact . ng0, 2017/01/31
- [PATCH 2/7] gnu: Add python-colorlog., contact . ng0, 2017/01/31
- [PATCH 6/7] gnu: Add python-ruamel.yaml., contact . ng0, 2017/01/31
- [PATCH 3/7] gnu: Add python2-ruamel.ordereddict, contact . ng0, 2017/01/31
- [PATCH 5/7] gnu: Add python-typing.,
contact . ng0 <=
- [PATCH 4/7] gnu: Add python-distro., contact . ng0, 2017/01/31