[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/09: gnu: opendht: Add a "python" output.
From: |
guix-commits |
Subject: |
05/09: gnu: opendht: Add a "python" output. |
Date: |
Wed, 8 Feb 2023 09:40:37 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 57c8ba22cf2fbab742730b3df7531f161af08fcb
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Tue Feb 7 23:32:43 2023 -0500
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.
---
gnu/packages/networking.scm | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm
index b33192d8cb..75ffe00b44 100644
--- a/gnu/packages/networking.scm
+++ b/gnu/packages/networking.scm
@@ -3719,7 +3719,7 @@ and targeted primarily for asynchronous processing of
HTTP-requests.")
(sha256
(base32
"1kcc9vmi4swvahq2gikflgba9xfmix80dr9wa3v6xcj1ba2fjd6s"))))
- (outputs '("out" "tools" "debug"))
+ (outputs '("out" "python" "tools" "debug"))
(build-system gnu-build-system)
(arguments
(list
@@ -3754,7 +3754,7 @@ and targeted primarily for asynchronous processing of
HTTP-requests.")
(substitute* "python/Makefile.am"
(("--root=\\$\\(DESTDIR)/")
(string-append "--root=/ --single-version-externally-managed "
- "--prefix=" #$output)))))
+ "--prefix=" #$output:python)))))
(add-after 'unpack 'specify-runpath-for-python-module
(lambda _
(substitute* "python/setup.py.in"
@@ -3792,7 +3792,8 @@ and targeted primarily for asynchronous processing of
HTTP-requests.")
gnutls
jsoncpp
nettle
- openssl)) ;required for the DHT proxy
+ openssl ;required for the DHT proxy
+ python))
(native-inputs
(list autoconf
automake
- branch master updated (e5a381d0ca -> 20059f92a9), guix-commits, 2023/02/08
- 03/09: gnu: qtdeclarative: Skip tst_qqmlprofilerservice test., guix-commits, 2023/02/08
- 02/09: gnu: qtbase: Do not capture Python from native-inputs., guix-commits, 2023/02/08
- 05/09: gnu: opendht: Add a "python" output.,
guix-commits <=
- 09/09: gnu: jami: Remove unused native inputs., guix-commits, 2023/02/08
- 06/09: gnu: ffmpeg-jami: Really honor custom configuration flags., guix-commits, 2023/02/08
- 08/09: gnu: libjami: Move jamid daemon to a "bin" output., guix-commits, 2023/02/08
- 07/09: gnu: ffmpeg-jami: Add a debug output., guix-commits, 2023/02/08
- 01/09: gnu: qtbase: Do not capture cmake-minimal., guix-commits, 2023/02/08
- 04/09: gnu: opendht: Do not produce static libraries., guix-commits, 2023/02/08