gnu: python-poliastro: Relax requirements.
* gnu/packages/astronomy.scm (python-poliastro) [arguments] <#:phases>: Add 'relax-requirements phase. Change-Id: Idb75f1ee9e0b9646024fab0a1d17ea50ca63a7f5master
parent
55ded0719c
commit
9a33695a15
|
@ -2264,6 +2264,9 @@ can be described by @acronym{WCS, World Coordinate System} translations.")
|
||||||
of astronomical sources.")
|
of astronomical sources.")
|
||||||
(license license:bsd-3)))
|
(license license:bsd-3)))
|
||||||
|
|
||||||
|
;; XXX: The project is archived, maintained fork is available see
|
||||||
|
;; <https://github.com/poliastro/poliastro/issues/1640>.
|
||||||
|
;; Maintained fork <https://github.com/pleiszenburg/hapsira>.
|
||||||
(define-public python-poliastro
|
(define-public python-poliastro
|
||||||
(package
|
(package
|
||||||
(name "python-poliastro")
|
(name "python-poliastro")
|
||||||
|
@ -2296,6 +2299,10 @@ of astronomical sources.")
|
||||||
" and not test_porkchop_plotting"))
|
" and not test_porkchop_plotting"))
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-requirements
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
(("5.0,<6") "5.0,<7"))))
|
||||||
(add-after 'unpack 'matplotlib-compatibility
|
(add-after 'unpack 'matplotlib-compatibility
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "src/poliastro/plotting/static.py"
|
(substitute* "src/poliastro/plotting/static.py"
|
||||||
|
|
Reference in New Issue