Subject: [PATCH 02/19] gnu: python-asdf-wcs-schemas: Symplify.

From: Sharlatan Hellseher <[email-masked]>
Date: Wed, 17 May 2023 00:23:31 +0100

* gnu/packages/astronomy.scm (python-asdf-wcs-schemas): Symplify package.
[build-system]: Use pyproject-build-system.
---
 gnu/packages/astronomy.scm | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index e180a2f81a..0d0e45a3b1 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3020,19 +3020,9 @@ (define python-asdf-wcs-schemas
        (uri (pypi-uri "asdf_wcs_schemas" version))
        (sha256
         (base32 "0khyab9mnf2lv755as8kwhk3lqqpd3f4291ny3b9yp3ik86fzhz1"))))
-    (build-system python-build-system)
-    (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest")))))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest
-           python-setuptools-scm
-           python-semantic-version))
+     (list python-pytest python-setuptools-scm python-semantic-version))
     (propagated-inputs
      (list python-asdf))
     (home-page "https://github.com/asdf-format/asdf-wcs-schemas")
-- 
2.39.2