unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Marius Bakke <mbakke@fastmail.com>
To: guix-devel@gnu.org
Cc: Muriithi Frederick Muriuki <fredmanglis@gmail.com>
Subject: Re: [PATCH 5/6] gnu: Add python-typing
Date: Wed, 08 Feb 2017 23:38:04 +0100	[thread overview]
Message-ID: <8760kkb96b.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <1486490441-3995-5-git-send-email-fredmanglis@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]

Muriithi Frederick Muriuki <fredmanglis@gmail.com> 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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2017-02-08 22:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-07 18:00 [PATCH 1/6] gnu: Add python-rst2ansi Muriithi Frederick Muriuki
2017-02-07 18:00 ` [PATCH 2/6] gnu: Add python-flake8-polyfill Muriithi Frederick Muriuki
2017-02-08 22:29   ` Marius Bakke
2017-02-07 18:00 ` [PATCH 3/6] gnu: Add python-ddt Muriithi Frederick Muriuki
2017-02-08 22:32   ` Marius Bakke
2017-02-09 22:29   ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 4/6] gnu: Add python-pycosat Muriithi Frederick Muriuki
2017-02-08 22:35   ` Marius Bakke
2017-02-09 16:46     ` Frederick Muriithi
2017-02-07 18:00 ` [PATCH 5/6] gnu: Add python-typing Muriithi Frederick Muriuki
2017-02-08 22:38   ` Marius Bakke [this message]
2017-02-09 17:04     ` Frederick Muriithi
2017-02-09 22:33       ` Hartmut Goebel
2017-02-07 18:00 ` [PATCH 6/6] gnu: Add python-ruamel.ordereddict Muriithi Frederick Muriuki
2017-02-08 22:40   ` Marius Bakke
2017-02-08 22:27 ` [PATCH 1/6] gnu: Add python-rst2ansi Marius Bakke
2017-02-09 16:13   ` Frederick Muriithi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760kkb96b.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me \
    --to=mbakke@fastmail.com \
    --cc=fredmanglis@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).