gnu: python-xapian-bindings: Don't hard-code Python sitedir.
* gnu/packages/search.scm (python-xapian-bindings)[arguments]: In #:make-flags, use VERSION-MAJOR+MINOR to set pkgpylibdir.master
parent
7afd2069d5
commit
c3753f3803
|
@ -24,6 +24,7 @@
|
||||||
#:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11))
|
#:select (gpl2 gpl2+ gpl3+ lgpl2.1+ bsd-3 x11))
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system gnu)
|
#:use-module (guix build-system gnu)
|
||||||
#:use-module (gnu packages)
|
#:use-module (gnu packages)
|
||||||
#:use-module (gnu packages compression)
|
#:use-module (gnu packages compression)
|
||||||
|
@ -90,7 +91,9 @@ rich set of boolean query operators.")
|
||||||
#:make-flags
|
#:make-flags
|
||||||
(list (string-append "pkgpylibdir="
|
(list (string-append "pkgpylibdir="
|
||||||
(assoc-ref %outputs "out")
|
(assoc-ref %outputs "out")
|
||||||
"/lib/python3.5/site-packages/xapian"))))
|
"/lib/python" ,(version-major+minor
|
||||||
|
(package-version python))
|
||||||
|
"/site-packages/xapian"))))
|
||||||
(inputs
|
(inputs
|
||||||
`(("python" ,python)
|
`(("python" ,python)
|
||||||
("python-sphinx" ,python-sphinx) ; for documentation
|
("python-sphinx" ,python-sphinx) ; for documentation
|
||||||
|
|
Reference in New Issue