all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#27232: [PATCH] gnu: python-apsw: Build with all extensions.
@ 2017-06-04 12:49 Jelle Licht
  2017-06-04 16:19 ` Danny Milosavljevic
  2017-07-07 14:54 ` [bug#27232] " Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Jelle Licht @ 2017-06-04 12:49 UTC (permalink / raw)
  To: 27232

* 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

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

* bug#27232: [PATCH] gnu: python-apsw: Build with all extensions.
  2017-06-04 12:49 bug#27232: [PATCH] gnu: python-apsw: Build with all extensions Jelle Licht
@ 2017-06-04 16:19 ` Danny Milosavljevic
  2017-07-20  9:29   ` [bug#27232] " Ludovic Courtès
  2017-07-07 14:54 ` [bug#27232] " Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Danny Milosavljevic @ 2017-06-04 16:19 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 27232

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

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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-06-04 12:49 bug#27232: [PATCH] gnu: python-apsw: Build with all extensions Jelle Licht
  2017-06-04 16:19 ` Danny Milosavljevic
@ 2017-07-07 14:54 ` Ludovic Courtès
  2017-07-08  0:10   ` Jelle Licht
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-07-07 14:54 UTC (permalink / raw)
  To: Jelle Licht; +Cc: Ricardo Wurmus, 27232

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

Hi Jelle!

As proposed earlier, I’ve added you as a committer on Savannah.
Hopefully that will allow you to push all the patches that people have
already okayed but not pushed thinking that you’d do it.  :-)

Please make sure the OpenPGP key at
<https://savannah.gnu.org/users/jlicht> is what you’ll use to sign
commits.  Could you reply to this message signed with this key?

Also please read ‘HACKING’.

That’s it!  Happy hacking, and welcome again!  :-)

Ludo’.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-07-07 14:54 ` [bug#27232] " Ludovic Courtès
@ 2017-07-08  0:10   ` Jelle Licht
  2017-07-08 16:16     ` Ludovic Courtès
  0 siblings, 1 reply; 9+ messages in thread
From: Jelle Licht @ 2017-07-08  0:10 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27232

[-- Attachment #1: Type: text/plain, Size: 122 bytes --]


Hi Ludo,

Still being a bit unused at integrating gpg into my workflow, but I
should have it all working now.

- Jelle



[-- Attachment #2.1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-07-08  0:10   ` Jelle Licht
@ 2017-07-08 16:16     ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-07-08 16:16 UTC (permalink / raw)
  To: Jelle Licht; +Cc: 27232

Hi Jelle,

Jelle Licht <jlicht@fsfe.org> skribis:

> Still being a bit unused at integrating gpg into my workflow, but I
> should have it all working now.

This looks good, except that you signed an empty MIME part, not the body
of your message.  :-)

Ludo’.

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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-06-04 16:19 ` Danny Milosavljevic
@ 2017-07-20  9:29   ` Ludovic Courtès
  2017-07-27 13:38     ` Jelle Licht
  2017-09-08 15:51     ` Ludovic Courtès
  0 siblings, 2 replies; 9+ messages in thread
From: Ludovic Courtès @ 2017-07-20  9:29 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27232

Hello,

Danny Milosavljevic <dannym@scratchpost.org> 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?

Thanks!

Ludo’.

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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-07-20  9:29   ` [bug#27232] " Ludovic Courtès
@ 2017-07-27 13:38     ` Jelle Licht
  2017-09-08 15:51     ` Ludovic Courtès
  1 sibling, 0 replies; 9+ messages in thread
From: Jelle Licht @ 2017-07-27 13:38 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27232


[-- Attachment #1.1: Type: text/plain, Size: 641 bytes --]

I add this command in a phase after build, and adjusted the attached patch
accordingly.
If there are no further issues, I will commit this at the end of this week.


2017-07-20 11:29 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Hello,
>
> Danny Milosavljevic <dannym@scratchpost.org> 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?
>
> Thanks!
>
> Ludo’.
>

[-- Attachment #1.2: Type: text/html, Size: 1092 bytes --]

[-- Attachment #2: 0001-gnu-python-apsw-Build-with-all-extensions.patch --]
[-- Type: text/x-patch, Size: 1282 bytes --]

From 3e2176ce3053c6aa6ec84352f417292ccf89e16e Mon Sep 17 00:00:00 2001
From: Jelle Licht <jlicht@fsfe.org>
Date: Sat, 22 Jul 2017 14:23:18 +0200
Subject: [PATCH] gnu: python-apsw: Build with all extensions.

* gnu/packages/python.scm (python-apsw)[phases]: Replace build phase; add flag
  to build all extensions. Add build-test-helper to allow testing of
  extensions.
---
 gnu/packages/python.scm | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 7974dfa58..75046e845 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -6025,6 +6025,16 @@ implementation of D-Bus.")
     (arguments
      `(#:phases
        (modify-phases %standard-phases
+         (replace 'build
+           (lambda _
+             (zero?
+              (system* "python" "setup.py" "build" "--enable-all-extensions"))))
+         (add-after 'build 'build-test-helper
+           (lambda _
+             (zero?
+              (system
+               (string-append "gcc -fPIC -shared -o ./testextension.sqlext"
+                              "-I. -Isqlite3 src/testextension.c") ))))
          (delete 'check)
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
-- 
2.13.3


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

* [bug#27232] [PATCH] gnu: python-apsw: Build with all extensions.
  2017-07-20  9:29   ` [bug#27232] " Ludovic Courtès
  2017-07-27 13:38     ` Jelle Licht
@ 2017-09-08 15:51     ` Ludovic Courtès
  2017-09-10 23:16       ` bug#27232: " Jelle Licht
  1 sibling, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2017-09-08 15:51 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 27232

Hello Jelle,

ludo@gnu.org (Ludovic Courtès) skribis:

> Danny Milosavljevic <dannym@scratchpost.org> 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’.

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

* bug#27232: [PATCH] gnu: python-apsw: Build with all extensions.
  2017-09-08 15:51     ` Ludovic Courtès
@ 2017-09-10 23:16       ` Jelle Licht
  0 siblings, 0 replies; 9+ messages in thread
From: Jelle Licht @ 2017-09-10 23:16 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 27232-done

[-- Attachment #1: Type: text/plain, Size: 599 bytes --]

2017-09-08 17:51 GMT+02:00 Ludovic Courtès <ludo@gnu.org>:

> Hello Jelle,
>
> ludo@gnu.org (Ludovic Courtès) skribis:
>
> > Danny Milosavljevic <dannym@scratchpost.org> 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!

[-- Attachment #2: Type: text/html, Size: 1112 bytes --]

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

end of thread, other threads:[~2017-09-10 23:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-04 12:49 bug#27232: [PATCH] gnu: python-apsw: Build with all extensions Jelle Licht
2017-06-04 16:19 ` Danny Milosavljevic
2017-07-20  9:29   ` [bug#27232] " Ludovic Courtès
2017-07-27 13:38     ` Jelle Licht
2017-09-08 15:51     ` Ludovic Courtès
2017-09-10 23:16       ` bug#27232: " Jelle Licht
2017-07-07 14:54 ` [bug#27232] " Ludovic Courtès
2017-07-08  0:10   ` Jelle Licht
2017-07-08 16:16     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.