aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-18 23:45:15 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-18 23:46:27 +0100
commit9e1d9a0a46c502f1e2dcc03351c4a46e4b97006a (patch)
tree6710a40444ce11e312afd7a1c070296660141f1d
parent0fa926c2e595e2e121a5e65b70fda63e8e37904c (diff)
downloadpatches-9e1d9a0a46c502f1e2dcc03351c4a46e4b97006a.tar
patches-9e1d9a0a46c502f1e2dcc03351c4a46e4b97006a.tar.gz
gnu: python-biom-format: Fix build.
* gnu/packages/bioinformatics.scm (python-biom-format)[source]: Remove generated C files. [arguments]: Disable second broken test.
-rw-r--r--gnu/packages/bioinformatics.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 9eaf40adbd..371c13e121 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -896,20 +896,30 @@ Python.")
(file-name (git-file-name name version))
(sha256
(base32
- "1rna16lyk5aqhnv0dp77wwaplias93f1vw28ad3jmyw6hwkai05v"))))
+ "1rna16lyk5aqhnv0dp77wwaplias93f1vw28ad3jmyw6hwkai05v"))
+ (modules '((guix build utils)))
+ (snippet '(begin
+ ;; Delete generated C files.
+ (for-each delete-file (find-files "." "\\.c"))
+ #t))))
(build-system python-build-system)
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'use-cython
(lambda _ (setenv "USE_CYTHON" "1") #t))
- (add-after 'unpack 'disable-broken-test
+ (add-after 'unpack 'disable-broken-tests
(lambda _
(substitute* "biom/tests/test_cli/test_validate_table.py"
(("^(.+)def test_invalid_hdf5" m indent)
(string-append indent
"@npt.dec.skipif(True, msg='Guix')\n"
m)))
+ (substitute* "biom/tests/test_table.py"
+ (("^(.+)def test_from_hdf5_issue_731" m indent)
+ (string-append indent
+ "@npt.dec.skipif(True, msg='Guix')\n"
+ m)))
#t))
(add-before 'reset-gzip-timestamps 'make-files-writable
(lambda* (#:key outputs #:allow-other-keys)