[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: |
Mon, 1 Feb 2021 11:57:06 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit 8454438e0532aa026534510a0f6677552fc0e810
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 c9e90c4..bcc6ddb 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
- 119/131: gnu: python-cloudpickle: Do not alter PYTHONPATH., (continued)
- 119/131: gnu: python-cloudpickle: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 116/131: gnu: pypy3: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 126/131: gnu: kaldi-gstreamer-server: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/02/01
- 130/131: gnu: meson-for-build: Remove package., guix-commits, 2021/02/01
- 78/131: gnu: python-pygithub: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 79/131: gnu: python-matplotlib-documentation: Do not read PYTHONPATH., guix-commits, 2021/02/01
- 104/131: gnu: python-databricks-cli: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 105/131: gnu: python-flask: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 108/131: gnu: python-gunicorn: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 96/131: gnu: python-apispec: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 121/131: gnu: freecad: Wrap with GUIX_PYTHONPATH.,
guix-commits <=
- 114/131: gnu: gpodder: Do not alter PYTHONPATH., guix-commits, 2021/02/01
- 86/131: gnu: python-gevent: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 94/131: gnu: python-pbkdf2: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 99/131: gnu: python-aiohttp: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 107/131: gnu: python-webassets: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 111/131: gnu: redshift: Wrap with GUIX_PYTHONPATH., guix-commits, 2021/02/01
- 101/131: gnu: python-aws-xray-sdk: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 35/131: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/02/01
- 84/131: gnu: python-moto: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 92/131: gnu: python-pyelftools: Do not set PYTHONPATH., guix-commits, 2021/02/01