mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: packages/astronomy: Adjust inputs.
These changes are cherry picked and squashed from python-team to cover upcoming updates in pyproject-build-system where setuptools and wheel are required on build time. * gnu/packages/astronomy.scm (python-ads, python-asdf-standard, python-asdf-transform-schemas, python-astrodendro, python-bayesicfitting, python-casa-formats-io, python-cdflib, python-cmyt, python-drizzle, python-extinction, python-fitsio, python-hvpy, python-naima, python-pyavm, python-pyerfa, python-pynbody, python-pysiaf, python-pysiril, python-pysynphot, python-sgp4, python-sirilic, python-skyfield, python-soxs, python-spherical-geometry, python-stsci-image) [native-inputs]: Add python-setuptools and python-wheel. (python-jplephem) [inputs]: Remove python-numpy. [propagated-inputs]: Add python-numpy. [native-inputs]: Add python-setuptools and python-wheel. (python-yt): Shift the order of native and propagated inputs, add missing. [native-inputs]: Add python-wheel. (python-yt-astro-analysis): Shift the order of native and propagated inputs, add missing. [native-inputs]: Add python-setuptools and python-wheel. (python-czml3) [native-inputs]: Remove python-astropy; add python-astropy-minimal, python-setuptools, and python-wheel. Change-Id: I3e28b2c7b5503741300dc4f15b63ded988570c63
This commit is contained in:
parent
e881cc5606
commit
5f275bbab0
1 changed files with 163 additions and 67 deletions
|
@ -1509,7 +1509,9 @@ model-fitting photometry or morphological analyses.")
|
|||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
python-httpretty))
|
||||
python-httpretty
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-mock
|
||||
python-requests
|
||||
|
@ -1766,7 +1768,9 @@ astronomical images, especially when there is no WCS information available.")
|
|||
#$(version-major+minor+point version)))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools-scm))
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-h5py
|
||||
|
@ -1860,6 +1864,9 @@ mining in astronomy.")
|
|||
(lambda* (#:key tests? test-flags #:allow-other-keys)
|
||||
(when tests?
|
||||
(apply invoke "python" test-flags)))))))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-future
|
||||
|
@ -1894,9 +1901,16 @@ Herschel.")
|
|||
(lambda _
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(native-inputs
|
||||
(list python-pytest python-pytest-cov python-pytest-openfiles))
|
||||
(list python-pytest
|
||||
python-pytest-cov
|
||||
python-pytest-openfiles
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy python-click python-dask python-numpy))
|
||||
(list python-astropy
|
||||
python-click
|
||||
python-dask
|
||||
python-numpy))
|
||||
(home-page "https://casa-formats-io.readthedocs.io/")
|
||||
(synopsis "Dask-based reader for CASA data")
|
||||
(description
|
||||
|
@ -1961,10 +1975,16 @@ lens models possibly obtained from different modeling codes.")
|
|||
(sha256
|
||||
(base32 "0gsdffn5w7j1aridvmx4xh6axvmbmqjwawacc8fnshpcyh4md5pn"))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs
|
||||
(list python-attrs python-dateutil python-w3lib))
|
||||
(native-inputs
|
||||
(list python-astropy python-pytest python-pytest-mypy))
|
||||
(list python-astropy-minimal
|
||||
python-pytest
|
||||
python-pytest-mypy
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-attrs
|
||||
python-dateutil
|
||||
python-w3lib))
|
||||
(home-page "https://github.com/poliastro/czml3")
|
||||
(synopsis "Python library to write CZML")
|
||||
(description
|
||||
|
@ -2013,8 +2033,13 @@ of dates.")
|
|||
(arguments
|
||||
(list
|
||||
#:test-flags #~(list "test.py")))
|
||||
(native-inputs (list python-cython python-pytest))
|
||||
(propagated-inputs (list python-numpy))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "http://github.com/kbarbary/extinction")
|
||||
(synopsis "Fast interstellar dust extinction laws")
|
||||
(description
|
||||
|
@ -2058,7 +2083,9 @@ exitinction laws found in the literature.")
|
|||
(lambda _
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(native-inputs
|
||||
(list python-pytest))
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(inputs
|
||||
(list curl cfitsio zlib))
|
||||
(propagated-inputs
|
||||
|
@ -2492,6 +2519,9 @@ position-frequency slice.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ; no tests
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel))
|
||||
(home-page "https://siril.org/tutorials/pysiril/")
|
||||
(synopsis "Python interface to SiriL")
|
||||
(description
|
||||
|
@ -2571,7 +2601,9 @@ end products of specific X-ray observatories.")
|
|||
(arguments
|
||||
(list #:tests? #f)) ; no tests
|
||||
(native-inputs
|
||||
(list nss-certs-for-test))
|
||||
(list nss-certs-for-test
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-requests
|
||||
python-wxpython))
|
||||
|
@ -2692,6 +2724,11 @@ to make such analysis both as flexible and clear as possible.")
|
|||
;; To address sanity check warning: UserWarning: unable to write
|
||||
;; new config file.
|
||||
(setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-appdirs
|
||||
python-astropy
|
||||
|
@ -2702,9 +2739,6 @@ to make such analysis both as flexible and clear as possible.")
|
|||
python-regions
|
||||
python-scipy
|
||||
python-tqdm))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-setuptools-scm))
|
||||
(home-page "https://hea-www.cfa.harvard.edu/soxs/")
|
||||
(synopsis "Simulated Observations of X-ray Sources")
|
||||
(description
|
||||
|
@ -3399,16 +3433,18 @@ bad pixel tracking throughout the reduction process.")
|
|||
(add-before 'check 'set-home-env
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd)))))))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(native-inputs
|
||||
(list python-astropy
|
||||
python-hypothesis
|
||||
python-pytest
|
||||
python-pytest-cov
|
||||
python-pytest-remotedata
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-xarray))
|
||||
python-xarray
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "https://github.com/MAVENSDC/cdflib")
|
||||
(synopsis "Python library to deal with NASA's CDF astronmical data format")
|
||||
(description "This package provides a Python @acronym{CDF, Computable
|
||||
|
@ -3469,9 +3505,14 @@ attempting to maintain ISTP compliance
|
|||
(base32 "1zabmckr1z637pfqqvlkj0asfqqvx2x92163dby8x0c8yiqgdvjb"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-colorspacious python-pytest python-pytest-mpl))
|
||||
(list python-colorspacious
|
||||
python-pytest
|
||||
python-pytest-mpl
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-matplotlib python-numpy))
|
||||
(list python-matplotlib
|
||||
python-numpy))
|
||||
(home-page "https://yt-project.org/")
|
||||
(synopsis "Matplotlib colormaps from the yt project")
|
||||
(description
|
||||
|
@ -3578,10 +3619,14 @@ used with local NetDRMS sites.")
|
|||
(lambda _
|
||||
;; Cython extensions have to be built before running the tests.
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(propagated-inputs
|
||||
(list python-astropy python-numpy))
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools-scm))
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-numpy))
|
||||
(home-page "https://github.com/spacetelescope/drizzle")
|
||||
(synopsis
|
||||
"Astronomical tool for combining dithered images into a single image")
|
||||
|
@ -3630,10 +3675,15 @@ implemented using the astropy.modeling framework.")
|
|||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f)) ; Requires HTTP(S) access to api.beta.helioviewer.org
|
||||
(propagated-inputs
|
||||
(list python-pydantic-2 python-pydantic-settings python-requests))
|
||||
(native-inputs
|
||||
(list python-pytest python-pytest-astropy))
|
||||
(list python-pytest
|
||||
python-pytest-astropy
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-pydantic-2
|
||||
python-pydantic-settings
|
||||
python-requests))
|
||||
(home-page "https://helioviewer.org/")
|
||||
(synopsis "Helioviewer Python API Wrapper")
|
||||
(description "@code{hvpy} is a Python API wrapper around the formal
|
||||
|
@ -3772,6 +3822,11 @@ the easy construction of interactive matplotlib widget based animations.")
|
|||
(sha256
|
||||
(base32 "1lng2prl2kzzpgrkj11hl53cvqdh0gpk8cdqkvcg08k3bivzk8q8"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-corner
|
||||
|
@ -3780,8 +3835,6 @@ the easy construction of interactive matplotlib widget based animations.")
|
|||
python-matplotlib
|
||||
python-pyyaml
|
||||
python-scipy))
|
||||
(native-inputs
|
||||
(list python-pytest python-setuptools-scm))
|
||||
(home-page "http://github.com/zblz/naima")
|
||||
(synopsis "Derivation of non-thermal particle distributions through MCMC spectral fitting")
|
||||
(description
|
||||
|
@ -4079,10 +4132,15 @@ interest, and which require portability between platforms or ease of scripting."
|
|||
(sha256
|
||||
(base32 "0vgjqvddq4a5lnmg8msm7fwqs3r6fc748xzvnhyvc387h0z8pdxk"))))
|
||||
(build-system pyproject-build-system)
|
||||
(propagated-inputs
|
||||
(list python-astropy python-numpy))
|
||||
(native-inputs
|
||||
(list python-pillow python-pytest python-setuptools-scm))
|
||||
(list python-pillow
|
||||
python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-numpy))
|
||||
(home-page "https://astrofrog.github.io/pyavm/")
|
||||
(synopsis "Simple pure-python AVM meta-data handling")
|
||||
(description
|
||||
|
@ -4306,6 +4364,9 @@ changing the pixel resolution, orientation, coordinate system.")
|
|||
(sha256
|
||||
(base32 "0aalbmldks6ykgkcxwkvnp04q0avhv903m5zwvg8i7zvl99xrbfq"))))
|
||||
(build-system pyproject-build-system)
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "https://github.com/brandon-rhodes/python-sgp4")
|
||||
|
@ -4667,7 +4728,9 @@ python_files = test_*.py"))))))))
|
|||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-astropy-header
|
||||
python-setuptools-scm))
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(inputs
|
||||
(list qd))
|
||||
(propagated-inputs
|
||||
|
@ -4753,8 +4816,14 @@ and CAS statistics), as well as fitting 2D Sérsic profiles.")
|
|||
(lambda _
|
||||
;; Cython extensions have to be built before running the tests.
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(propagated-inputs (list python-numpy python-scipy))
|
||||
(native-inputs (list python-pytest python-setuptools-scm))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-numpy
|
||||
python-scipy))
|
||||
(home-page "https://github.com/spacetelescope/stsci.image")
|
||||
(synopsis "Image array manipulation functions")
|
||||
(description
|
||||
|
@ -5039,7 +5108,10 @@ packages for HST.")
|
|||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "python" "-m" "unittest" "discover" "-s" "test")))))))
|
||||
(inputs
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-numpy))
|
||||
(home-page "https://github.com/brandon-rhodes/python-jplephem")
|
||||
(synopsis "Python version of NASA DE4xx ephemerides")
|
||||
|
@ -5203,7 +5275,11 @@ files.")
|
|||
(lambda _
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(native-inputs
|
||||
(list python-pytest-doctestplus python-pytest python-setuptools-scm))
|
||||
(list python-pytest-doctestplus
|
||||
python-pytest
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(inputs
|
||||
(list erfa))
|
||||
(propagated-inputs
|
||||
|
@ -5290,7 +5366,9 @@ functions, so that they can be called with scalar or array inputs.")
|
|||
(native-inputs
|
||||
(list python-cython
|
||||
python-pandas
|
||||
python-pytest))
|
||||
python-pytest
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-h5py
|
||||
python-matplotlib
|
||||
|
@ -5377,6 +5455,12 @@ Features:
|
|||
;; <https://github.com/spacetelescope/pysiaf/issues/338>
|
||||
"-k" (string-append "not test_write_jwst_siaf_xlsx"
|
||||
" and not test_write_jwst_siaf_xml" ))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-xdist
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-lxml
|
||||
|
@ -5385,10 +5469,6 @@ Features:
|
|||
python-openpyxl
|
||||
python-requests
|
||||
python-scipy))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-xdist
|
||||
python-setuptools-scm))
|
||||
(home-page "https://pysiaf.readthedocs.io/")
|
||||
(synopsis "Handling SIAF for space telescopes")
|
||||
(description
|
||||
|
@ -5430,7 +5510,9 @@ comparison, and validation are provided.")
|
|||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-remotedata
|
||||
python-setuptools-scm))
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-astropy
|
||||
python-beautifulsoup4
|
||||
|
@ -5687,13 +5769,17 @@ support for reading and writing various compression algorithms including:
|
|||
"--ignore=tests/test_integration.py"
|
||||
"--ignore=tests/test_manifests.py"
|
||||
"--ignore=tests/test_yaml_schema.py")))
|
||||
(native-inputs (list python-astropy
|
||||
python-jsonschema
|
||||
python-pypa-build
|
||||
python-pytest
|
||||
python-packaging
|
||||
python-setuptools-scm))
|
||||
(propagated-inputs (list python-importlib-resources))
|
||||
(native-inputs
|
||||
(list python-astropy
|
||||
python-jsonschema
|
||||
python-pypa-build
|
||||
python-pytest
|
||||
python-packaging
|
||||
python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-importlib-resources))
|
||||
(home-page "https://asdf-standard.readthedocs.io/")
|
||||
(synopsis "ASDF standard schemas")
|
||||
(description
|
||||
|
@ -5720,8 +5806,13 @@ up-front for extensibility.")
|
|||
(arguments
|
||||
;; Dependency cycle with python-asdf
|
||||
(list #:tests? #f))
|
||||
(native-inputs (list python-setuptools-scm))
|
||||
(propagated-inputs (list python-asdf-standard python-importlib-resources))
|
||||
(native-inputs
|
||||
(list python-setuptools
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-asdf-standard
|
||||
python-importlib-resources))
|
||||
(home-page "https://github.com/asdf-format/asdf-transform-schemas")
|
||||
(synopsis "ASDF schemas for transforms")
|
||||
(description
|
||||
|
@ -6107,7 +6198,9 @@ pipelines.")
|
|||
(native-inputs
|
||||
(list nss-certs-for-test
|
||||
python-assay
|
||||
python-pandas))
|
||||
python-pandas
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-certifi
|
||||
python-jplephem
|
||||
|
@ -6290,7 +6383,7 @@ using (multivariate) polynomials.")
|
|||
(list
|
||||
#:build-backend "setuptools.build_meta"
|
||||
#:test-flags
|
||||
#~(list "-n" "auto")
|
||||
#~(list "--numprocesses" "auto")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'relax-requirements
|
||||
|
@ -6305,6 +6398,18 @@ using (multivariate) polynomials.")
|
|||
(lambda _
|
||||
(setenv "HOME" "/tmp")
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(native-inputs
|
||||
(list python-cython-3
|
||||
python-nose
|
||||
python-nose-exclude
|
||||
python-nose-timer
|
||||
python-pyaml
|
||||
python-pytest
|
||||
python-pytest-mpl
|
||||
python-pytest-xdist
|
||||
python-setuptools
|
||||
python-sympy
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-cmyt
|
||||
python-ewah-bool-utils
|
||||
|
@ -6317,17 +6422,6 @@ using (multivariate) polynomials.")
|
|||
python-tomli-w
|
||||
python-tqdm
|
||||
python-unyt))
|
||||
(native-inputs
|
||||
(list python-cython-3
|
||||
python-nose
|
||||
python-nose-exclude
|
||||
python-nose-timer
|
||||
python-pyaml
|
||||
python-pytest
|
||||
python-pytest-mpl
|
||||
python-pytest-xdist
|
||||
python-setuptools
|
||||
python-sympy))
|
||||
(home-page "http://yt-project.org/")
|
||||
(synopsis "Analyzing and visualizing volumetric data framework")
|
||||
(description
|
||||
|
@ -6374,15 +6468,17 @@ using (multivariate) polynomials.")
|
|||
(add-before 'check 'build-extensions
|
||||
(lambda _
|
||||
(invoke "python" "setup.py" "build_ext" "--inplace"))))))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-nose
|
||||
python-tomli
|
||||
python-setuptools
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-h5py
|
||||
python-numpy
|
||||
python-packaging
|
||||
python-yt))
|
||||
(native-inputs
|
||||
(list python-cython
|
||||
python-nose
|
||||
python-tomli))
|
||||
(home-page "https://github.com/yt-project/yt_astro_analysis")
|
||||
(synopsis "YT astrophysical analysis modules")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue