GNU bug report logs - #38419
[PATCH] gnu: bitlbee: Use Python 3.

Previous Next

Package: guix-patches;

Reported by: Timotej Lazar <timotej.lazar <at> araneo.si>

Date: Thu, 28 Nov 2019 18:18:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#38419: closed ([PATCH] gnu: bitlbee: Use Python 3.)
Date: Wed, 04 Dec 2019 17:14:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 04 Dec 2019 18:13:45 +0100
with message-id <877e3cc8ty.fsf <at> gnu.org>
and subject line Re: [bug#38419] [PATCH] gnu: bitlbee: Use Python 3.
has caused the debbugs.gnu.org bug report #38419,
regarding [PATCH] gnu: bitlbee: Use Python 3.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
38419: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38419
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Timotej Lazar <timotej.lazar <at> araneo.si>
To: guix-patches <at> gnu.org
Cc: Timotej Lazar <timotej.lazar <at> araneo.si>
Subject: [PATCH] gnu: bitlbee: Use Python 3.
Date: Thu, 28 Nov 2019 19:16:41 +0100
* gnu/packages/messaging.scm (bitlbee)[inputs]: Replace python-2 with python.
[arguments]: Set the PYTHON environment variable before configuring.
---
 gnu/packages/messaging.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index 2429bad3e5..97b4eb85e1 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2018 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2018 Pierre-Antoine Rouby <contact <at> parouby.fr>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
+;;; Copyright © 2019 Timotej Lazar <timotej.lazar <at> araneo.si>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -181,11 +182,13 @@ end-to-end encryption.")
     (inputs `(("glib" ,glib)
               ("libotr" ,libotr)
               ("gnutls" ,gnutls)
-              ("python" ,python-2)
+              ("python" ,python)
               ("perl" ,perl)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'set-python
+           (lambda _ (setenv "PYTHON" (which "python3")) #t))
          (add-after 'install 'install-etc
            (lambda* (#:key (make-flags '()) #:allow-other-keys)
              (apply invoke "make" "install-etc" make-flags)))
-- 
2.24.0



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Timotej Lazar <timotej.lazar <at> araneo.si>
Cc: 38419-done <at> debbugs.gnu.org
Subject: Re: [bug#38419] [PATCH] gnu: bitlbee: Use Python 3.
Date: Wed, 04 Dec 2019 18:13:45 +0100
Hi,

Timotej Lazar <timotej.lazar <at> araneo.si> skribis:

> * gnu/packages/messaging.scm (bitlbee)[inputs]: Replace python-2 with python.
> [arguments]: Set the PYTHON environment variable before configuring.

Applied, thanks!

Ludo’.


This bug report was last modified 5 years and 169 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.