diff options
author | pjotrp | 2016-02-13 15:55:21 +0100 |
---|---|---|
committer | pjotrp | 2016-02-13 15:55:21 +0100 |
commit | e1e1e6c0c9b582bbdec5fcd7642868d0ca08301c (patch) | |
tree | 246889bd72f9735a1ed2d718c82af6a64d6c5f9a /gn/packages | |
parent | ba5ce4d3e75df6e0cb27492dc5067be3e52998da (diff) | |
download | guix-bioinformatics-e1e1e6c0c9b582bbdec5fcd7642868d0ca08301c.tar.gz |
htmlgen
Diffstat (limited to 'gn/packages')
-rw-r--r-- | gn/packages/python.scm | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/gn/packages/python.scm b/gn/packages/python.scm index 014165b..a5d71f6 100644 --- a/gn/packages/python.scm +++ b/gn/packages/python.scm @@ -346,28 +346,31 @@ version ".orig.tar.gz")) (search-patch "python2-htmlgen-Applied-Deb-patch.patch") (search-patch "python2-htmlgen-Fix-test-for-random.patch") )))) - (build-system gnu-build-system) + (build-system python-build-system) + (outputs '("out")) (native-inputs - `(("make" ,gnu-make))) + `(("make" ,gnu-make) + )) (propagated-inputs `(("python2" ,python-2))) (arguments `(#:phases (modify-phases %standard-phases - (delete 'configure) (replace 'build - (lambda _ - (system* "chmod" "a+w" "-R" ".") - ) - ) + (lambda _ + (system* "python2" "-m" "compileall" "."))) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (include (string-append out "/include")) - (lib (string-append out "/lib")) + (lib2 (string-append out "/lib/htmlgen")) + (lib (string-append (assoc-ref %outputs "out") "/lib/python2.7/site-packages/htmlgen")) (pkgconfig (string-append out "/lib/pkgconfig")) (doc (string-append out "/share/doc"))) ;; Install libs and headers. + ;; (copy-file "HTMLgen.pyc" "HTMLgen2.pyc") (install-file "HTMLgen.pyc" lib) + (install-file "HTMLgen2.pyc" lib) + (install-file "__init__.pyc" lib) ))) ; install ) ; phases #:tests? #f)) |