guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

22/28: gnu: Add python-mypy-minimal.


From: guix-commits
Subject: 22/28: gnu: Add python-mypy-minimal.
Date: Fri, 15 Jan 2021 16:34:53 -0500 (EST)

apteryx pushed a commit to branch core-updates
in repository guix.

commit 98b4466d675d8052efc74b79f176efb33672865c
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 15 15:20:01 2021 -0500

    gnu: Add python-mypy-minimal.
    
    * gnu/packages/python-check.scm (python-mypy-minimal): New variable.
---
 gnu/packages/python-check.scm | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 6459359..b26824b 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -1096,6 +1096,20 @@ any Python VM with basically no runtime overhead.")
     ;; mypyc/lib-rt/getargs.c
     (license (list license:expat license:psfl))))
 
+;;; This variant exists to break a cycle between python-pylama and 
python-isort.
+(define-public python-mypy-minimal
+  (hidden-package
+   (package
+     (inherit python-mypy)
+     (name "python-mypy-minimal")
+     (arguments
+      `(#:tests? #f
+        #:phases (modify-phases %standard-phases
+                   ;; XXX: Fails with: "In procedure utime: No such file or
+                   ;; directory".
+                   (delete 'ensure-no-mtimes-pre-1980))))
+     (native-inputs '()))))
+
 (define-public python-robber
   (package
     (name "python-robber")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]