unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#38419] [PATCH] gnu: bitlbee: Use Python 3.
@ 2019-11-28 18:16 Timotej Lazar
  2019-12-04 17:13 ` bug#38419: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Timotej Lazar @ 2019-11-28 18:16 UTC (permalink / raw)
  To: 38419; +Cc: Timotej Lazar

* 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@famulari.name>
 ;;; Copyright © 2018 Pierre-Antoine Rouby <contact@parouby.fr>
 ;;; Copyright © 2019 Tanguy Le Carrour <tanguy@bioneland.org>
+;;; Copyright © 2019 Timotej Lazar <timotej.lazar@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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#38419: [PATCH] gnu: bitlbee: Use Python 3.
  2019-11-28 18:16 [bug#38419] [PATCH] gnu: bitlbee: Use Python 3 Timotej Lazar
@ 2019-12-04 17:13 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2019-12-04 17:13 UTC (permalink / raw)
  To: Timotej Lazar; +Cc: 38419-done

Hi,

Timotej Lazar <timotej.lazar@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’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-12-04 17:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 18:16 [bug#38419] [PATCH] gnu: bitlbee: Use Python 3 Timotej Lazar
2019-12-04 17:13 ` bug#38419: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).