unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Ricardo Wurmus <rekado@elephly.net>
To: Konrad Hinsen <konrad.hinsen@fastmail.net>
Cc: 43443@debbugs.gnu.org
Subject: [bug#43443] [PATCH] gnu: Add python-pypandoc.
Date: Wed, 16 Sep 2020 17:18:55 +0200	[thread overview]
Message-ID: <875z8dwy00.fsf@elephly.net> (raw)
In-Reply-To: <m17dstzs44.fsf@khs-macbook.home>

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]


Konrad Hinsen <konrad.hinsen@fastmail.net> writes:

>> It would be better to avoid this huge monolithic package.  Does
>> texlive-tiny work?  If it doesn’t: what else does it need that could be
>> added to a texlive-union?
>
> texlive-tiny doesn't work, and after experimenting for about an hour
> I have given up on finding a small combination of packages for
> a texlive-union. It needs ifluatex.sty which apparently is part of
> texlive-latex-oberdiek, but if I add that package the test fails
> in creating a temporary directory for whatever reason.

The attached thing works for me:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: p.patch --]
[-- Type: text/x-patch, Size: 1633 bytes --]

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 24fc512178..7f724bc907 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -21994,14 +21994,19 @@ By default it uses the open Python vulnerability database Safety DB.")
          "1zvn9764cf7kkjkmr9gw6wc8adpk06qxr1rhxwa9pg0zmdvrk90l"))))
     (build-system python-build-system)
     (inputs
-     `(("pandoc" ,ghc-pandoc)
-       ("pandoc-citeproc" ,ghc-pandoc-citeproc)))
+     `(("pandoc" ,pandoc)
+       ("pandoc-citeproc" ,pandoc-citeproc)))
     (propagated-inputs
      `(("pip" ,python-pip)
        ("setuptools" ,python-setuptools)
        ("wheel" ,python-wheel)))
     (native-inputs
-     `(("texlive" ,texlive)))
+     `(("texlive" ,(texlive-union (list texlive-amsfonts
+                                        texlive-fonts-ec
+                                        texlive-latex-hyperref
+                                        texlive-latex-oberdiek
+                                        texlive-lm
+                                        texlive-xcolor)))))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
@@ -22011,6 +22016,8 @@ By default it uses the open Python vulnerability database Safety DB.")
              (substitute* "tests.py"
                (("test_basic_conversion_from_http_url")
                 "skip_test_basic_conversion_from_http_url"))
+             ;; XXX: Needed by texlive-union to generate fonts
+             (setenv "HOME" "/tmp")
              #t)))))
     (home-page "https://github.com/bebraw/pypandoc")
     (synopsis "Python wrapper for pandoc.")

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


-- 
Ricardo

  reply	other threads:[~2020-09-16 15:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16  9:59 [bug#43443] [PATCH] gnu: Add python-pypandoc Konrad Hinsen
2020-09-16 10:09 ` Ricardo Wurmus
2020-09-16 14:57   ` Konrad Hinsen
2020-09-16 15:18     ` Ricardo Wurmus [this message]
2020-09-16 16:36       ` Konrad Hinsen
2020-09-16 16:37       ` Konrad Hinsen
2020-09-16 19:31         ` Ricardo Wurmus
2020-09-17  5:54           ` Konrad Hinsen
2020-09-17  9:43             ` bug#43443: " Ricardo Wurmus
2020-09-17  7:24         ` [bug#43443] " Konrad Hinsen

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=875z8dwy00.fsf@elephly.net \
    --to=rekado@elephly.net \
    --cc=43443@debbugs.gnu.org \
    --cc=konrad.hinsen@fastmail.net \
    /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).