aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-01-24 00:39:20 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-01 11:53:54 -0500
commit4f23ab3f53a9c10bcc21ea495b19750884aac86d (patch)
tree773c724aeabf2c04d089d0d903ea6f4f285fb6ac
parenta343c504eb0761e8dd2ab4786ba5f6669a8f0464 (diff)
downloadguix-4f23ab3f53a9c10bcc21ea495b19750884aac86d.tar.gz
guix-4f23ab3f53a9c10bcc21ea495b19750884aac86d.zip
gnu: python-markupsafe: Do not set PYTHONPATH.
* gnu/packages/python-xyz.scm (python-markupsafe) [phases]{check}: Do not set PYTHONPATH.
-rw-r--r--gnu/packages/python-xyz.scm15
1 files changed, 2 insertions, 13 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4fa4f153a7..41cbae61f7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -3178,21 +3178,10 @@ e.g. filters, callbacks and errbacks can all be promises.")
"0sqipg4fk7xbixqd8kq6rlkxj664d157bdwbh93farcphf92x1r9"))))
(build-system python-build-system)
(arguments
- `(#:modules ((ice-9 ftw)
- (srfi srfi-1)
- (srfi srfi-26)
- (guix build utils)
- (guix build python-build-system))
- #:phases (modify-phases %standard-phases
+ `(#:phases (modify-phases %standard-phases
(replace 'check
(lambda _
- (let ((cwd (getcwd))
- (libdir (find (cut string-prefix? "lib." <>)
- (scandir "build"))))
- (setenv "PYTHONPATH"
- (string-append cwd "/build/" libdir ":"
- (getenv "PYTHONPATH")))
- (invoke "pytest" "-vv")))))))
+ (invoke "pytest" "-vv"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(home-page "https://github.com/mitsuhiko/markupsafe")