~ruther/guix-local

ee5e65c98d0f45c464e35fcac24782a6c26a6e68 — Sharlatan Hellseher 2 months ago 9b5ca72
gnu: python-pysm3: Relax requirements for NumPy and SciPy.

* gnu/packages/astronomy.scm (python-pysm3):
[phases] {relax-requirements}: New phase.

Change-Id: I856c43fe9aa7d83cdb9fc71aa8687bf6648e0ba6
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/astronomy.scm
M gnu/packages/astronomy.scm => gnu/packages/astronomy.scm +6 -1
@@ 7798,7 7798,12 @@ natively in Siril.")
              "tests")
      #:phases
      #~(modify-phases %standard-phases
          (add-after 'unpack 'set-version
          (add-after 'unpack 'relax-requirements
            (lambda _
              (substitute* "pyproject.toml"
                (("scipy < 1.15") "scipy")
                (("numpy < 2") "numpy")))) ; no constain on master branch
          (add-before 'build 'set-version
            (lambda _
              (setenv "SETUPTOOLS_SCM_PRETEND_VERSION" #$version))))))
    (native-inputs