[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/17: gnu: python-apsw: Update to 3.39.2.0.
From: |
guix-commits |
Subject: |
11/17: gnu: python-apsw: Update to 3.39.2.0. |
Date: |
Fri, 26 Aug 2022 18:11:12 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 17ffcde1fc465bd10d99def36329101912ddc79a
Author: Hilton Chain <hako@ultrarare.space>
AuthorDate: Fri Aug 26 22:28:48 2022 +0800
gnu: python-apsw: Update to 3.39.2.0.
* gnu/packages/databases.scm (python-apsw): Update to 3.39.2.0.
[source]: Change to git-fetch.
[inputs]: Replace sqlite with sqlite-next.
[arguments]: Remove custom check phase.
Some styling adjustments as well.
Signed-off-by: Marius Bakke <marius@gnu.org>
---
gnu/packages/databases.scm | 60 +++++++++++++++++++++-------------------------
1 file changed, 27 insertions(+), 33 deletions(-)
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 82a3f22b7c..dd8ed50371 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3568,44 +3568,38 @@ PickleShare.")
(define-public python-apsw
(package
(name "python-apsw")
- (version "3.36.0-r1")
+ (version "3.39.2.0")
(source
- (origin
- (method url-fetch)
- (uri (string-append "https://github.com/rogerbinns/apsw/releases"
- "/download/" version "/apsw-" version ".zip"))
- (sha256
- (base32
- "0w8q73147hv77dlpqrx6h1gx03acc8xqhvdpfp6vkffdm0wmqd8p"))))
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/rogerbinns/apsw")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0q7fnk8n3m5mpjzh6xyhj409k8sacdbjsfis98my9c50fdn5sr7y"))))
(build-system python-build-system)
- (native-inputs
- (list unzip))
- (inputs
- (list sqlite))
+ (native-inputs (list unzip))
+ (inputs (list sqlite-next)) ;SQLite 3.39 required.
(arguments
- `(#:phases
- (modify-phases %standard-phases
- (replace 'build
- (lambda _
- (invoke "python" "setup.py" "build" "--enable-all-extensions"
- "--enable=load_extension")
- #t))
- (add-after 'build 'build-test-helper
- (lambda _
- (invoke "gcc" "-fPIC" "-shared" "-o" "./testextension.sqlext"
- "-I." "-Isqlite3" "src/testextension.c")
- #t))
- (replace 'check
- (lambda* (#:key inputs outputs #:allow-other-keys)
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "setup.py" "test")
- #t)))))
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (replace 'build
+ (lambda _
+ (invoke "python" "setup.py" "build"
"--enable-all-extensions"
+ "--enable=load_extension") #t))
+ (add-after 'build 'build-test-helper
+ (lambda _
+ (invoke "gcc" "-fPIC" "-shared" "-o"
"./testextension.sqlext"
+ "-I." "-Isqlite3" "src/testextension.c") #t)))))
(home-page "https://github.com/rogerbinns/apsw/")
(synopsis "Another Python SQLite Wrapper")
- (description "APSW is a Python wrapper for the SQLite
-embedded relational database engine. In contrast to other wrappers such as
-pysqlite it focuses on being a minimal layer over SQLite attempting just to
-translate the complete SQLite API into Python.")
+ (description
+ "APSW is a Python wrapper for the SQLite embedded relational database
+engine. In contrast to other wrappers such as pysqlite it focuses on being a
+minimal layer over SQLite attempting just to translate the complete SQLite API
+into Python.")
(license license:zlib)))
(define-public python-aiosqlite
- 04/17: gnu: rust-ouroboros: Add 0.15.2., (continued)
- 04/17: gnu: rust-ouroboros: Add 0.15.2., guix-commits, 2022/08/26
- 09/17: gnu: Add streamripper., guix-commits, 2022/08/26
- 10/17: gnu: streamripper: Remove bundled software., guix-commits, 2022/08/26
- 17/17: gnu: gcc-12: Update to 12.2.0., guix-commits, 2022/08/26
- 01/17: gnu: libreoffice: Add release-monitoring-url., guix-commits, 2022/08/26
- 02/17: gnu: rust-ghost: Update to 0.1.6., guix-commits, 2022/08/26
- 14/17: gnu: xonsh: Update to 0.13.1, guix-commits, 2022/08/26
- 15/17: gnu: oil: Update to 0.12.4., guix-commits, 2022/08/26
- 16/17: gnu: transmission: Add libappindicator to inputs., guix-commits, 2022/08/26
- 05/17: gnu: rust-send-wrapper: Add 0.5.0., guix-commits, 2022/08/26
- 11/17: gnu: python-apsw: Update to 3.39.2.0.,
guix-commits <=
- 06/17: gnu: rust-widestring: Add 0.5.1., guix-commits, 2022/08/26
- 07/17: gnu: rust-indoc: Update to 1.0.7., guix-commits, 2022/08/26
- 13/17: gnu: python-qtpy: Update to 2.2.0., guix-commits, 2022/08/26
- 08/17: gnu: python-cryptography: Update to 37.0.4., guix-commits, 2022/08/26
- 03/17: gnu: rust-inventory: Add 0.2.3., guix-commits, 2022/08/26
- 12/17: gnu: python-apsw: Remove obsolete code., guix-commits, 2022/08/26