* [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1.
@ 2020-10-19 4:29 Ryan Prior via Guix-patches via
2020-10-21 17:12 ` bug#44074: " Ludovic Courtès
2020-10-21 17:13 ` [bug#44074] " Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Ryan Prior via Guix-patches via @ 2020-10-19 4:29 UTC (permalink / raw)
To: 44074
* gnu/packages/visidata.scm (visidata): Update to 2.0.1.
---
gnu/packages/visidata.scm | 40 +++++++++++++++++++--------------------
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/gnu/packages/visidata.scm b/gnu/packages/visidata.scm
index 68ea401362..667aea172e 100644
--- a/gnu/packages/visidata.scm
+++ b/gnu/packages/visidata.scm
@@ -17,13 +17,13 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages visidata)
- #:use-module (gnu packages databases)
- #:use-module (gnu packages python-science)
+ #:use-module (gnu packages check)
+ #:use-module (gnu packages time)
#:use-module (gnu packages python-web)
#:use-module (gnu packages python-xyz)
- #:use-module (gnu packages time)
#:use-module (gnu packages xml)
#:use-module (guix build-system python)
+ #:use-module (guix build utils)
#:use-module (guix download)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages))
@@ -31,34 +31,34 @@
(define-public visidata
(package
(name "visidata")
- (version "1.5.2")
+ (version "2.0.1")
(source
(origin
(method url-fetch)
(uri (pypi-uri "visidata" version))
(sha256
(base32
- "10adfyn4gkisvciqawgh2lakkhhnjjxiyp7mzbgcwkq1b3sigpf1"))))
+ "1p4x9fz59ablyjvp18y50zdsapavhzx7w5hk2v8rsar5ill8947v"))))
(build-system python-build-system)
- ;; Tests disabled because they are not packaged with the source tarball.
- ;; Upstream suggests tests will be packaged with tarball around 2.0 release.
- (arguments '(#:tests? #f))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (if tests? (invoke "pytest"))
+ #t)))))
(inputs
- `(("python-dateutil" ,python-dateutil)
- ("python-fonttools" ,python-fonttools)
- ("python-h5py" ,python-h5py)
- ("python-lxml" ,python-lxml)
- ("python-openpyxl" ,python-openpyxl)
- ("python-pandas" ,python-pandas)
- ("python-psycopg2" ,python-psycopg2)
- ("python-pyyaml" ,python-pyyaml)
- ("python-requests" ,python-requests)
- ("python-xlrd" ,python-xlrd)))
+ `(("dateutil" ,python-dateutil)
+ ("requests" ,python-requests)
+ ("lxml" ,python-lxml)
+ ("openpyxl" ,python-openpyxl)
+ ("xlrd" ,python-xlrd)))
+ (native-inputs
+ `(("pytest" ,python-pytest)))
(synopsis "Terminal spreadsheet multitool for discovering and arranging data")
(description
"VisiData is an interactive multitool for tabular data. It combines the
clarity of a spreadsheet, the efficiency of the terminal, and the power of
Python, into a lightweight utility which can handle millions of rows.")
(home-page "https://www.visidata.org/")
- (license (list license:gpl3
- license:expat)))) ;; visidata/vdtui.py
+ (license license:gpl3)))
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#44074: [PATCH] gnu: visidata: Update to 2.0.1.
2020-10-19 4:29 [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1 Ryan Prior via Guix-patches via
@ 2020-10-21 17:12 ` Ludovic Courtès
2020-10-21 17:13 ` [bug#44074] " Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-10-21 17:12 UTC (permalink / raw)
To: Ryan Prior; +Cc: 44074-done
Hi,
Ryan Prior <rprior@protonmail.com> skribis:
> * gnu/packages/visidata.scm (visidata): Update to 2.0.1.
Applied with the change below, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1.
2020-10-19 4:29 [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1 Ryan Prior via Guix-patches via
2020-10-21 17:12 ` bug#44074: " Ludovic Courtès
@ 2020-10-21 17:13 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2020-10-21 17:13 UTC (permalink / raw)
To: Ryan Prior; +Cc: 44074
[-- Attachment #1: Type: text/plain, Size: 23 bytes --]
Arf, forgot the diff:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 469 bytes --]
diff --git a/gnu/packages/visidata.scm b/gnu/packages/visidata.scm
index 667aea172e..6ba2939b4f 100644
--- a/gnu/packages/visidata.scm
+++ b/gnu/packages/visidata.scm
@@ -45,7 +45,7 @@
(modify-phases %standard-phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
- (if tests? (invoke "pytest"))
+ (when tests? (invoke "pytest"))
#t)))))
(inputs
`(("dateutil" ,python-dateutil)
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-10-21 17:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-19 4:29 [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1 Ryan Prior via Guix-patches via
2020-10-21 17:12 ` bug#44074: " Ludovic Courtès
2020-10-21 17:13 ` [bug#44074] " Ludovic Courtès
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).