[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/6] gnu: Add python-typing
From: |
Marius Bakke |
Subject: |
Re: [PATCH 5/6] gnu: Add python-typing |
Date: |
Wed, 08 Feb 2017 23:38:04 +0100 |
User-agent: |
Notmuch/0.23.5 (https://notmuchmail.org) Emacs/25.1.1 (x86_64-unknown-linux-gnu) |
Muriithi Frederick Muriuki <address@hidden> 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
> process 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 484.
> 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)))
> --
> 2.1.4
signature.asc
Description: PGP signature