Archived
1
0
Fork 0

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:
Ricardo Wurmus 2020-04-17 15:48:51 +02:00
parent 79ef0726a9
commit d3f292b8dc
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -7980,14 +7980,14 @@ printing of sub-tables by specifying a row range.")
(define-public python-tables (define-public python-tables
(package (package
(name "python-tables") (name "python-tables")
(version "3.4.4") (version "3.6.1")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (pypi-uri "tables" version)) (uri (pypi-uri "tables" version))
(sha256 (sha256
(base32 (base32
"0affz7k8babh8wdmsgrz5jxrd569by2w8ffimcxs9wiaf5rw1idx")) "0j8vnxh2m5n0cyk9z3ndcj5n1zj5rdxgc1gb78bqlyn2lyw75aa9"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet
'(begin '(begin
@ -8005,9 +8005,11 @@ printing of sub-tables by specifying a row range.")
(add-after 'unpack 'use-gcc (add-after 'unpack 'use-gcc
(lambda _ (lambda _
(substitute* "setup.py" (substitute* "setup.py"
(("compiler = new_compiler\\(\\)" line) (("^( +)compiler = new_compiler\\(\\)" line indent)
(string-append line (string-append line
"\ncompiler.set_executables(compiler='gcc'," "\n"
indent
"compiler.set_executables(compiler='gcc',"
"compiler_so='gcc'," "compiler_so='gcc',"
"linker_exe='gcc'," "linker_exe='gcc',"
"linker_so='gcc -shared')"))) "linker_so='gcc -shared')")))