guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

09/18: gnu: python-pytest-astropy: Simplify package.


From: guix-commits
Subject: 09/18: gnu: python-pytest-astropy: Simplify package.
Date: Mon, 8 May 2023 05:51:47 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 2f9173430f0b72c59313bc8f7943d305364bfe3a
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Apr 28 00:43:06 2023 +0100

    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>
---
 gnu/packages/python-check.scm | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 3f2404c823..2c31116bd5 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -518,16 +518,7 @@ Astropy project, but is optimized for use with 
astropy-related projects.")
        (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]