mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-07 17:55:55 +02:00
gnu: python-pyhdf: Fix build with gcc-14.
* gnu/packages/python-xyz.scm (python-pyhdf)[arguments] <phases>: Add 'relax-gcc-14-strictness. [native-inputs]: Remove python-numpy and python-wheel. Change-Id: I33b09ceaab56857420a4a1af1386a916b5a8e9d9
This commit is contained in:
@@ -5043,19 +5043,23 @@ Expressions are constructed from parsed strings or directly in Python.")
|
||||
#:test-flags #~(list "--pyargs" "pyhdf")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'build 'relax-gcc-14-strictness
|
||||
(lambda _
|
||||
(setenv "CFLAGS" (string-join
|
||||
(list "-g" "-O2"
|
||||
"-Wno-error=incompatible-pointer-types")
|
||||
" "))))
|
||||
(add-after 'check 'run-example-tests
|
||||
(lambda _
|
||||
(invoke "python" "examples/runall.py"))))))
|
||||
(native-inputs
|
||||
(list python-numpy
|
||||
python-pytest
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(inputs
|
||||
(list hdf4
|
||||
libjpeg-turbo
|
||||
zlib))
|
||||
python-setuptools-scm))
|
||||
(inputs
|
||||
(list hdf4
|
||||
libjpeg-turbo
|
||||
zlib))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "https://github.com/fhs/pyhdf")
|
||||
|
||||
Reference in New Issue
Block a user