[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: |
Fri, 29 Jan 2021 09:21:52 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit e72af47cab65c924b0c3921a791b161586661f7e
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)))
- 23/131: gnu: intel-xed: Adjust build phase., (continued)
- 23/131: gnu: intel-xed: Adjust build phase., guix-commits, 2021/01/29
- 18/131: gnu: python-packaging-bootstrap: Remove dependency., guix-commits, 2021/01/29
- 24/131: gnu: python-pybedtools: Streamline following Python build system changes., guix-commits, 2021/01/29
- 26/131: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/01/29
- 28/131: gnu: python-scanpy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 29/131: gnu: python-loompy: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 20/131: gnu: python2-packaging-bootstrap: Add missing dependency, guix-commits, 2021/01/29
- 31/131: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 33/131: gnu: ganeti: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 38/131: gnu: ghmm: Do not set PYTHONPATH.,
guix-commits <=
- 32/131: gnu: linkchecker: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 34/131: gnu: behave: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 39/131: gnu: python-rpy2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/29
- 42/131: gnu: python-django-contact-form: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 45/131: gnu: python-django-appconf: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 46/131: gnu: python-django-statici18n: Do not read PYTHONPATH., guix-commits, 2021/01/29
- 49/131: gnu: python-hyperkitty: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 43/131: gnu: python-django-pipeline: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 57/131: gnu: python-fenics-fiat: Do not alter PYTHONPATH., guix-commits, 2021/01/29