lbraun pushed a commit to branch wip-python-pep517
in repository guix.
commit a0095b6185a4b1ddb2da774ad947477af034e32f
Author: Lars-Dominik Braun <[email protected]>
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/disk.scm | 4 +---
gnu/packages/pdf.scm | 1 -
gnu/packages/python-xyz.scm | 9 +++------
3 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 15d0401090..82d4c4b948 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -803,9 +803,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 74c6166cc0..1d7b0ee98d 100644
--- a/gnu/packages/pdf.scm
+++ b/gnu/packages/pdf.scm
@@ -980,7 +980,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 b142bc5153..45b3b3ca15 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9166,8 +9166,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 _
@@ -15188,8 +15187,7 @@ applications.")
(base32 "1q9cllrwf94whr0f6mipa0hdq1rcyqvklwx19g35g2dav8f3xkjl"))))
(build-system python-build-system)
(arguments
- `(#:test-target "pytest"
- #:phases
+ `(#:phases
(modify-phases %standard-phases
(add-before 'check 'set-qpa
(lambda _
@@ -27377,8 +27375,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