guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/03: gnu: libpst: Fix python detection.


From: guix-commits
Subject: 01/03: gnu: libpst: Fix python detection.
Date: Tue, 25 Apr 2023 16:09:39 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 97323e5262da0b352a1f1b9875d3a9ae688f37d2
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Apr 25 22:52:29 2023 +0300

    gnu: libpst: Fix python detection.
    
    * gnu/packages/mail.scm (libpst)[arguments]: Add a phase to detect newer
    versions of python3.
    [native-inputs]: Add autoconf, automake, gettext-minimal, libool.
---
 gnu/packages/mail.scm | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f10c70db52..ef4bfd4172 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -8,7 +8,7 @@
 ;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
 ;;; Copyright © 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2015 Andreas Enge <andreas@enge.fr>
-;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 Efraim Flashner 
<efraim@flashner.co.il>
+;;; Copyright © 2015-2023 Efraim Flashner <efraim@flashner.co.il>
 ;;; Copyright © 2016 Christine Lemmer-Webber <cwebber@dustycloud.org>
 ;;; Copyright © 2016 Al McElrath <hello@yrns.org>
 ;;; Copyright © 2016, 2017, 2018, 2019, 2020, 2021 Leo Famulari 
<leo@famulari.name>
@@ -4604,10 +4604,20 @@ undelete email messages from Outlook Express .dbx 
files.")
         (base32
          "0hhbbb8ddsgjhv9y1xd8s9ixlhdnjmhw12v06jwx4j6vpgp1na9x"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+       #:phases
+       #~(modify-phases %standard-phases
+           (add-after 'unpack 'fix-python-detection
+             (lambda _
+               (delete-file "configure")
+               (substitute* "m4/ax_python.m4"
+                 (("python3\\.9")
+                  "python3.12 python3.11 python3.10 python3.9")))))))
     (inputs
      (list boost libgsf python zlib))
     (native-inputs
-     (list pkg-config))
+     (list autoconf automake gettext-minimal libtool pkg-config))
     (home-page "https://www.five-ten-sg.com/libpst/";)
     (synopsis "Tools to process Outlook email archives")
     (description "The Libpst utilities include @code{readpst} which can



reply via email to

[Prev in Thread] Current Thread [Next in Thread]