gnu: python-tables: Update to 3.6.1.
* gnu/packages/python-xyz.scm (python-tables): Update to 3.6.1. [arguments]: Adjust use-gcc phase.
This commit is contained in:
parent
79ef0726a9
commit
d3f292b8dc
|
@ -7980,14 +7980,14 @@ (define-public python2-prettytable
|
|||
(define-public python-tables
|
||||
(package
|
||||
(name "python-tables")
|
||||
(version "3.4.4")
|
||||
(version "3.6.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "tables" version))
|
||||
(sha256
|
||||
(base32
|
||||
"0affz7k8babh8wdmsgrz5jxrd569by2w8ffimcxs9wiaf5rw1idx"))
|
||||
"0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(begin
|
||||
|
@ -8005,9 +8005,11 @@ (define-public python-tables
|
|||
(add-after 'unpack 'use-gcc
|
||||
(lambda _
|
||||
(substitute* "setup.py"
|
||||
(("compiler = new_compiler\\(\\)" line)
|
||||
(("^( +)compiler = new_compiler\\(\\)" line indent)
|
||||
(string-append line
|
||||
"\ncompiler.set_executables(compiler='gcc',"
|
||||
"\n"
|
||||
indent
|
||||
"compiler.set_executables(compiler='gcc',"
|
||||
"compiler_so='gcc',"
|
||||
"linker_exe='gcc',"
|
||||
"linker_so='gcc -shared')")))
|
||||
|
|
Loading…
Reference in a new issue