mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 22:16:32 +01:00
gnu: python-asdf: Fix build.
* gnu/packages/astronomy.scm (python-asdf) [arguments]<test-flags>: Remove "-p" add "--numprocesses" option. [phases]{patch-pyproject-toml}: Remove redundant substitution. [native-inputs]: Add python-wheel. Change-Id: I672a83ab3dcc179b1dd3c15316d4e52d834edfd6
This commit is contained in:
parent
097de97982
commit
18bb90665c
1 changed files with 3 additions and 7 deletions
|
@ -1612,15 +1612,12 @@ (define-public python-asdf
|
|||
(arguments
|
||||
(list
|
||||
#:test-flags
|
||||
#~(list "-p" "no:legacypath")
|
||||
#~(list "--numprocesses" (number->string (parallel-job-count)))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'patch-pypojrect-toml
|
||||
(lambda _
|
||||
(substitute* "pyproject.toml"
|
||||
;; ImportError: Error importing plugin " no:legacypath": No
|
||||
;; module named ' no:legacypath'
|
||||
((".*:legacypath.*") "")
|
||||
;; TypeError: Configuration.__init__() got an unexpected
|
||||
;; keyword argument 'version_file'
|
||||
(("version_file = \"asdf/_version.py\"") "")))))))
|
||||
|
@ -1628,13 +1625,12 @@ (define-public python-asdf
|
|||
(list python-fsspec
|
||||
python-packaging
|
||||
python-psutil
|
||||
;; 3.3.0+ requries newer version of pytest, see
|
||||
;; <https://github.com/asdf-format/asdf/issues/1804>.
|
||||
python-pytest
|
||||
python-pytest-doctestplus
|
||||
python-pytest-remotedata
|
||||
python-pytest-xdist
|
||||
python-setuptools-scm))
|
||||
python-setuptools-scm
|
||||
python-wheel))
|
||||
(propagated-inputs
|
||||
(list python-asdf-standard
|
||||
python-asdf-transform-schemas
|
||||
|
|
Loading…
Reference in a new issue