gnu: Adjust for python-build-system behavior change.

Commit cb72f9a773 changed the semantics of
SITE-PACKAGES, but did not adjust all callers.

* gnu/packages/bioinformatics.scm (python-pyvcf)[arguments]: Adjust for
missing trailing slash.
* gnu/packages/maths.scm (nomad-optimizer)[arguments]: Likewise.
* gnu/packages/patchutils.scm (patchwork)[arguments]: Likewise.
This commit is contained in:
Marius Bakke 2021-12-04 12:22:11 +01:00
parent b507cc49ab
commit db5646d957
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
3 changed files with 5 additions and 6 deletions

View file

@ -15281,8 +15281,7 @@ (define-public python-pyvcf
(lambda* (#:key inputs outputs #:allow-other-keys)
(delete-file-recursively (string-append
(site-packages inputs outputs)
"vcf/test"))
#t)))))
"/vcf/test")))))))
(native-inputs `(("python-cython" ,python-cython)))
(propagated-inputs
`(("python-pysam" ,python-pysam)

View file

@ -2009,7 +2009,7 @@ (define-public nomad-optimizer
(lambda* (#:key inputs outputs #:allow-other-keys)
(delete-file (string-append
(site-packages inputs outputs)
"PyNomad-0.0.0-py"
"/PyNomad-0.0.0-py"
(python-version (assoc-ref inputs "python"))
".egg-info"))
#t)))))

View file

@ -390,7 +390,7 @@ (define pythonpath
(for-each (lambda (directory)
(copy-recursively
directory
(string-append out-site-packages directory)))
(string-append out-site-packages "/" directory)))
'(;; Contains the python code
"patchwork"
;; Contains the templates for the generated HTML
@ -403,9 +403,9 @@ (define pythonpath
(install-file file (string-append out "/bin")))
(list
(string-append out-site-packages
"patchwork/bin/parsemail.sh")
"/patchwork/bin/parsemail.sh")
(string-append out-site-packages
"patchwork/bin/parsemail-batch.sh")))
"/patchwork/bin/parsemail-batch.sh")))
;; Collect the static assets, this includes JavaScript, CSS and
;; fonts. This is a standard Django process when running a