[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/96: gnu: python-typing-extensions: Use pyproject-build-system.
From: |
guix-commits |
Subject: |
12/96: gnu: python-typing-extensions: Use pyproject-build-system. |
Date: |
Wed, 19 Apr 2023 21:41:05 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit d37747beda04dd900ed83a5d65ccb31118089ac3
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Apr 15 23:25:33 2023 -0400
gnu: python-typing-extensions: Use pyproject-build-system.
* gnu/packages/python-xyz.scm (python-typing-extensions)
[arguments]: Remove #:phases argument.
[native-inputs]: Remove python-pypa-build.
---
gnu/packages/python-xyz.scm | 24 ++++--------------------
1 file changed, 4 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f39c09b950..bc3b27d22b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22655,26 +22655,10 @@ with PEP 484 argument (and return) type annotations.")
(sha256
(base32
"19n4l57qazwrbvxjrbxw2vvfyd0zbk8ivnwm4zmwfzzl69x6glp6"))))
- (build-system python-build-system)
- (arguments
- (list
- #:tests? #f ;requires Python's test module, not available in Guix
- #:phases
- #~(modify-phases %standard-phases
- ;; 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))
+ (build-system pyproject-build-system)
+ ;; The test suite requires Python's test module, not available in Guix.
+ (arguments (list #:tests? #f))
+ (native-inputs (list python-flit-core))
(home-page "https://github.com/python/typing/typing_extensions")
(synopsis "Experimental type hints for Python")
(description
- 04/96: gnu: python-tomli: Update to 2.0.1., (continued)
- 04/96: gnu: python-tomli: Update to 2.0.1., guix-commits, 2023/04/19
- 09/96: gnu: python-pep517-bootstrap: Add TODO comment., guix-commits, 2023/04/19
- 11/96: gnu: python-flit-core-bootstrap: Update to 3.8.0., guix-commits, 2023/04/19
- 13/96: gnu: Remove python-typing-extensions-next., guix-commits, 2023/04/19
- 10/96: gnu: python-poetry-core: Update to 1.5.2., guix-commits, 2023/04/19
- 15/96: gnu: python-setuptools-scm: Update to 7.1.0., guix-commits, 2023/04/19
- 03/96: gnu: python-pathspec: Update to 0.11.1., guix-commits, 2023/04/19
- 07/96: gnu: python-setuptools: Update to 67.6.1., guix-commits, 2023/04/19
- 20/96: gnu: python-execnet: Update to 1.9.0-1.d6aa1a5., guix-commits, 2023/04/19
- 08/96: gnu: python-wheel: Update to 0.40.0., guix-commits, 2023/04/19
- 12/96: gnu: python-typing-extensions: Use pyproject-build-system.,
guix-commits <=
- 18/96: gnu: python-hatchling: Update to 1.14.0., guix-commits, 2023/04/19
- 21/96: gnu: python-pytest-benchmark: Update to 4.0.0., guix-commits, 2023/04/19
- 27/96: gnu: poetry: Update to 1.1.12., guix-commits, 2023/04/19
- 30/96: gnu: Add python-asynctest., guix-commits, 2023/04/19
- 33/96: gnu: python-pytest-asyncio: Update to 0.21.0., guix-commits, 2023/04/19
- 36/96: gnu: python-aiohttp: Update to 3.8.4., guix-commits, 2023/04/19
- 52/96: gnu: usbutils: Use G-Expressions., guix-commits, 2023/04/19
- 16/96: gnu: python-flit-scm: Update to 1.7.0., guix-commits, 2023/04/19
- 01/96: gnu: python-xyz: Move some packages to (gnu packages python-build)., guix-commits, 2023/04/19
- 05/96: gnu: python-tomli-w: Use pyproject-build-system., guix-commits, 2023/04/19