guix-patches
[Top][All Lists]
Advanced

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

bug#26924: [PATCH 05/12] gnu: calibre: Unbundle python2-markdown


From: Marius Bakke
Subject: bug#26924: [PATCH 05/12] gnu: calibre: Unbundle python2-markdown
Date: Mon, 15 May 2017 18:56:31 +0200
User-agent: Notmuch/0.24.1 (https://notmuchmail.org) Emacs/25.2.1 (x86_64-unknown-linux-gnu)

Brendan Tildesley <address@hidden> writes:

> From 9202987ba9aed6e7c503aca877110e0e27e3dbc0 Mon Sep 17 00:00:00 2001
> From: Brendan Tildesley <address@hidden>
> Date: Sat, 13 May 2017 23:24:06 +1000
> Subject: [PATCH 05/12] gnu: calibre: Unbundle python2-markdown
>
> * gnu/packages/ebook.scm (calibre):
> [snippet]: Replace python references to bundled markdown with packaged. Remove
> markdown from source.
> [inputs]: Add python2-markdown as a dependency.

Nice!

> @@ -78,8 +78,11 @@
>          (modules '((guix build utils)))
>          (snippet
>            '(begin
> +            (delete-file-recursively "src/calibre/ebooks/markdown")
>              (delete-file-recursively "src/unrar")
> -            (delete-file "src/odf/thumbnail.py")))
> +            (delete-file "src/odf/thumbnail.py")
> +            (substitute* (find-files "." "\\.py")
> +              (("calibre\\.ebooks\\.markdown") "markdown"))))

Can you add a #t after this substitution, since its return value is
unspecified?

Attachment: signature.asc
Description: PGP signature


reply via email to

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