gnu: python-pymol: Fix launch script.
* gnu/packages/chemistry.scm (python-pymol)[#:phases]: Add 'disable-unchroot. [native-inputs]: Remove python-setuptools. Signed-off-by: Andreas Enge <andreas@enge.fr>
parent
9ca9b0afb6
commit
2e3edb38a5
|
@ -6,7 +6,7 @@
|
||||||
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
|
||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
|
;;; Copyright © 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||||
;;; Copyright © 2022 David Elsing <david.elsing@posteo.net>
|
;;; Copyright © 2022, 2023 David Elsing <david.elsing@posteo.net>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -554,6 +554,12 @@ symmetries written in C. Spglib can be used to:
|
||||||
(assoc-ref inputs "libxml2")
|
(assoc-ref inputs "libxml2")
|
||||||
"/include/libxml2:"
|
"/include/libxml2:"
|
||||||
(getenv "CPLUS_INCLUDE_PATH")))))
|
(getenv "CPLUS_INCLUDE_PATH")))))
|
||||||
|
;; Prevent deleting the leading / in the __init__.py path in the
|
||||||
|
;; launch script.
|
||||||
|
(add-after 'unpack 'disable-unchroot
|
||||||
|
(lambda _
|
||||||
|
(substitute* "setup.py"
|
||||||
|
(("self\\.unchroot") ""))))
|
||||||
;; The setup.py script does not support one of the Python build
|
;; The setup.py script does not support one of the Python build
|
||||||
;; system's default flags, "--single-version-externally-managed".
|
;; system's default flags, "--single-version-externally-managed".
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
@ -572,8 +578,7 @@ symmetries written in C. Spglib can be used to:
|
||||||
python-pyqt
|
python-pyqt
|
||||||
glm
|
glm
|
||||||
netcdf))
|
netcdf))
|
||||||
(native-inputs
|
(native-inputs (list catch2))
|
||||||
(list catch2 python-setuptools))
|
|
||||||
(home-page "https://pymol.org")
|
(home-page "https://pymol.org")
|
||||||
(synopsis "Molecular visualization system")
|
(synopsis "Molecular visualization system")
|
||||||
(description "PyMOL is a capable molecular viewer and renderer. It can be
|
(description "PyMOL is a capable molecular viewer and renderer. It can be
|
||||||
|
|
Reference in New Issue