From: wednesday <jessejohngildersleve@zohomail.eu>
To: 35193@debbugs.gnu.org
Cc: wednesday <jessejohngildersleve@zohomail.eu>
Subject: [bug#35193] [PATCH v2 2/3] gnu: Add python-mypy-extensions
Date: Tue, 30 Apr 2019 16:29:13 +0100 [thread overview]
Message-ID: <20190430152914.13616-3-jessejohngildersleve@zohomail.eu> (raw)
In-Reply-To: <20190430152914.13616-1-jessejohngildersleve@zohomail.eu>
* gnu/packages/python-xyz.scm (python-mypy-extensions,
python2-mypy-extensions): New public variables.
---
gnu/packages/python-xyz.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 79271f0e41..01c065fc83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15653,3 +15653,29 @@ under which they are run. The typed_ast parsers produce the standard Python AST
(plus type comments), and are both fast and correct, as they are based on the
CPython 2.7 and 3.6 parsers.")
(license license:asl2.0)))
+
+(define-public python-mypy-extensions
+ (package
+ (name "python-mypy-extensions")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "mypy_extensions" version))
+ (sha256
+ (base32
+ "04h8brrbbx151dfa2cvvlnxgmb5wa00mhd2z7nd20s8kyibfkq1p"))))
+ (build-system python-build-system)
+ (home-page "http://www.mypy-lang.org/")
+ (synopsis "Experimental type system extensions for programs checked with mypy")
+ (description "The @code{mypy_extensions} module defines experimental extensions to the
+standard @code{typing} module that are supported by the mypy typechecker.")
+ (license license:expat)))
+
+(define-public python2-mypy-extensions
+ (let ((mypy (package-with-python2
+ (strip-python2-variant python-mypy-extensions))))
+ (package (inherit mypy)
+ (propagated-inputs
+ `(("python2-typing" ,python2-typing)
+ ,@(package-propagated-inputs mypy))))))
--
2.21.0
next prev parent reply other threads:[~2019-04-30 15:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-08 13:44 [bug#35193] [PATCH 0/3] Add python-mypy and required packages JesseJohnGildersleve
2019-04-08 14:20 ` [bug#35193] [PATCH 1/3] Add python-typed-ast JesseJohnGildersleve
2019-04-08 14:21 ` [bug#35193] [PATCH 2/3] Add python-mypy-extensions JesseJohnGildersleve
2019-04-08 14:23 ` [bug#35193] [PATCH 3/3] Add python-mypy JesseJohnGildersleve
2019-04-30 15:29 ` [bug#35193] [PATCH v2 0/3] Updating and fixing mypy packages wednesday
2019-04-30 15:29 ` [bug#35193] [PATCH v2 1/3] gnu: Add python-typed-ast wednesday
2019-04-30 15:29 ` wednesday [this message]
2019-04-30 15:29 ` [bug#35193] [PATCH v2 3/3] gnu: Add python-mypy wednesday
2019-06-27 14:11 ` swedebugia
2021-04-03 3:20 ` bug#35193: [PATCH 0/3] Add python-mypy and required packages Maxim Cournoyer
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=20190430152914.13616-3-jessejohngildersleve@zohomail.eu \
--to=jessejohngildersleve@zohomail.eu \
--cc=35193@debbugs.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).