summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-07-11 11:13:30 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-09-25 09:36:18 +0100
commitbcdb866c9bfa6ec14fec9e87f6953c455d218ba6 (patch)
treeb297d44ed25daf834ff3359ce5cd0ce4c97b1f94
parent2eecaa9709cf411b30247640be1fac0c98ff107e (diff)
gnu: python-sphinx-copybutton: Update to 0.5.2.
PyPI archive <https://pypi.org/project/sphinx-copybutton/> provides a correct link to the home page <https://github.com/executablebooks/sphinx-copybutton>. * gnu/packages/sphinx.scm (python-sphinx-copybutton): Update to 0.5.2. [build-system]: Use pyproject. [home-page]: Fix URL. [native-inputs]: Add python-setuptools and python-wheel. Change-Id: I8cabca804a3be7dbd50b169884ab2e05a20e2221
-rw-r--r--gnu/packages/sphinx.scm18
1 files changed, 11 insertions, 7 deletions
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 996b9a4e55..ad3d743c26 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -476,19 +476,23 @@ documents click applications.")
(define-public python-sphinx-copybutton
(package
(name "python-sphinx-copybutton")
- (version "0.5.0")
+ (version "0.5.2")
+ ;; XXX: PyPI bundles <https://github.com/zenorocha/clipboard.js>.
(source
(origin
(method url-fetch)
(uri (pypi-uri "sphinx-copybutton" version))
(sha256
- (base32
- "1xl7jwcldqvfya2gdp1nfxma7rv35alk998dfnx2fg6hmpd5kh50"))))
- (build-system python-build-system)
+ (base32 "1g8zxq1l258kk7yja4j2iifn0frsh60c4am9kjyd2ilnzf17rwac"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:tests? #f)) ; XXX: Check requires network access.
- (propagated-inputs (list python-sphinx))
- (home-page "https://github.com/choldgraf/sphinx-copybutton")
+ (list #:tests? #f)) ;no tests in PyPI, there are in Git
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-sphinx))
+ (home-page "https://github.com/executablebooks/sphinx-copybutton")
(synopsis "Sphinx extension to add \"copy\" buttons to code blocks")
(description
"This package provides a small sphinx extension to add \"copy\" buttons