guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: gourmet: Fix runtime failure and enhance plugin.


From: Ludovic Courtès
Subject: 04/04: gnu: gourmet: Fix runtime failure and enhance plugin.
Date: Sun, 17 Dec 2017 11:23:53 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 217f704c6aa6a95caea0ebb7a252b8b2f1d78860
Author: Mark Meyer <address@hidden>
Date:   Sun Dec 17 14:08:17 2017 +0100

    gnu: gourmet: Fix runtime failure and enhance plugin.
    
    Fixes <https://bugs.gnu.org/29227>.
    Reported by Caleb Herbert <address@hidden>.
    
    * gnu/packages/nutrition.scm (gourmet)[inputs]: Add python-lxml.
    [arguments]: Custom install phase.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/nutrition.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/nutrition.scm b/gnu/packages/nutrition.scm
index 90019f8..0e03253 100644
--- a/gnu/packages/nutrition.scm
+++ b/gnu/packages/nutrition.scm
@@ -52,11 +52,18 @@
     (inputs
      `(("pygtk"             ,python2-pygtk)
        ("sqlalchemy"        ,python2-sqlalchemy)
+       ("python-lxml"       ,python2-lxml)
        ("python-pillow"     ,python2-pillow)
        ("elib.intl"         ,python2-elib.intl)))
     (arguments
      `(#:python ,python-2               ;exception and print syntax
-       #:tests? #f))                    ;tests look bitrotted
+       #:tests? #f                      ;tests look bitrotted
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'install
+           (lambda* (#:key make-flags #:allow-other-keys)
+             (zero? (system* "python" "setup.py" "install" "--prefix"
+                             (assoc-ref %outputs "out"))))))))
     (home-page "http://thinkle.github.io/gourmet/";)
     (synopsis "Recipe organizer")
     (description



reply via email to

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