From ba5ce4d3e75df6e0cb27492dc5067be3e52998da Mon Sep 17 00:00:00 2001 From: pjotrp Date: Sat, 13 Feb 2016 15:16:40 +0100 Subject: works --- gn/packages/python.scm | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 032f4f1..014165b 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -347,7 +347,7 @@ version ".orig.tar.gz")) (search-patch "python2-htmlgen-Fix-test-for-random.patch") )))) (build-system gnu-build-system) - (inputs + (native-inputs `(("make" ,gnu-make))) (propagated-inputs `(("python2" ,python-2))) @@ -355,9 +355,21 @@ version ".orig.tar.gz")) `(#:phases (modify-phases %standard-phases (delete 'configure) (replace 'build - (lambda _ - (zero? (apply system* "make" "test"))))) - + (lambda _ + (system* "chmod" "a+w" "-R" ".") + ) + ) + (replace 'install + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (include (string-append out "/include")) + (lib (string-append out "/lib")) + (pkgconfig (string-append out "/lib/pkgconfig")) + (doc (string-append out "/share/doc"))) + ;; Install libs and headers. + (install-file "HTMLgen.pyc" lib) + ))) ; install + ) ; phases #:tests? #f)) (home-page "https://packages.debian.org/unstable/python/python-htmlgen") -- cgit v1.2.3