diff options
| author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-12-10 23:33:24 +0000 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-25 21:18:41 +0100 |
| commit | 6f9d625bce8a30bddb0d80c164b4016a8e9c8ca8 (patch) | |
| tree | 69fb953bec2434e3a2b9e42b5d0b444aa71c3b12 /gnu/packages | |
| parent | 376056617df9407d8aff1afd37dbe8c7d0aed9f7 (diff) | |
gnu: python-esutil: Fix build with gcc-14.
* gnu/packages/astronomy.scm (python-esutil)[arguments] <phases>: Add
relax-gcc-14-strictness.
[native-inputs]: Remove python-numpy and python-wheel.
Change-Id: I2e896fdc6250cd19e93a12017836da8c33de0be8
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Diffstat (limited to 'gnu/packages')
| -rw-r--r-- | gnu/packages/astronomy.scm | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm index 63b9c508d38..420474c051d 100644 --- a/gnu/packages/astronomy.scm +++ b/gnu/packages/astronomy.scm @@ -4636,19 +4636,27 @@ of dates.") (version "0.6.16") (source (origin - (method git-fetch) ; no tests in the PyPI tarball + (method git-fetch) (uri (git-reference - (url "https://github.com/esheldon/esutil") - (commit version))) + (url "https://github.com/esheldon/esutil") + (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "05csk5asq3si7gdq8mpfh288z10rs45ylpcrrcjx0009q52l95xq")))) (build-system pyproject-build-system) + (arguments + (list + #: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") + " "))))))) (native-inputs (list python-pytest - python-numpy - python-setuptools - python-wheel)) + python-setuptools)) (propagated-inputs (list python-numpy python-scipy)) |
