emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62706: closed ([PATCH] gnu: python-breathe: Update to 4.35.0.)


From: GNU bug Tracking System
Subject: bug#62706: closed ([PATCH] gnu: python-breathe: Update to 4.35.0.)
Date: Thu, 13 Apr 2023 16:59:02 +0000

Your message dated Thu, 13 Apr 2023 17:58:03 +0100
with message-id <875y9zyb06.fsf@cbaines.net>
and subject line Re: [bug#62706] [PATCH] gnu: python-breathe: Update to 4.35.0.
has caused the debbugs.gnu.org bug report #62706,
regarding [PATCH] gnu: python-breathe: Update to 4.35.0.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
62706: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62706
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: python-breathe: Update to 4.35.0. Date: Fri, 7 Apr 2023 01:15:01 +0000
* gnu/packages/sphinx.scm (python-breathe): Update to 4.35.0.
---
 gnu/packages/sphinx.scm | 31 ++++++++++++++++++++-----------
 1 file changed, 20 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index addf4393b2..40633b75c6 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -804,18 +804,27 @@ (define-public python-sphinx-rtd-theme
 (define-public python-breathe
   (package
     (name "python-breathe")
-    (version "4.34.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (pypi-uri "breathe" version))
-       (sha256
-        (base32
-         "18fvphs1cb2cns9q82195fx7lmlwfikzwa10cczavpaax2jnh1xc"))))
+    (version "4.35.0")
+    (source (origin
+              (method git-fetch) ;git repo has tests
+              (uri (git-reference
+                    (url "https://github.com/breathe-doc/breathe";)
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1hlcrhr533yjkz9ds83xnmn8h6z3r6vfzz7qrpy14n9j4ysyz59c"))))
     (build-system python-build-system)
-    (propagated-inputs
-     (list python-docutils python-sphinx))
-    (home-page "https://github.com/michaeljones/breathe";)
+    (arguments
+     (list #:phases #~(modify-phases %standard-phases
+                        (replace 'check
+                          (lambda* (#:key tests? #:allow-other-keys)
+                            (when tests?
+                              (with-directory-excursion "tests"
+                                (invoke "python" "-m" "pytest" "-v"))))))))
+    (native-inputs (list python-pytest))
+    (propagated-inputs (list python-docutils python-sphinx))
+    (home-page "https://www.breathe-doc.org";)
     (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.")
-- 
2.38.1




--- End Message ---
--- Begin Message --- Subject: Re: [bug#62706] [PATCH] gnu: python-breathe: Update to 4.35.0. Date: Thu, 13 Apr 2023 17:58:03 +0100 User-agent: mu4e 1.8.13; emacs 28.2
Antero Mejr via Guix-patches via <guix-patches@gnu.org> writes:

> * gnu/packages/sphinx.scm (python-breathe): Update to 4.35.0.
> ---
>  gnu/packages/sphinx.scm | 31 ++++++++++++++++++++-----------
>  1 file changed, 20 insertions(+), 11 deletions(-)

Thanks for the patch, I've just noticed that the commit message could
have used some more detail on the changes, as it's not just being
updated, but oh well. I've already pushed this to master as
1e5ef8763f7887886b00debca7f06d8ac42e7419.

Thanks,

Chris

Attachment: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]