aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-12-17 14:37:08 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-12-17 23:43:58 +0900
commit537c8e5f6de4bbca38dc702e1df627609d8dd15a (patch)
treeb2e24a7f371b271565903a37b5d65dc157809ba4 /gnu/packages
parent2185b5ad3d252774ae633a90e03d34cc24b95c38 (diff)
downloadguix-537c8e5f6de4bbca38dc702e1df627609d8dd15a.tar.gz
guix-537c8e5f6de4bbca38dc702e1df627609d8dd15a.zip
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
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/sphinx.scm36
1 files changed, 15 insertions, 21 deletions
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 <bavier@posteo.net>
;;; Copyright © 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr>
-;;; Copyright © 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021, 2022, 2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2024 Troy Figiel <troy@troyfigiel.com>
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
;;;
@@ -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