[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70855] [PATCH 45/92] gnu: python-sphinx-autodoc-typehints: Move to
From: |
Nicolas Graves |
Subject: |
[bug#70855] [PATCH 45/92] gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system. |
Date: |
Fri, 10 May 2024 00:53:40 +0200 |
* 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
---
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 ea643040fbf..195cd63ae61 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -1135,9 +1135,12 @@ (define-public python-sphinx-autodoc-typehints
(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
@@ -1145,14 +1148,7 @@ (define-public python-sphinx-autodoc-typehints
;; 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
--
2.41.0
- [bug#70855] [PATCH 40/92] gnu: python-flask-login: Move to pyproject-build-system., (continued)
- [bug#70855] [PATCH 40/92] gnu: python-flask-login: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 41/92] gnu: python-parse-type: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 42/92] gnu: python-amqp: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 44/92] gnu: python-sphinx: Ignore failing tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 48/92] gnu: abjad-ext-nauert: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 51/92] gnu: python-cairosvg: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 52/92] gnu: python-docspec-python: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 54/92] gnu: python-jaraco-context: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 53/92] gnu: python-jaraco-classes: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 46/92] gnu: abjad: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 45/92] gnu: python-sphinx-autodoc-typehints: Move to pyproject-build-system.,
Nicolas Graves <=
- [bug#70855] [PATCH 43/92] gnu: python-cbor: Update home-page., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 49/92] gnu: python-pytest-remotedata: Ignore failing test., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 50/92] gnu: python-pytest-toolbox: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 47/92] gnu: abjad-ext-rmakers: Update to 3.19., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 56/92] gnu: python-jaraco-packaging: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 57/92] gnu: python-jaraco-test: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 62/92] gnu: python-pint: Disable benchmark tests., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 60/92] gnu: python-sparse: Move to pyproject-build-system., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 63/92] gnu: python-apprise: Improve package style., Nicolas Graves, 2024/05/09
- [bug#70855] [PATCH 59/92] gnu: Add ghc-xcb-types., Nicolas Graves, 2024/05/09