From 68f0de01fcf9d80ce910dccdf7fa31203b3bb2b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Thu, 7 Nov 2019 20:03:49 +0800 Subject: gnu: Add python-breathe. * gnu/packages/sphinx.scm (python-breathe): New package. --- gnu/packages/sphinx.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'gnu/packages/sphinx.scm') diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index da7492c42e..8c658c286d 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -541,3 +541,25 @@ and several other projects.") (define-public python2-sphinx-rtd-theme (package-with-python2 python-sphinx-rtd-theme)) + +(define-public python-breathe + (package + (name "python-breathe") + (version "4.13.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "breathe" version)) + (sha256 + (base32 + "1aw749n2ry27434qd7gr99dvsrs3x3chyi9aywmhjj1g4m2j6xf6")))) + (build-system python-build-system) + (propagated-inputs + `(("python-docutils" ,python-docutils) + ("python-six" ,python-six) + ("python-sphinx" ,python-sphinx))) + (home-page "https://github.com/michaeljones/breathe") + (synopsis "ReStructuredText and Sphinx bridge to Doxygen") + (description "This package is an extension to reStructuredText and Sphinx +to be able to read and render the Doxygen xml output.") + (license license:bsd-3))) -- cgit v1.2.3 From d090a1c15a799e34ed8c4793b462d518d9932191 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 22:10:44 +0200 Subject: gnu: python-sphinx-gallery: Don't use unstable tarball. * gnu/packages/sphinx.scm (python-sphinx-gallery)[source]: Download using git-fetch. --- gnu/packages/sphinx.scm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gnu/packages/sphinx.scm') diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm index 8c658c286d..1f3553bcdb 100644 --- a/gnu/packages/sphinx.scm +++ b/gnu/packages/sphinx.scm @@ -30,6 +30,7 @@ (define-module (gnu packages sphinx) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix git-download) #:use-module (guix utils) #:use-module (guix build-system python) #:use-module ((guix licenses) #:prefix license:) @@ -375,13 +376,14 @@ integrate Sphinx documents in web templates and to handle searches.") (name "python-sphinx-gallery") (version "0.1.13") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/sphinx-gallery/sphinx-gallery" - "/archive/v" version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/sphinx-gallery/sphinx-gallery") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) (sha256 (base32 - "03fs99mcb1r7qp0xixqv07vcz98sk21yq19ffdysi0infdcpzfkd")))) + "14nbqh9krx2l2y2ylbln6l6w8iak3wac1lngvaf278y1cx7685kg")))) (build-system python-build-system) (arguments ;; FIXME: Tests attempt to download , -- cgit v1.2.3