mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: litecli: Update to 1.15.0.
* gnu/packages/databases.scm (litecli): Update to 1.15.0. [build-system]: Use pyproject-build-system. [arguments]<#:test-flags>: Skip failing tests. <#:phases>: Add new phase 'relax-sqlparse' after 'unpack'. [native-inputs]: Remove python-mock. Add python-setuptools, python-wheel. Change-Id: I325bd9190f953b58cf17e943172b4665baeb3066
This commit is contained in:
parent
261047e2b4
commit
6924e9bcc2
1 changed files with 22 additions and 5 deletions
|
@ -43,7 +43,7 @@
|
||||||
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
|
;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org>
|
||||||
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
|
;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org>
|
||||||
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
|
||||||
;;; Copyright © 2020 Vinicius Monego <monego@posteo.net>
|
;;; Copyright © 2020, 2025 Vinicius Monego <monego@posteo.net>
|
||||||
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
|
||||||
;;; Copyright © 2021, 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
;;; Copyright © 2021, 2024 Sharlatan Hellseher <sharlatanus@gmail.com>
|
||||||
;;; Copyright © 2021, 2024 Greg Hogan <code@greghogan.com>
|
;;; Copyright © 2021, 2024 Greg Hogan <code@greghogan.com>
|
||||||
|
@ -808,14 +808,31 @@ replacement for the @code{python-memcached} library.")
|
||||||
(define-public litecli
|
(define-public litecli
|
||||||
(package
|
(package
|
||||||
(name "litecli")
|
(name "litecli")
|
||||||
(version "1.9.0")
|
(version "1.15.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "litecli" version))
|
(uri (pypi-uri "litecli" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1897divrdqlhl1p5jvvm29rg3d99f48s58na7hgdzm1x13x2rbr1"))))
|
(base32 "0yfdafh21k8fls85rgyfn03xxn6x5hqcnmlq1v3jvmxjaxzrk19j"))))
|
||||||
(build-system python-build-system)
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
;; These tests depend on python-llm (not packaged)
|
||||||
|
#:test-flags #~(list "-k" (string-append
|
||||||
|
"not test_refresh_called_once"
|
||||||
|
" and not test_refresh_called_twice"
|
||||||
|
" and not test_refresh_with_callbacks"
|
||||||
|
" and not test_llm_command_known_subcommand"))
|
||||||
|
#:phases #~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'relax-sqlparse
|
||||||
|
(lambda _
|
||||||
|
(substitute* "pyproject.toml"
|
||||||
|
;; Currently we have 0.4.3 and it is fine. Remove this
|
||||||
|
;; line when sqlparse is updated.
|
||||||
|
(("sqlparse>=0.4.4") "sqlparse")
|
||||||
|
;; Also remove python-pip from sanity-check.
|
||||||
|
(("\"pip\",") "")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-cli-helpers
|
(list python-cli-helpers
|
||||||
python-click
|
python-click
|
||||||
|
@ -824,7 +841,7 @@ replacement for the @code{python-memcached} library.")
|
||||||
python-pygments
|
python-pygments
|
||||||
python-sqlparse))
|
python-sqlparse))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-mock python-pytest))
|
(list python-pytest python-setuptools python-wheel))
|
||||||
(home-page "https://litecli.com")
|
(home-page "https://litecli.com")
|
||||||
(synopsis "CLI for SQLite databases")
|
(synopsis "CLI for SQLite databases")
|
||||||
(description
|
(description
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue