[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/131: gnu: fenics: Do not alter PYTHONPATH.
From: |
guix-commits |
Subject: |
60/131: gnu: fenics: Do not alter PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:21:59 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit b4388b149fc967a87bc49d6393710c8ce62cea2d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Jan 23 23:05:21 2021 -0500
gnu: fenics: Do not alter PYTHONPATH.
* gnu/packages/simulation.scm (fenics)[phases]: Delete trailing #t.
[phases]{pre-check}: Do not alter PYTHONPATH.
---
gnu/packages/simulation.scm | 20 ++++++--------------
1 file changed, 6 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/simulation.scm b/gnu/packages/simulation.scm
index 4c56342..fe93e68 100644
--- a/gnu/packages/simulation.scm
+++ b/gnu/packages/simulation.scm
@@ -401,7 +401,8 @@ FIAT is part of the FEniCS Project.")
;; prior to running the tests.
(invoke "py.test" "unit/" "--ignore=unit/ufc/")
(with-directory-excursion "uflacs"
- (invoke "py.test" "unit/"))))))))
+ (invoke "py.test" "unit/")))
+ #t)))))
(home-page "https://bitbucket.org/fenics-project/ffc/")
(synopsis "Compiler for finite element variational forms")
(description "The FEniCS Form Compiler (FFC) is a compiler for
@@ -616,8 +617,7 @@ user interface to the FEniCS core components and external
libraries.")
;; Define paths to store locations.
(setenv "PYBIND11_DIR" (assoc-ref %build-inputs "pybind11"))
;; Move to python sub-directory.
- (chdir "python")
- #t))
+ (chdir "python")))
(add-after 'build 'mpi-setup
,%openmpi-setup)
(add-before 'check 'pre-check
@@ -659,14 +659,8 @@ user interface to the FEniCS core components and external
libraries.")
"d for d in demos if d[0].stem not in "
"excludeList]\n")))
(setenv "HOME" (getcwd))
- (setenv "PYTHONPATH"
- (string-append
- (getcwd) "/build/lib.linux-x86_64-"
- ,(version-major+minor (package-version python)) ":"
- (getenv "PYTHONPATH")))
;; Restrict OpenBLAS to MPI-only in preference to MPI+OpenMP.
- (setenv "OPENBLAS_NUM_THREADS" "1")
- #t))
+ (setenv "OPENBLAS_NUM_THREADS" "1")))
(replace 'check
(lambda _
(with-directory-excursion "test"
@@ -678,8 +672,7 @@ user interface to the FEniCS core components and external
libraries.")
(min 3 (parallel-job-count)))
"python" "-B" "-m"
"pytest" "unit" "--ignore"
- "unit/nls/test_PETScSNES_solver.py"))
- #t))
+ "unit/nls/test_PETScSNES_solver.py"))))
(add-after 'install 'install-demo-files
(lambda* (#:key outputs #:allow-other-keys)
(let* ((demos (string-append
@@ -693,8 +686,7 @@ user interface to the FEniCS core components and external
libraries.")
(unless (equal? "." dir)
(mkdir-p tgt-dir)
(install-file file tgt-dir))))
- (find-files "." ".*\\.(py|gz|xdmf)$"))))
- #t)))))
+ (find-files "." ".*\\.(py|gz|xdmf)$")))))))))
(home-page "https://fenicsproject.org/")
(synopsis "High-level environment for solving differential equations")
(description
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., (continued)
- 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
- 50/131: gnu: intel-xed: Update to 12.0.1., guix-commits, 2021/01/29
- 59/131: gnu: python-fenics-ffc: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 65/131: gnu: python-attrs: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 60/131: gnu: fenics: Do not alter PYTHONPATH.,
guix-commits <=
- 74/131: gnu: python-jsonschema: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 36/131: gnu: python-libtmux: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 51/131: gnu: fifengine: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 52/131: gnu: meson: Update to 0.56.2., guix-commits, 2021/01/29
- 53/131: gnu: meson-0.55: Update to 0.55.3., guix-commits, 2021/01/29
- 69/131: gnu: python-colorlog: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 72/131: gnu: python-aenum: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 41/131: gnu: python-pytest-django: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 47/131: gnu: python-django-url-filter: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 48/131: gnu: graphite2: Do not alter PYTHONPATH., guix-commits, 2021/01/29