[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
23/163: gnu: find-circ: Wrap with the new Guix PYTHONPATH.
From: |
guix-commits |
Subject: |
23/163: gnu: find-circ: Wrap with the new Guix PYTHONPATH. |
Date: |
Mon, 25 Jan 2021 02:01:20 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 7c1743b309d9d0929d7d4b478cb8f982a8f19288
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Jan 22 16:29:58 2021 -0500
gnu: find-circ: Wrap with the new Guix PYTHONPATH.
* gnu/packages/bioinformatics.scm (find-circ): Delete trailing #t.
Import the (guix build python-build-system) module.
[phases]{install}: Wrap with the new Guix PYTHONPATH.
---
gnu/packages/bioinformatics.scm | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm
index 720d32d..1d2e0ef 100644
--- a/gnu/packages/bioinformatics.scm
+++ b/gnu/packages/bioinformatics.scm
@@ -12873,27 +12873,32 @@ conversions, region filtering, FASTA sequence
extraction and more.")
"0p77pbqbclqr4srms34y1b9b4njybfpjiknc11ki84f3p8skb3cg"))))
(build-system gnu-build-system)
(arguments
- `(#:tests? #f ; there are none
+ `(#:imported-modules ,(cons '(guix build python-build-system)
+ %gnu-build-system-modules)
+ #:modules ((guix build gnu-build-system)
+ ((guix build python-build-system) #:select
(guix-pythonpath))
+ (guix build utils))
+ #:tests? #f ; there are none
#:phases
;; There is no actual build system.
(modify-phases %standard-phases
(delete 'configure)
(delete 'build)
(replace 'install
- (lambda* (#:key outputs #:allow-other-keys)
+ (lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(bin (string-append out "/bin"))
- (path (getenv "PYTHONPATH")))
+ (pythonpath (guix-pythonpath inputs)))
(for-each (lambda (script)
(install-file script bin)
(wrap-program (string-append bin "/" script)
- `("PYTHONPATH" ":" prefix (,path))))
+ `(,pythonpath ":" prefix
+ (,(getenv pythonpath)))))
'("cmp_bed.py"
"find_circ.py"
"maxlength.py"
"merge_bed.py"
- "unmapped2anchors.py")))
- #t)))))
+ "unmapped2anchors.py"))))))))
(inputs
`(("python2" ,python-2)
("python2-pysam" ,python2-pysam)
- 109/163: gnu: d-feet: Wrap with the new Guix PYTHONPATH., (continued)
- 109/163: gnu: d-feet: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 77/163: gnu: meson: Update to 0.56.2., guix-commits, 2021/01/25
- 112/163: gnu: gnome-shell: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 106/163: gnu: gtg: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 111/163: gnu: caribou: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 80/163: gnu: gtk-doc: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 119/163: gnu: komikku: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 121/163: gnu: python-pathos: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 126/163: gnu: python-hdf4: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 20/163: gnu: gess: Adjust to use Guix PYTHONPATH., guix-commits, 2021/01/25
- 23/163: gnu: find-circ: Wrap with the new Guix PYTHONPATH.,
guix-commits <=
- 17/163: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/01/25
- 28/163: gnu: python-cffi: Do not set PYTHONPATH., guix-commits, 2021/01/25
- 46/163: gnu: avogadro: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 33/163: gnu: python-pyhamcrest: Update to 2.0.2., guix-commits, 2021/01/25
- 52/163: gnu: ibus: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 70/163: gnu: solfege: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 101/163: gnu: presentty: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 87/163: gnu: python-fenics-dijitso: Do not alter PYTHONPATH., guix-commits, 2021/01/25
- 96/163: gnu: entangle: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25
- 85/163: gnu: units: Wrap with the new Guix PYTHONPATH., guix-commits, 2021/01/25