[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Remove remaining uses of #:test-target for python-build-syst
From: |
guix-commits |
Subject: |
01/02: gnu: Remove remaining uses of #:test-target for python-build-system. |
Date: |
Thu, 6 Jan 2022 05:20:15 -0500 (EST) |
lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit e41c371b7e8913193e0a8b9006939fdad1a84216
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Thu Jan 6 11:14:15 2022 +0100
gnu: Remove remaining uses of #:test-target for python-build-system.
* gnu/packages/check.scm (behave)[arguments]: Remove #:test-target.
* gnu/packages/disk.scm (ranger): Ditto.
* gnu/packages/pdf.scm (python-reportlab): Ditto.
* gnu/packages/python-xyz.scm (python-textdistance): Ditto.
(python-qasync): Ditto.
(python-qtsass): Ditto.
---
gnu/packages/check.scm | 2 --
gnu/packages/disk.scm | 4 +---
gnu/packages/pdf.scm | 1 -
gnu/packages/python-xyz.scm | 9 +++------
4 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 0fceb983c8..5c0e002700 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2425,8 +2425,6 @@ backported from Python 2.7 for Python 2.4+.")
python-pytest))
(propagated-inputs
(list python-parse python-parse-type))
- (arguments
- '(#:test-target "behave_test"))
(home-page "https://github.com/behave/behave")
(synopsis "Python behavior-driven development")
(description
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 3ab65e60d4..de2bf4d2f7 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -742,9 +742,7 @@ Duperemove can also take input from the @command{fdupes}
program.")
;; For tests.
python-pytest))
(arguments
- '( ;; The 'test' target runs developer tools like pylint, which fail.
- #:test-target "test_pytest"
- #:phases
+ '(#:phases
(modify-phases %standard-phases
(add-after 'configure 'wrap-program
;; Tell 'ranger' where 'w3mimgdisplay' is.
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm
index 0170712971..ff437f5d8e 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -985,7 +985,6 @@ optimize toolbar for portrait / landscape
(arguments
'(;; FIXME: There is one test failure, building the pdf manual from
source,
;; but it does not cause the build to fail.
- #:test-target "tests"
#:configure-flags (list "--use-system-libart")
#:phases
(modify-phases %standard-phases
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 30d07b1cec..196f62d2dd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8729,8 +8729,7 @@ supports @code{readline} shortcuts.")
(base32 "1g17i356fnny4k6hjr2ayy9k77jbvd6zzmngws2kbrnvhss1wgwf"))))
(build-system python-build-system)
(arguments
- `(#:test-target "pytest"
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'delete-external-test
(lambda _
@@ -14189,8 +14188,7 @@ applications.")
(base32 "0va9h6v102d7mxz608banjc0l0v02dq3ywhr5i4nqaxx3qkazc2l"))))
(build-system python-build-system)
(arguments
- `(#:test-target "pytest"
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-qpa
(lambda _
@@ -26245,8 +26243,7 @@ applications and daemons.")
(base32 "09s04aa14d8jqbh71clrb5y7vcmkxlp94mwmvzrkxahry3bk03cb"))))
(build-system python-build-system)
(arguments
- `(#:test-target "pytest"
- #:phases
+ `(#:phases
(modify-phases %standard-phases
;; Tests need to read and write files.
(add-before 'check 'make-git-checkout-writable