gnu: python-pytest-astropy: Simplify package.

* gnu/package/python-check.scm (python-pytest-astropy): Simplify package.
[arguments]<phases>: Remove remove-requirement phase.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Sharlatan Hellseher 2023-04-28 00:43:06 +01:00 committed by Efraim Flashner
parent 735513e93e
commit 2f9173430f
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -518,16 +518,7 @@ (define-public python-pytest-astropy
(sha256
(base32 "04g2rh261s3s6ym8mwi4iv2a6anbgwvwzcvkyilfck6yxrncdqw5"))))
(build-system python-build-system)
(arguments
`(#:tests? #f ; there are no tests
#:phases
(modify-phases %standard-phases
;; There is a bug somewhere that makes pytest-filter-subpackage appear
;; as version 0.0.0 to setup.py. Remove it from the requirements.
(add-after 'unpack 'remove-requirement
(lambda _
(substitute* "setup.cfg"
((".*pytest-filter-subpackage.*") "")))))))
(arguments (list #:tests? #f)) ; there are no tests
(native-inputs
(list python-attrs python-pytest-mock python-setuptools-scm))
(propagated-inputs