gnu: Remove python-typing.
* gnu/packages/python-xyz.scm (python-typing): Merge with ... (python2-typing): ... this variable.
This commit is contained in:
parent
db501204f3
commit
e92961a687
1 changed files with 3 additions and 5 deletions
|
@ -21387,9 +21387,9 @@ Python 3.6+ type hints.")
|
||||||
with PEP 484 argument (and return) type annotations.")
|
with PEP 484 argument (and return) type annotations.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public python-typing
|
(define-public python2-typing
|
||||||
(package
|
(package
|
||||||
(name "python-typing")
|
(name "python2-typing")
|
||||||
(version "3.10.0.0")
|
(version "3.10.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
|
@ -21398,6 +21398,7 @@ with PEP 484 argument (and return) type annotations.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0c5il4d68fd4qrm5k3dps70j0xz0n5krj6lhwn9vzpal3whsvd0k"))))
|
(base32 "0c5il4d68fd4qrm5k3dps70j0xz0n5krj6lhwn9vzpal3whsvd0k"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
|
(arguments (list #:python python-2))
|
||||||
(home-page "https://docs.python.org/3/library/typing.html")
|
(home-page "https://docs.python.org/3/library/typing.html")
|
||||||
(synopsis "Type hints for Python")
|
(synopsis "Type hints for Python")
|
||||||
(description "This is a backport of the standard library @code{typing}
|
(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.")
|
and other tools.")
|
||||||
(license license:psfl)))
|
(license license:psfl)))
|
||||||
|
|
||||||
(define-public python2-typing
|
|
||||||
(package-with-python2 python-typing))
|
|
||||||
|
|
||||||
(define-public python-typing-extensions
|
(define-public python-typing-extensions
|
||||||
(package
|
(package
|
||||||
(name "python-typing-extensions")
|
(name "python-typing-extensions")
|
||||||
|
|
Reference in a new issue