aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHilton Chain <hako@ultrarare.space>2022-08-26 22:28:48 +0800
committerMarius Bakke <marius@gnu.org>2022-08-27 00:09:03 +0200
commit17ffcde1fc465bd10d99def36329101912ddc79a (patch)
treebd01c01ebf92e8b7c511b2eff8f68e14f52c78d0
parent586f6c3a7ac0578f1b4a0a5de6f2e73221ea130a (diff)
downloadguix-17ffcde1fc465bd10d99def36329101912ddc79a.tar.gz
guix-17ffcde1fc465bd10d99def36329101912ddc79a.zip
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>
-rw-r--r--gnu/packages/databases.scm60
1 files 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
ardware.scm (memtest86+): Update to 6.20. 2023-07-01gnu: tpm2-tools: New variableFelix Lechner via Guix-patches via * gnu/packages/hardware.scm (tpm-tools): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> 2023-05-14gnu: Rename json-modern-cxx to nlohmann-json.Liliana Marie Prikler * gnu/packages/cpp.scm (nlohmann-json): New variable. (json-modern-cxx): Mark as deprecated alias. (xtl, jsonnet)[inputs]: Use nlohmann-json. * gnu/packages/build-tools.scm (bear)[inputs]: Likewise. * gnu/packages/cybersecurity.scm (blacksmith)[inputs]: Likewise. * gnu/packages/databases.scm (sqlitebrowser)[inputs]: Adjust comment. * gnu/packages/games.scm (openrct2)[inputs]: Use nlohmann-json. * gnu/packages/graphics.scm (f3d)[native-inputs]: Likewise. * gnu/packages/hardware.scm (openrgb)[inputs]: Likewise. [arguments]: Adjust accordingly. * gnu/packages/image-processing.scm (paraview)[inputs]: Adjust comment. * gnu/packages/irods.scm (irods, irods-client-icommands)[inputs]: Use nlohmann-json. * gnu/packages/jupyter.scm (xeus)[inputs]: Likewise. * gnu/packages/messaging.scm (mtxclient, nheko)[inputs]: Likewise. * gnu/packages/text-editors.scm (jucipp)[inputs]: Likewise. * gnu/packages/video.scm (mktoolnix)[inputs]: Likewise. * gnu/packages/xdisorg.scm (nwg-launchers)[inputs]: Likewise. 2023-04-23gnu: Add lxi-tools.Petr Hodina * gnu/packages/hardware.scm (lxi-tools): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> 2023-04-23gnu: Add liblxi.Petr Hodina * gnu/packages/hardware.scm (liblxi): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> 2023-03-28gnu: ddcutil: Update to 1.4.1.Spencer Skylar Chan * gnu/packages/hardware.scm (ddcutil): Update to 1.4.1. [arguments](phases): Remove them. i2c group access is no longer strictly required; see https://github.com/rockowitz/ddcutil/issues/275. Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>