GNU bug report logs -
#57587
[PATCH] gnu: python-apsw: Update to 3.39.2.1.
Previous Next
Reported by: Hilton Chain <hako <at> ultrarare.space>
Date: Mon, 5 Sep 2022 02:46:02 UTC
Severity: normal
Tags: patch
Done: Marius Bakke <marius <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#57587: [PATCH] gnu: python-apsw: Update to 3.39.2.1.
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 57587 <at> debbugs.gnu.org.
--
57587: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57587
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Hilton Chain via Guix-patches via <guix-patches <at> gnu.org> skriver:
> * gnu/packages/databases.scm (python-apsw): Update to 3.39.2.1.
> [source]: Change back to compressed release.
> * gnu/packages/patches/python-apsw-3.39.2.1-test-fix.patch: New file.
> * gnu/local.mk: Add patch.
Applied, thanks!
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From 71d63d8824c860becb8975c63c6438ca437c168d Mon Sep 17 00:00:00 2001
From: Hilton Chain <hako <at> 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
This bug report was last modified 2 years and 261 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.