[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/361: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-s
From: |
guix-commits |
Subject: |
175/361: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system. |
Date: |
Thu, 21 Nov 2024 06:29:13 -0500 (EST) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 6b2197ccea92871a4ed2e027c5a9424b7f3c49f1
Author: Nicolas Graves <ngraves@ngraves.fr>
AuthorDate: Fri May 10 00:53:40 2024 +0200
gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system.
* gnu/packages/sphinx.scm (python-sphinx-autodoc-typehints):
[build-system]: Move to pyproject-build-system.
[arguments]<#:phases>: Move 'check phase replacement...
... to argument <#:test-flags>.
Change-Id: I2b41dffd5ee35442e1bb42f426bff69e17648785
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/sphinx.scm | 14 +++++---------
1 file changed, 5 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index b6fe561d00..ef47be148d 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1155,9 +1155,12 @@ enabled web server.")
(sha256
(base32
"049dlay21f4bccig31fkbzq2m8v0h6g63p1cn3dxay9q3h0mzgs0"))))
- (build-system python-build-system)
+ (build-system pyproject-build-system)
(arguments
(list
+ ;; This test requires to download an objects.inv file
+ ;; from the Sphinx website.
+ #:test-flags '(list "-k" "not test_format_annotation")
#:phases
#~(modify-phases %standard-phases
(add-before 'build 'pretend-version
@@ -1165,14 +1168,7 @@ enabled web server.")
;; without the git metadata available, the version string is set to
;; '0.0.0'.
(lambda _
- (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version)))
- (replace 'check
- (lambda* (#:key tests? #:allow-other-keys)
- (when tests?
- (invoke "pytest" "-vv" "tests"
- ;; This test requires to download an objects.inv file
- ;; from the Sphinx website.
- "-k" "not test_format_annotation")))))))
+ (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
(propagated-inputs (list python-sphinx))
(native-inputs
(list python-nptyping
- 86/361: gnu: python-jupyter-core: Update to 5.7.2., (continued)
- 86/361: gnu: python-jupyter-core: Update to 5.7.2., guix-commits, 2024/11/21
- 80/361: gnu: python-jsonschema: Update to 4.22.0., guix-commits, 2024/11/21
- 67/361: gnu: Add python-rfc3986-validator., guix-commits, 2024/11/21
- 317/361: gnu: python-curio: Update to 1.6., guix-commits, 2024/11/21
- 341/361: gnu: python-pytest-localserver: Update to 0.9.0.post0., guix-commits, 2024/11/21
- 339/361: gnu: Add python-ephemeral-port-reserve., guix-commits, 2024/11/21
- 351/361: gnu: python-pytest-httpserver: Update to 1.1.0., guix-commits, 2024/11/21
- 92/361: gnu: python-jupyter-client: Update to 7.4.4., guix-commits, 2024/11/21
- 183/361: gnu: python-jaraco-classes: Move to pyproject-build-system., guix-commits, 2024/11/21
- 180/361: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/21
- 175/361: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system.,
guix-commits <=
- 327/361: gnu: python-editables: Update to 0.5., guix-commits, 2024/11/21
- 334/361: gnu: python-pytest-mypy: Update to 0.10.3., guix-commits, 2024/11/21
- 185/361: gnu: python-jaraco-functools: Move to pyproject-build-system., guix-commits, 2024/11/21
- 197/361: gnu: python-xmltodict: Move to pyproject-build-system., guix-commits, 2024/11/21
- 200/361: gnu: Add python-sphinx-autodoc-typehints-5., guix-commits, 2024/11/21
- 32/361: gnu: python-ipython: Update to 8.22.1., guix-commits, 2024/11/21
- 88/361: gnu: python-ipykernel: Set environment variable., guix-commits, 2024/11/21
- 59/361: gnu: python-jinja2: Add setuptools and wheel., guix-commits, 2024/11/21
- 50/361: gnu: python-billiard: Add missing inputs., guix-commits, 2024/11/21
- 78/361: gnu: python-send2trash: Update to 1.8.2., guix-commits, 2024/11/21