guix_mirror_bot pushed a commit to branch master
in repository guix.
commit d44759c562f4b8a661e75baa93d14173e0f423c9
Author: Nicolas Graves <[email protected]>
AuthorDate: Sun Nov 23 13:31:31 2025 +0100
gnu: python-sphinxcontrib-svg2pdfconverter: Switch to pyproject.
* gnu/packages/sphinx.scm (python-sphinxcontrib-svg2pdfconverter):
[source]: Switch to git-fetch.
[build-system]: Switch to pyproject-build-system.
[native-inputs]: Add python-setuptools.
Change-Id: I7ddd94d7c6a6e4b309ee0281f83387b1df75e2cd
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/sphinx.scm | 23 +++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 8d0309721e..cee030c939 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -761,18 +761,21 @@ documents.")
(package
(name "python-sphinxcontrib-svg2pdfconverter")
(version "1.2.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "sphinxcontrib-svg2pdfconverter" version))
- (sha256
- (base32
- "07c5nmkyx2y0gwfjq66fhy68c24mclvs2qqv1z9ilvvypii4blb0"))))
- (build-system python-build-system)
- (arguments '(#:tests? #f)) ;no tests
- (propagated-inputs
- (list python-sphinx))
(home-page
"https://github.com/missinglinkelectronics/sphinxcontrib-svg2pdfconverter")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ygsdhczq1vh79m42xxpxmls648crwr54pn8vvc64qv754s0wi0l"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-sphinx))
(synopsis "Sphinx SVG to PDF converter extension")
(description "A Sphinx extension to convert SVG images to PDF in case the
builder does not support SVG images natively (e.g. LaTeX).")