[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/131: gnu: ghmm: Do not set PYTHONPATH.
From: |
guix-commits |
Subject: |
38/131: gnu: ghmm: Do not set PYTHONPATH. |
Date: |
Mon, 1 Feb 2021 11:56:41 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit e3bc7881f2408576f1bb85c82bce8325a8eb6da8
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 23:08:59 2021 -0500
gnu: ghmm: Do not set PYTHONPATH.
* gnu/packages/machine-learning.scm (ghmm): Remove trailing #t.
[phases]: Do not reorder the check phase after the install phase.
{fix-PYTHONPATH}: Remove phase.
---
gnu/packages/machine-learning.scm | 21 +++------------------
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 1b05188..7a77897 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -217,20 +217,7 @@ classification.")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'enter-dir
- (lambda _ (chdir "ghmm") #t))
- (delete 'check)
- (add-after 'install 'check
- (assoc-ref %standard-phases 'check))
- (add-before 'check 'fix-PYTHONPATH
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (let ((python-version (python-version
- (assoc-ref inputs "python"))))
- (setenv "PYTHONPATH"
- (string-append (getenv "PYTHONPATH")
- ":" (assoc-ref outputs "out")
- "/lib/python" python-version
- "/site-packages")))
- #t))
+ (lambda _ (chdir "ghmm")))
(add-after 'enter-dir 'fix-runpath
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "ghmmwrapper/setup.py"
@@ -241,8 +228,7 @@ classification.")
line
"\"-Wl,-rpath="
(assoc-ref outputs "out")
- "/lib\", ")))
- #t))
+ "/lib\", ")))))
(add-after 'enter-dir 'disable-broken-tests
(lambda _
(substitute* "tests/Makefile.am"
@@ -262,8 +248,7 @@ classification.")
line indent)
(string-append indent
"@unittest.skip(\"Disabled by Guix\")\n"
- line)))
- #t)))))
+ line))))))))
(inputs
`(("python" ,python-2) ; only Python 2 is supported
("libxml2" ,libxml2)))
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., (continued)
- 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, 2021/02/01
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 38/131: gnu: ghmm: Do not set PYTHONPATH.,
guix-commits <=
- 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
- 54/131: gnu: gdk-pixbuf: Update to 2.42.2., guix-commits, 2021/02/01
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/02/01