[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/131: gnu: linkchecker: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
32/131: gnu: linkchecker: Do not set PYTHONPATH. |
Date: |
Mon, 1 Feb 2021 11:56:39 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 40b67a1f2a49c3a00f30b943dcd4e1de5a62632f
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 16:58:17 2021 -0500
gnu: linkchecker: Do not set PYTHONPATH.
* gnu/packages/web.scm (linkchecker): Remove trailing #t.
[phases]: Do not reorder the check phase after the install phase.
{check}: Do not set PYTHONPATH.
---
gnu/packages/web.scm | 15 +++------------
1 file changed, 3 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 029a05d..44405d4 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -47,6 +47,7 @@
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com>
;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407@posteo.ro>
+;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -6431,23 +6432,13 @@ Instagram and YouTube.")
`(#:python ,python-2
#:phases
(modify-phases %standard-phases
- ;; Move the 'check phase to after 'install, so that the installed
- ;; library can be used
- (delete 'check)
- (add-after 'install 'check
+ (replace 'check
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
- ;; Set PYTHONPATH so that the installed linkchecker is used
- (setenv "PYTHONPATH"
- (string-append out "/lib/python2.7/site-packages"
- ":"
- (getenv "PYTHONPATH")))
;; Remove this directory to avoid it being used when running
;; the tests
(delete-file-recursively "linkcheck")
-
- (invoke "py.test" "tests"))
- #t)))))
+ (invoke "py.test" "tests")))))))
(home-page "https://linkcheck.github.io/linkchecker")
(synopsis "Check websites for broken links")
(description "LinkChecker is a website validator. It checks for broken
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., (continued)
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 53/131: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/02/01
- 30/131: gnu: python-xmlschema: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 29/131: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 13/131: gnu: python-black: Remove blackd., guix-commits, 2021/02/01
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/02/01
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/02/01
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 32/131: gnu: linkchecker: Do not set PYTHONPATH.,
guix-commits <=
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 38/131: gnu: ghmm: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 40/131: gnu: python-django: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 41/131: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 44/131: gnu: python-django-sortedm2m: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/02/01
- 56/131: gnu: python-fenics-ufl: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/02/01