mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: python-pypairix: Update to 0.3.8 and fix buildi with gcc-14.
* gnu/packages/bioinformatics.scm (python-pypairix): Update to 0.3.8. [arguments]: Use G-Expressions. Add phase "relax-gcc-14-strictness". Change-Id: I5766c457da18ec7c9fedd83a583dc5e244f33dea
This commit is contained in:
parent
e9aa7e372f
commit
0dff3a12c1
1 changed files with 16 additions and 12 deletions
|
@ -19132,7 +19132,7 @@ (define-public python-intervaltree
|
||||||
(define-public python-pypairix
|
(define-public python-pypairix
|
||||||
(package
|
(package
|
||||||
(name "python-pypairix")
|
(name "python-pypairix")
|
||||||
(version "0.3.7")
|
(version "0.3.8")
|
||||||
;; The tarball on pypi does not include the makefile to build the
|
;; The tarball on pypi does not include the makefile to build the
|
||||||
;; programs.
|
;; programs.
|
||||||
(source
|
(source
|
||||||
|
@ -19144,19 +19144,23 @@ (define-public python-pypairix
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1snr3lrmsld8sy77ng6ba6wcmd33xjccf1l2f3m6pi29xis9nd6p"))))
|
"1jlxj3xa67q1i58pmbi6imhvl6f5w9m5qxv0xd45ba86mp8mnmvz"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
(list
|
||||||
(modify-phases %standard-phases
|
#:phases
|
||||||
(add-before 'build 'build-programs
|
#~(modify-phases %standard-phases
|
||||||
(lambda _ (invoke "make")))
|
(add-before 'build 'relax-gcc-14-strictness
|
||||||
(add-after 'install 'install-programs
|
(lambda _
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(setenv "CFLAGS"
|
||||||
(copy-recursively "bin" (string-append
|
(string-append "-g -O2"
|
||||||
(assoc-ref outputs "out")
|
" -Wno-error=incompatible-pointer-types"
|
||||||
"/bin"))
|
" -Wno-error=int-conversion"))))
|
||||||
#t)))))
|
(add-before 'build 'build-programs
|
||||||
|
(lambda _ (invoke "make")))
|
||||||
|
(add-after 'install 'install-programs
|
||||||
|
(lambda _
|
||||||
|
(copy-recursively "bin" (string-append #$output "/bin")))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list zlib))
|
(list zlib))
|
||||||
(home-page "https://github.com/4dn-dcic/pairix")
|
(home-page "https://github.com/4dn-dcic/pairix")
|
||||||
|
|
Loading…
Reference in a new issue