This is an automated email from the git hooks/post-receive script.
janneke pushed a commit to branch core-packages-team
in repository guix.
The following commit(s) were added to refs/heads/core-packages-team by this
push:
new b2d1d29b92 gnru: python-pypairix: Update to 0.3.8 and fix buildi with
gcc-14.
b2d1d29b92 is described below
commit b2d1d29b92242287f869069c8a2434faa880094b
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Jan 3 10:07:41 2025 +0100
gnru: 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 "setup-build-environment" to
relax
gcc-14's strictness.
Change-Id: I5766c457da18ec7c9fedd83a583dc5e244f33dea
---
gnu/packages/bioinformatics.scm | 28 ++++++++++++++++------------
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 8f37d08f00..8cf3b503e2 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -19132,7 +19132,7 @@ bound.")
(define-public python-pypairix
(package
(name "python-pypairix")
- (version "0.3.7")
+ (version "0.3.8")
;; The tarball on pypi does not include the makefile to build the
;; programs.
(source
@@ -19144,19 +19144,23 @@ bound.")
(file-name (git-file-name name version))
(sha256
(base32
- "1snr3lrmsld8sy77ng6ba6wcmd33xjccf1l2f3m6pi29xis9nd6p"))))
+ "1jlxj3xa67q1i58pmbi6imhvl6f5w9m5qxv0xd45ba86mp8mnmvz"))))
(build-system python-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (add-before 'build 'build-programs
- (lambda _ (invoke "make")))
- (add-after 'install 'install-programs
- (lambda* (#:key outputs #:allow-other-keys)
- (copy-recursively "bin" (string-append
- (assoc-ref outputs "out")
- "/bin"))
- #t)))))
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'build 'setup-build-environment
+ (lambda _
+ (setenv "CFLAGS"
+ (string-append "-g -O2"
+ " -Wno-error=incompatible-pointer-types"
+ " -Wno-error=int-conversion"))))
+ (add-before 'build 'build-programs
+ (lambda _ (invoke "make")))
+ (add-after 'install 'install-programs
+ (lambda _
+ (copy-recursively "bin" (string-append #$output "/bin")))))))
(inputs
(list zlib))
(home-page "https://github.com/4dn-dcic/pairix")