unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Suhail via Guix-patches via <guix-patches@gnu.org>
To: bug#68722 <68722@debbugs.gnu.org>
Subject: [bug#68722] [PATCH v3] gnu: emacs-ox-tufte: Update to 4.0.4.
Date: Tue, 30 Jan 2024 16:55:52 +0000	[thread overview]
Message-ID: <57056835c06c45380a9b95446403c4265c88f4fc.1706633625.git.suhail@bayesians.ca> (raw)
In-Reply-To: <150da5681985ee67c98dfb59fc419d6610641122.1706222898.git.suhail@bayesians.ca>


* 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






  parent reply	other threads:[~2024-01-30 16:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25 23:59 [bug#68722] [PATCH] gnu: emacs-ox-tufte: Update to 4.0.3 Suhail via Guix-patches via
2024-01-27  1:20 ` [bug#68722] [PATCH v2] " Suhail via Guix-patches via
2024-01-30 16:55 ` Suhail via Guix-patches via [this message]
2024-02-22 21:50   ` bug#68722: [PATCH v3] gnu: emacs-ox-tufte: Update to 4.0.4 Nicolas Goaziou via Guix-patches via
2024-02-18  5:22 ` [bug#68722] Status: [PATCH] gnu: emacs-ox-tufte: Update to 4.0.3 Suhail via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57056835c06c45380a9b95446403c4265c88f4fc.1706633625.git.suhail@bayesians.ca \
    --to=guix-patches@gnu.org \
    --cc=68722@debbugs.gnu.org \
    --cc=suhail@bayesians.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).