guix-commits
[Top][All Lists]
Advanced

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

05/07: gnu: Remove python-typing.


From: guix-commits
Subject: 05/07: gnu: Remove python-typing.
Date: Sat, 22 Jan 2022 06:47:39 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit e92961a687c9626daadc6d2585f543f023d468b5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jan 22 11:16:41 2022 +0100

    gnu: Remove python-typing.
    
    * gnu/packages/python-xyz.scm (python-typing): Merge with ...
    (python2-typing): ... this variable.
---
 gnu/packages/python-xyz.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1caa54886f..c62e3b9546 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21387,9 +21387,9 @@ Python 3.6+ type hints.")
 with PEP 484 argument (and return) type annotations.")
     (license license:expat)))
 
-(define-public python-typing
+(define-public python2-typing
   (package
-    (name "python-typing")
+    (name "python2-typing")
     (version "3.10.0.0")
     (source
      (origin
@@ -21398,6 +21398,7 @@ with PEP 484 argument (and return) type annotations.")
        (sha256
         (base32 "0c5il4d68fd4qrm5k3dps70j0xz0n5krj6lhwn9vzpal3whsvd0k"))))
     (build-system python-build-system)
+    (arguments (list #:python python-2))
     (home-page "https://docs.python.org/3/library/typing.html";)
     (synopsis "Type hints for Python")
     (description "This is a backport of the standard library @code{typing}
@@ -21408,9 +21409,6 @@ to also be used by static and runtime type checkers, 
static analyzers, IDEs
 and other tools.")
     (license license:psfl)))
 
-(define-public python2-typing
-  (package-with-python2 python-typing))
-
 (define-public python-typing-extensions
   (package
     (name "python-typing-extensions")



reply via email to

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