lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit 95ee7867837ff299b588e74916d0eed59d59b6b9
Author: Lars-Dominik Braun <[email protected]>
AuthorDate: Sat Apr 9 14:52:20 2022 +0200
gnu: python-typing-extensions: Remove custom 'build and 'install.
Not required any more.
* gnu/packages/python-xyz.scm (python-typing-extensions)[arguments]: Remove
'build and 'install phases.
---
gnu/packages/python-xyz.scm | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5f49d84df0..efbf0b4286 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21719,19 +21719,10 @@ and other tools.")
(add-after 'unpack 'enter-source-directory
(lambda _
(chdir "typing_extensions")))
- ;; XXX: PEP 517 manual build copied from python-isort.
- (replace 'build
- (lambda _
- (invoke "python" "-m" "build" "--wheel" "--no-isolation" ".")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (invoke "python" "src/test_typing_extensions.py"))))
- (replace 'install
- (lambda _
- (let ((whl (car (find-files "dist" "\\.whl$"))))
- (invoke "pip" "--no-cache-dir" "--no-input"
- "install" "--no-deps" "--prefix" #$output whl)))))))
+ (invoke "python" "src/test_typing_extensions.py")))))))
(native-inputs (list python-pypa-build python-flit-core))
(home-page "https://github.com/python/typing/typing_extensions")
(synopsis "Experimental type hints for Python")