Subject: bug#27232: closed (Re: [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 10 Sep 2017 23:17:02 +0000

Your bug report

#27232: [PATCH] gnu: python-apsw: Build with all extensions.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
27232: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27232
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
From: Jelle Licht <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: Danny Milosavljevic <[email-masked]>, [email-masked]
Date: Mon, 11 Sep 2017 01:16:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

2017-09-08 17:51 GMT+02:00 Ludovic Courtès <[email-masked]>:

> Hello Jelle,
>
> [email-masked] (Ludovic Courtès) skribis:
>
> > Danny Milosavljevic <[email-masked]> skribis:
> >
> >> It works.  LGTM.
> >>
> >> I get the following message though:
> >>
> >>   Not doing LoadExtension test.  You need to compile the extension first
> >>     gcc -fPIC -shared -o ./testextension.sqlext -I. -Isqlite3
> src/testextension.c
> >
> > Jelle, could you check and possibly commit this patch?
>
> Ping!  :-)
>
> Please close it if it’s no longer relevant.
>
> Ludo’.
>
Done!

Subject: [PATCH] gnu: python-apsw: Build with all extensions.
From: Jelle Licht <[email-masked]>
To: [email-masked]
Cc: Jelle Licht <[email-masked]>
Date: Sun, 4 Jun 2017 14:49:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python.scm (python-apsw)[phases]: Replace build phase; add flag
  to build all extensions.
---
 gnu/packages/python.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7617490bd..4ce56d45c 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -5725,6 +5725,10 @@ implementation of D-Bus.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             (zero?
+              (system* "python" "setup.py" "build" "--enable-all-extensions"))))
          (delete 'check)
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
-- 
2.13.0