gnu: opendht: Add a "python" output.
This reduces the size of the main output from 286.1 MiB to 216.6 MiB. * gnu/packages/networking.scm (opendht) [outputs]: Add "python". [phases]: Adjust Python prefix of the fix-python-installation-prefix phase. [inputs]: Add python, used to wrap the tools.master
parent
e0d89c3735
commit
57c8ba22cf
|
@ -3719,7 +3719,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1kcc9vmi4swvahq2gikflgba9xfmix80dr9wa3v6xcj1ba2fjd6s"))))
|
"1kcc9vmi4swvahq2gikflgba9xfmix80dr9wa3v6xcj1ba2fjd6s"))))
|
||||||
(outputs '("out" "tools" "debug"))
|
(outputs '("out" "python" "tools" "debug"))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -3754,7 +3754,7 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
(substitute* "python/Makefile.am"
|
(substitute* "python/Makefile.am"
|
||||||
(("--root=\\$\\(DESTDIR)/")
|
(("--root=\\$\\(DESTDIR)/")
|
||||||
(string-append "--root=/ --single-version-externally-managed "
|
(string-append "--root=/ --single-version-externally-managed "
|
||||||
"--prefix=" #$output)))))
|
"--prefix=" #$output:python)))))
|
||||||
(add-after 'unpack 'specify-runpath-for-python-module
|
(add-after 'unpack 'specify-runpath-for-python-module
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "python/setup.py.in"
|
(substitute* "python/setup.py.in"
|
||||||
|
@ -3792,7 +3792,8 @@ and targeted primarily for asynchronous processing of HTTP-requests.")
|
||||||
gnutls
|
gnutls
|
||||||
jsoncpp
|
jsoncpp
|
||||||
nettle
|
nettle
|
||||||
openssl)) ;required for the DHT proxy
|
openssl ;required for the DHT proxy
|
||||||
|
python))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list autoconf
|
(list autoconf
|
||||||
automake
|
automake
|
||||||
|
|
Reference in New Issue