[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
121/131: gnu: freecad: Wrap with GUIX_PYTHONPATH.
From: |
guix-commits |
Subject: |
121/131: gnu: freecad: Wrap with GUIX_PYTHONPATH. |
Date: |
Fri, 29 Jan 2021 09:22:20 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 2d2713f0aa886030e70b360e14fc464586164652
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Jan 27 21:16:22 2021 -0500
gnu: freecad: Wrap with GUIX_PYTHONPATH.
* gnu/packages/engineering.scm (freecad)
[phases]{restore-pythonpath}: Delete phase.
{wrap-pythonpath}: Replace PYTHONPATH with GUIX_PYTHONPATH.
---
gnu/packages/engineering.scm | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index d0c7a2b..0bf3fe4 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2591,18 +2591,12 @@ full programmatic control over your models.")
"/include/shiboken2"))
#:phases
(modify-phases %standard-phases
- (add-before 'configure 'restore-pythonpath
- (lambda _
- (substitute* "src/Main/MainGui.cpp"
- (("_?putenv\\(\"PYTHONPATH=\"\\);") ""))
- #t))
(add-after 'install 'wrap-pythonpath
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(wrap-program (string-append out "/bin/FreeCAD")
- (list "PYTHONPATH"
- 'prefix (list (getenv "GUIX_PYTHONPATH")))))
- #t)))))
+ (list "GUIX_PYTHONPATH"
+ 'prefix (list (getenv "GUIX_PYTHONPATH"))))))))))
(home-page "https://www.freecadweb.org/")
(synopsis "Your Own 3D Parametric Modeler")
(description
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., (continued)
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 127/131: gnu: manuskript: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 80/131: gnu: python-multidict: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 84/131: gnu: python-moto: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 108/131: gnu: python-gunicorn: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 112/131: gnu: Adjust package collection to Wrap using GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 115/131: gnu: assword: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 91/131: gnu: python-validictory: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 95/131: gnu: python-rfc3986: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 123/131: gnu: roguebox-adventures: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 121/131: gnu: freecad: Wrap with GUIX_PYTHONPATH.,
guix-commits <=
- 113/131: gnu: enjarify: Do not alter PYTHONPATH., guix-commits, 2021/01/29
- 131/131: gnu: python-attrs: Update to 20.3.0., guix-commits, 2021/01/29
- 92/131: gnu: python-pyelftools: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 93/131: gnu: python-cheetah: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 94/131: gnu: python-pbkdf2: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 105/131: gnu: python-flask: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 117/131: gnu: gajim: Use GUIX_PYTHONPATH in search path., guix-commits, 2021/01/29
- 130/131: gnu: meson-for-build: Remove package., guix-commits, 2021/01/29
- 87/131: gnu: python-libcst: Do not set PYTHONPATH., guix-commits, 2021/01/29
- 86/131: gnu: python-gevent: Do not set PYTHONPATH., guix-commits, 2021/01/29