summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-07-22 02:11:00 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-25 11:32:12 +0100
commit6176e673ecc33ff30fe27940bc5c7b9358f39e44 (patch)
tree8e5933aec250f81b7ff82971bd0742a2ef48b49f /gnu/packages/python-xyz.scm
parentc79c13eaa76e2dcedfe4ad9baa91db93f5edf6e6 (diff)
gnu: python-recommonmark: Switch to pyproject.
pytest is not mandatory here, but it's convenient. * gnu/packages/python-xyz.scm (python-recommonmark): [build-system]: Switch to pyproject-build-system. [arguments]: Migrate <#:phases> to <#:test-flags>. [native-inputs]: Add python-pytest, python-setuptools, python-wheel. Change-Id: I9704f2a4ade3095a477e039a6c8a17b8cd0fc0d1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm14
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a8d9c6cd29..6623dabaa5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -35737,15 +35737,13 @@ result.")
(sha256
(base32
"0rvdd2ikdr0yg6cx6594fdzn53cmdc0g0i6qsbcdq8i2kxjdpd5x"))))
- (build-system python-build-system)
- (propagated-inputs
- (list python-commonmark python-docutils python-sphinx))
+ (build-system pyproject-build-system)
(arguments
- '(#:phases (modify-phases %standard-phases
- (add-after 'unpack 'delete-test-sphinx
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out")))
- (delete-file "tests/test_sphinx.py")))))))
+ (list
+ ;; XXX: Some of those fail for no good reason.
+ #:test-flags #~(list "--ignore=tests/test_sphinx.py")))
+ (native-inputs (list python-pytest python-setuptools python-wheel))
+ (propagated-inputs (list python-commonmark python-docutils python-sphinx))
(home-page "https://github.com/readthedocs/recommonmark")
(synopsis "Docutils-compatibility bridge to CommonMark")
(description