From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 57587@debbugs.gnu.org
Subject: [bug#57587] [PATCH] gnu: python-apsw: Update to 3.39.2.1.
Date: Mon, 05 Sep 2022 10:45:11 +0800 [thread overview]
Message-ID: <y76bkru1qvc.wl-hako@ultrarare.space> (raw)
From 71d63d8824c860becb8975c63c6438ca437c168d Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako@ultrarare.space>
Date: Mon, 5 Sep 2022 10:38:19 +0800
Subject: [PATCH] gnu: python-apsw: Update to 3.39.2.1.
* gnu/packages/databases.scm (python-apsw): Update to 3.39.2.1.
[arguments]: Use bundled Makefile.
---
gnu/packages/databases.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 7edf0fed2d..741e582264 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3568,7 +3568,7 @@ (define-public python-pickleshare
(define-public python-apsw
(package
(name "python-apsw")
- (version "3.39.2.0")
+ (version "3.39.2.1")
(source
(origin
(method git-fetch)
@@ -3578,20 +3578,23 @@ (define-public python-apsw
(file-name (git-file-name name version))
(sha256
(base32
- "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y"))))
+ "1pdlmzyn0xnks4iwd99crralpbnli78c28zh000ha8dz4qbr0nsv"))))
(build-system python-build-system)
(inputs (list sqlite-next)) ;SQLite 3.39 required.
(arguments
(list #:phases
#~(modify-phases %standard-phases
- (replace 'build
+ (add-before 'build 'disable-fetch
(lambda _
- (invoke "python" "setup.py" "build" "--enable-all-extensions"
- "--enable=load_extension")))
- (add-after 'build 'build-test-helper
+ (substitute* "Makefile"
+ (("fetch.*--all") ""))))
+ (replace 'build
(lambda _
- (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
- "-I." "-Isqlite3" "src/testextension.c"))))))
+ (invoke "make" "build_ext")))
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "make" "test")))))))
(home-page "https://github.com/rogerbinns/apsw/")
(synopsis "Another Python SQLite Wrapper")
(description
base-commit: d22a5c18517d662516fc93889534367fd3a448f2
--
2.37.2
next reply other threads:[~2022-09-05 2:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-05 2:45 Hilton Chain via Guix-patches via [this message]
2022-09-05 6:11 ` [bug#57587] [PATCH v2] gnu: python-apsw: Update to 3.39.2.1 Hilton Chain via Guix-patches via
2022-09-06 8:01 ` Christopher Baines
2022-09-06 10:46 ` [bug#57587] " Hilton Chain via Guix-patches via
2022-09-06 11:35 ` Hilton Chain via Guix-patches via
2022-09-06 12:54 ` [bug#57587] [PATCH] " Hilton Chain via Guix-patches via
2022-09-06 12:59 ` [bug#57587] [PATCH v3] " Hilton Chain via Guix-patches via
2022-09-07 17:16 ` bug#57587: " Marius Bakke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=y76bkru1qvc.wl-hako@ultrarare.space \
--to=guix-patches@gnu.org \
--cc=57587@debbugs.gnu.org \
--cc=hako@ultrarare.space \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).