From 537c8e5f6de4bbca38dc702e1df627609d8dd15a Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 17 Dec 2024 14:37:08 +0900 Subject: gnu: python-sphinx-prompt: Update to 1.9.0. * gnu/packages/sphinx.scm (python-sphinx-prompt): Update to 1.9.0. [source]: Switch to PyPI URL. [build-system]: Switch to pyproject-build-system. [arguments]: Delete #:phases. Add #:tests?. [native-inputs]: Remove python-pytest and python-sphinx. Add python-poetry-core. [propagated-inputs]: Add python-certify, python-docutils, python-idna, python-pygments, python-sphinx and python-urllib3. Change-Id: Iaa70e214594730d6eee983bfbd80cb05a35ebab7 --- gnu/packages/sphinx.scm | 36 +++++++++++++++--------------------- 1 file changed, 15 insertions(+), 21 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 33ac6924c6..72f1513f34 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -17,7 +17,7 @@ ;;; Copyright © 2021 Eric Bavier ;;; Copyright © 2021, 2022 Vinicius Monego ;;; Copyright © 2021 Hugo Lecomte -;;; Copyright © 2021, 2022 Maxim Cournoyer +;;; Copyright © 2021, 2022, 2024 Maxim Cournoyer ;;; Copyright © 2024 Troy Figiel ;;; Copyright © 2021 Maxime Devos ;;; @@ -818,29 +818,23 @@ introspection of @code{zope.interface} instances in code.") (define-public python-sphinx-prompt (package (name "python-sphinx-prompt") - (version "1.5.0") + (version "1.9.0") (source (origin - (method git-fetch) ; no source release in PyPI - (uri (git-reference - (url "https://github.com/sbrunner/sphinx-prompt") - (commit version))) - (file-name (git-file-name name version)) + (method url-fetch) + (uri (pypi-uri "sphinx_prompt" version)) (sha256 - (base32 "0x9wmgf04rzivbzp7jv1b7fkhkpi02lpk5w1qf4i7bcgih00ym8a")) - (patches - (search-patches "python-sphinx-prompt-docutils-0.19.patch")))) - (build-system python-build-system) - (arguments - `(#:phases - (modify-phases %standard-phases - (replace 'check - (lambda* (#:key inputs outputs tests? #:allow-other-keys) - (when tests? - (add-installed-pythonpath inputs outputs) - (invoke "python" "-m" "pytest"))))))) - (native-inputs - (list python-pytest python-sphinx)) + (base32 "18cmx6d5582jdaq32vnl1slfkm2zhr0raz8nkc57ikkd8rnkq6s7")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;no tests in pypi sdist + (native-inputs (list python-poetry-core)) + (propagated-inputs + (list python-certifi + python-docutils + python-idna + python-pygments + python-sphinx + python-urllib3)) (home-page "https://github.com/sbrunner/sphinx-prompt") (synopsis "Sphinx directive to add unselectable prompt") (description -- cgit v1.2.3