summaryrefslogtreecommitdiff
path: root/gnu/packages/python-xyz.scm
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2025-02-25 08:13:28 +0100
committerAndreas Enge <andreas@enge.fr>2025-04-16 11:46:14 +0200
commit0165b28b86c16cec3bc9d2c55ec0b225faec668d (patch)
tree90c5f9961b60bf4f4a17939c1b727803ca09f083 /gnu/packages/python-xyz.scm
parent31eb603647c48128570442cb9a2e42eb468a0123 (diff)
gnu: Remove python-rednose.
This package is broken with the latest python version, and is easy to remove. * gnu/packages/check.scm (python-rednose): Delete variable. * gnu/packages/python-xyz.scm (python-sure) and * gnu/packages/web.scm (python-httpretty): [arguments]: Add 'remove-rednose-dependency in {phases}. [native-inputs]: Remove python-rednose.
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r--gnu/packages/python-xyz.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9f4c9a3cd1..bb53d509fe 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27055,10 +27055,20 @@ conversion: Gamut A, B, and C.")
(base32
"1jmrskj399idw1czx6dvy2zfaijnwi02b55vx979ixp7q2mnzz68"))))
(build-system python-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'remove-rednose-dependency
+ (lambda _
+ (substitute* "setup.py"
+ (("'rednose'") ""))
+ (substitute* '("requirements.txt" "setup.cfg")
+ (("rednose.*") "")))))))
(propagated-inputs
(list python-mock python-six))
(native-inputs
- (list python-nose python-rednose))
+ (list python-nose))
(home-page "https://github.com/gabrielfalcao/sure")
(synopsis "Automated testing library in python for python")
(description