GNU bug report logs - #68722
[PATCH] gnu: emacs-ox-tufte: Update to 4.0.4.

Previous Next

Package: guix-patches;

Reported by: Suhail <suhail <at> bayesians.ca>

Date: Fri, 26 Jan 2024 00:00:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 68722 in the body.
You can then email your comments to 68722 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#68722; Package guix-patches. (Fri, 26 Jan 2024 00:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Suhail <suhail <at> bayesians.ca>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 26 Jan 2024 00:00:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: Guix-patches mailing list <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: emacs-ox-tufte: Update to 4.0.3.
Date: Thu, 25 Jan 2024 23:59:15 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Update to 4.0.3 and enable
tests.

Change-Id: Ia0ed2643596cf6a721cc00b06cd26d92cbf5fd3e
---
 gnu/packages/emacs-xyz.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7d3e2dc17e..fae86491d9 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33496,20 +33496,25 @@ (define-public emacs-ox-reveal
 (define-public emacs-ox-tufte
   (package
     (name "emacs-ox-tufte")
-    (version "4.0.1")
+    (version "4.0.3")
+    (home-page "https://github.com/ox-tufte/ox-tufte")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/ox-tufte/ox-tufte")
+             (url home-page)
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+        (base32 "0bb5cik2pgz3kxgzdjddzvs8y2fihjzyvfn5f6kd69n4hi0w6bfd"))))
     (build-system emacs-build-system)
+    (native-inputs (list emacs-buttercup))
     (propagated-inputs (list emacs-org))
-    (arguments '(#:include (cons "^src/" %default-include)))
-    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (arguments
+     (list
+      #:include #~(cons "^src/" %default-include)
+      #:tests? #t
+      #:test-command #~(list "make" "test-guix")))
     (synopsis "Tufte HTML Org mode export backend")
     (description
      "This is an export backend for Org mode that exports buffers to HTML that

base-commit: ffa73f8ef2a6cb2b93deb38b1c88a94707e7d907
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68722; Package guix-patches. (Sat, 27 Jan 2024 01:21:01 GMT) Full text and rfc822 format available.

Message #8 received at 68722 <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: bug#68722 <68722 <at> debbugs.gnu.org>
Subject: [PATCH v2] gnu: emacs-ox-tufte: Update to 4.0.3.
Date: Sat, 27 Jan 2024 01:20:15 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Update to 4.0.3 and enable
tests.

Change-Id: Ia0ed2643596cf6a721cc00b06cd26d92cbf5fd3e
---
 gnu/packages/emacs-xyz.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 561f41cccf..73f3818e8e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33494,20 +33494,42 @@ (define-public emacs-ox-reveal
 (define-public emacs-ox-tufte
   (package
     (name "emacs-ox-tufte")
-    (version "4.0.1")
+    (version "4.0.3")
+    (home-page "https://github.com/ox-tufte/ox-tufte")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/ox-tufte/ox-tufte")
+             (url home-page)
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+        (base32 "0bb5cik2pgz3kxgzdjddzvs8y2fihjzyvfn5f6kd69n4hi0w6bfd"))))
     (build-system emacs-build-system)
+    (native-inputs (list emacs-buttercup emacs-eldev))
     (propagated-inputs (list emacs-org))
-    (arguments '(#:include (cons "^src/" %default-include)))
-    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (arguments
+     (list
+      #:include #~(cons "^src/" %default-include)
+      #:tests? #t
+      ;; <https://github.com/emacs-eldev/eldev/issues/99#issuecomment-1912637609>
+      #:test-command #~(list "eldev" "-X" "-dtTC" "test")
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'setup-Eldev
+                     (lambda _
+                       (let ((file "Eldev-local")
+                             (content (format
+                                       #f "~s"
+                                       '(dolist (d (split-string
+                                                    (getenv "EMACSLOADPATH")
+                                                    ":" t))
+                                                (ignore-errors
+                                                 (eldev-use-local-dependency
+                                                  d))))))
+                         (setenv "HOME" (getcwd))
+                         (emacs-batch-edit-file file
+                           `(progn (insert ,content)
+                                   (basic-save-buffer)))))))))
     (synopsis "Tufte HTML Org mode export backend")
     (description
      "This is an export backend for Org mode that exports buffers to HTML that

base-commit: 2823253484e49391c6ba3c653a2f9e9f5e5f38ae
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68722; Package guix-patches. (Tue, 30 Jan 2024 16:57:02 GMT) Full text and rfc822 format available.

Message #11 received at 68722 <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: bug#68722 <68722 <at> debbugs.gnu.org>
Subject: [PATCH v3] gnu: emacs-ox-tufte: Update to 4.0.4.
Date: Tue, 30 Jan 2024 16:55:52 +0000
* gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Update to 4.0.4 and enable
tests.

Change-Id: I20921e884aee5663c8dd09f6a48e927e45f3a1ce
---
 gnu/packages/emacs-xyz.scm | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 561f41cccf..235c916d61 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -33494,20 +33494,39 @@ (define-public emacs-ox-reveal
 (define-public emacs-ox-tufte
   (package
     (name "emacs-ox-tufte")
-    (version "4.0.1")
+    (version "4.0.4")
+    (home-page "https://github.com/ox-tufte/ox-tufte")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
-             (url "https://github.com/ox-tufte/ox-tufte")
+             (url home-page)
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1v8jr1k8wfpzwry073rrgkxfpwylxmk7xqabxzp49z40rc7hp26s"))))
+        (base32 "15jfwrdawj8flgyfqhsfhdlnam6n5gzw5minnixwxyp69q5vxnpw"))))
     (build-system emacs-build-system)
+    (native-inputs (list emacs-buttercup emacs-eldev))
     (propagated-inputs (list emacs-org))
-    (arguments '(#:include (cons "^src/" %default-include)))
-    (home-page "https://github.com/ox-tufte/ox-tufte")
+    (arguments
+     (list
+      #:include #~(cons "^src/" %default-include)
+      #:tests? #t
+      ;; <https://github.com/emacs-eldev/eldev/issues/99#issuecomment-1912637609>
+      #:test-command #~(list "eldev" "-X" "-dtTC" "test")
+      #:phases #~(modify-phases %standard-phases
+                   (add-after 'unpack 'configure-eldev
+                     (lambda _
+                       (setenv "HOME"
+                               (string-append (getcwd) "/.eldev"))
+                       (with-output-to-file "Eldev-local"
+                         (lambda _
+                           (format #t "~s"
+                                   '(dolist (d (split-string (getenv
+                                                              "EMACSLOADPATH")
+                                                             ":" t))
+                                            (ignore-errors
+                                             (eldev-use-local-dependency d)))))))))))
     (synopsis "Tufte HTML Org mode export backend")
     (description
      "This is an export backend for Org mode that exports buffers to HTML that

base-commit: 2823253484e49391c6ba3c653a2f9e9f5e5f38ae
-- 
2.43.0






Information forwarded to guix-patches <at> gnu.org:
bug#68722; Package guix-patches. (Sun, 18 Feb 2024 05:24:02 GMT) Full text and rfc822 format available.

Message #14 received at 68722 <at> debbugs.gnu.org (full text, mbox):

From: Suhail <suhail <at> bayesians.ca>
To: bug#68722 <68722 <at> debbugs.gnu.org>
Subject: Re: Status: [PATCH] gnu: emacs-ox-tufte: Update to 4.0.3.
Date: Sun, 18 Feb 2024 05:22:58 +0000
retitle 68722 [PATCH] gnu: emacs-ox-tufte: Update to 4.0.4.





Changed bug title to '[PATCH] gnu: emacs-ox-tufte: Update to 4.0.4.' from '[PATCH] gnu: emacs-ox-tufte: Update to 4.0.3.' Request was from Suhail <suhail <at> bayesians.ca> to control <at> debbugs.gnu.org. (Sun, 18 Feb 2024 05:52:01 GMT) Full text and rfc822 format available.

Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 22 Feb 2024 21:52:02 GMT) Full text and rfc822 format available.

Notification sent to Suhail <suhail <at> bayesians.ca>:
bug acknowledged by developer. (Thu, 22 Feb 2024 21:52:02 GMT) Full text and rfc822 format available.

Message #21 received at 68722-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: Suhail via Guix-patches via <guix-patches <at> gnu.org>
Cc: Suhail <suhail <at> bayesians.ca>, bug#68722 <68722-done <at> debbugs.gnu.org>
Subject: Re: [bug#68722] [PATCH v3] gnu: emacs-ox-tufte: Update to 4.0.4.
Date: Thu, 22 Feb 2024 22:50:11 +0100
Hello,

Suhail via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/emacs-xyz.scm (emacs-ox-tufte): Update to 4.0.4 and enable
> tests.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou






Information forwarded to guix-patches <at> gnu.org:
bug#68722; Package guix-patches. (Thu, 22 Feb 2024 22:10:05 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 22 Mar 2024 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.