mirror of
https://https.git.savannah.gnu.org/git/guix.git/
synced 2025-07-17 12:30:38 +02:00
gnu: python-sphinx-click: Update to 6.0.0.
* gnu/packages/sphinx.scm (python-sphinx-click): Update to 6.0.0. [arguments]: Add phase 'fix-build-system; remove custom 'check phase. [native-inputs]: Remove python-pbr; add python-setuptools. Change-Id: I0796ee373f9172686753d5d32d274917828d3b41
This commit is contained in:
parent
f8e9462982
commit
18a25a69ba
1 changed files with 12 additions and 9 deletions
|
@ -348,22 +348,25 @@ Apple help books.")
|
||||||
(define-public python-sphinx-click
|
(define-public python-sphinx-click
|
||||||
(package
|
(package
|
||||||
(name "python-sphinx-click")
|
(name "python-sphinx-click")
|
||||||
(version "4.0.3")
|
(version "6.0.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "sphinx-click" version))
|
(uri (pypi-uri "sphinx-click" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1nqy3b7wr64rbmdp7kpi723az53a89y6250h46i505g1rw0czam1"))))
|
"0ns6mfiw4q6g0kh11dfyzpn0rkjq9v4f3w8ry0pn5in03lr69mpm"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:phases #~(modify-phases %standard-phases
|
(list
|
||||||
(replace 'check
|
#:phases
|
||||||
(lambda* (#:key tests? #:allow-other-keys)
|
#~(modify-phases %standard-phases
|
||||||
(when tests?
|
(add-after 'unpack 'fix-build-system
|
||||||
(invoke "pytest" "-vv" "tests")))))))
|
(lambda _
|
||||||
(native-inputs (list python-pbr python-pytest python-wheel))
|
;; The build system is confused about this top level directory,
|
||||||
|
;; so we delete it.
|
||||||
|
(delete-file-recursively "releasenotes"))))))
|
||||||
|
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||||
(propagated-inputs (list python-click python-docutils python-sphinx))
|
(propagated-inputs (list python-click python-docutils python-sphinx))
|
||||||
(home-page "https://github.com/click-contrib/sphinx-click")
|
(home-page "https://github.com/click-contrib/sphinx-click")
|
||||||
(synopsis "Sphinx extension that documents click applications")
|
(synopsis "Sphinx extension that documents click applications")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue