[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/142: gnu: python-typing-extensions: Update to 4.0.1.
From: |
guix-commits |
Subject: |
62/142: gnu: python-typing-extensions: Update to 4.0.1. |
Date: |
Mon, 10 Jan 2022 13:07:22 -0500 (EST) |
apteryx pushed a commit to branch version-1.4.0
in repository guix.
commit b328a829fbec564ddf749e71ae34b6139d633874
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Mon Dec 20 11:12:11 2021 -0500
gnu: python-typing-extensions: Update to 4.0.1.
* gnu/packages/python-xyz.scm (python-typing-extensions): Update to 4.0.1.
[origin]: Use git-fetch.
[tests?]: Disable.
[phases]{unpack, build, install}: New phases.
[native-inputs]: Add python-pypa-build, python-flit-core.
[home-page]: Shorten URL.
---
gnu/packages/python-xyz.scm | 44 ++++++++++++++++++++++++++++++++++----------
1 file changed, 34 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f0696b1684..06acb02220 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20895,17 +20895,41 @@ and other tools.")
(define-public python-typing-extensions
(package
(name "python-typing-extensions")
- (version "3.7.4.3")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "typing_extensions" version))
- (sha256
- (base32
- "0356ljrrplm917dqgpn8wjkw6j3mpp916gwxas7jhc3xc4xhgm4r"))))
+ (version "4.0.1")
+ (source (origin
+ ;; The test script is missing from the PyPI archive.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python/typing")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0a35fh5wk9s538x0w3dz95y0avnhd2srzyv9s1a372711n8hdl4p"))))
(build-system python-build-system)
- (home-page
-
"https://github.com/python/typing/blob/master/typing_extensions/README.rst")
+ (arguments
+ (list
+ #:tests? #f ;requires Python's test module, not available in Guix
+ #:phases
+ #~(modify-phases %standard-phases
+ (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)))))))
+ (native-inputs (list python-pypa-build python-flit-core))
+ (home-page "https://github.com/python/typing/typing_extensions")
(synopsis "Experimental type hints for Python")
(description
"The typing_extensions module contains additional @code{typing} hints not
- 21/142: gnu: llvm-12: Use quasiquote, addressing TODO., (continued)
- 21/142: gnu: llvm-12: Use quasiquote, addressing TODO., guix-commits, 2022/01/10
- 18/142: gnu: rust-bitflags-1: Absorb rust-bitflags-1.3., guix-commits, 2022/01/10
- 29/142: gnu: pciutils: Fix the conditional for the kmod input., guix-commits, 2022/01/10
- 32/142: gnu: gnupg: Update to 2.2.32., guix-commits, 2022/01/10
- 33/142: gnu: util-linux: Update to 2.37.2., guix-commits, 2022/01/10
- 37/142: gnu: shadow: Update to 4.9., guix-commits, 2022/01/10
- 39/142: gnu: rust-1.39: Update mrustc to commit c70665., guix-commits, 2022/01/10
- 42/142: gnu: python-gnupg: Update to 0.4.8., guix-commits, 2022/01/10
- 80/142: gnu: python-cachecontrol: Update to 0.12.10., guix-commits, 2022/01/10
- 35/142: gnu: cmake-bootstrap: Update to 3.21.4., guix-commits, 2022/01/10
- 62/142: gnu: python-typing-extensions: Update to 4.0.1.,
guix-commits <=
- 68/142: gnu: python-pylint: Update to 2.12.2., guix-commits, 2022/01/10
- 83/142: gnu: python-beautifulsoup4: Update to 4.10.0., guix-commits, 2022/01/10
- 89/142: gnu: igraph: Update to 0.9.5., guix-commits, 2022/01/10
- 92/142: build-system/gnu: Make gzip files writable before resetting timestamps., guix-commits, 2022/01/10
- 93/142: gnu: python-biom-format: Remove obsolete phase., guix-commits, 2022/01/10
- 17/142: guix: lint: Fix comment per TODO., guix-commits, 2022/01/10
- 24/142: gnu: libcap: Use #$output unconditionally., guix-commits, 2022/01/10
- 25/142: gnu: libproxy: Remove target condition from check phase., guix-commits, 2022/01/10
- 27/142: gnu: python-nose: Fix build., guix-commits, 2022/01/10
- 30/142: gnu: glibmm: Remove trailing #t., guix-commits, 2022/01/10