[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
175/222: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-s
From: |
guix-commits |
Subject: |
175/222: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system. |
Date: |
Fri, 1 Nov 2024 10:56:46 -0400 (EDT) |
sharlatan pushed a commit to branch python-team
in repository guix.
commit 05eee5353a425296393ac9724d4aeee7052bad57
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 ddab3c6612..bd757e12aa 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
- 94/222: gnu: python-jsonpointer: Update to 1.14., (continued)
- 94/222: gnu: python-jsonpointer: Update to 1.14., guix-commits, 2024/11/01
- 96/222: gnu: Add python-jupyter-events., guix-commits, 2024/11/01
- 105/222: gnu: python-sparqlkernel: Patch install script., guix-commits, 2024/11/01
- 110/222: gnu: python-openapi-core: Update to 0.19.1., guix-commits, 2024/11/01
- 106/222: gnu: Add python-pathable., guix-commits, 2024/11/01
- 126/222: gnu: python-sphinx-4: Inherit from python-sphinx-5., guix-commits, 2024/11/01
- 134/222: gnu: python-jupyterlab-widgets: Update to 3.0.10., guix-commits, 2024/11/01
- 174/222: gnu: python-amqp: Move to pyproject-build-system., guix-commits, 2024/11/01
- 150/222: gnu: python-xcffib: Move to (gnu packages xorg)., guix-commits, 2024/11/01
- 129/222: gnu: python-mistune: Update to 3.0.2., guix-commits, 2024/11/01
- 175/222: gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system.,
guix-commits <=
- 180/222: gnu: python-pytest-toolbox: Move to pyproject-build-system., guix-commits, 2024/11/01
- 194/222: gnu: python-autoflake: Update to 2.3.1., guix-commits, 2024/11/01
- 201/222: gnu: python-uqbar: Improve package style., guix-commits, 2024/11/01
- 208/222: gnu: tuir: Move to pyproject-build-system., guix-commits, 2024/11/01
- 209/222: gnu: python-fenics-dijitso: Move to pyproject-build-system., guix-commits, 2024/11/01
- 211/222: gnu: python-numpydoc: Move to pyproject-build-sytem., guix-commits, 2024/11/01
- 214/222: gnu: python-certauth: Move to pyproject-build-system., guix-commits, 2024/11/01
- 218/222: gnu: python-cssselect2: Move to pyproject-build-system., guix-commits, 2024/11/01
- 113/222: gnu: python-jupyterlab-server: Update to 2.27.1., guix-commits, 2024/11/01
- 99/222: gnu: python-jupyter-server-mathjax: Update to 0.2.6., guix-commits, 2024/11/01