From patchwork Mon Oct 19 04:29:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Prior X-Patchwork-Id: 24684 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 1EB2E27BBEE; Mon, 19 Oct 2020 05:30:10 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D2C4527BBED for ; Mon, 19 Oct 2020 05:30:09 +0100 (BST) Received: from localhost ([::1]:52188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUMoC-0005Ua-VI for patchwork@mira.cbaines.net; Mon, 19 Oct 2020 00:30:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUMo7-0005UU-EW for guix-patches@gnu.org; Mon, 19 Oct 2020 00:30:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56241) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUMo7-0004yc-56 for guix-patches@gnu.org; Mon, 19 Oct 2020 00:30:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUMo6-0005Gc-Sg for guix-patches@gnu.org; Mon, 19 Oct 2020 00:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44074] [PATCH] gnu: visidata: Update to 2.0.1. Resent-From: Ryan Prior Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 19 Oct 2020 04:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44074 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44074@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160308178920195 (code B ref -1); Mon, 19 Oct 2020 04:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2020 04:29:49 +0000 Received: from localhost ([127.0.0.1]:39554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUMnt-0005Ff-A3 for submit@debbugs.gnu.org; Mon, 19 Oct 2020 00:29:49 -0400 Received: from lists.gnu.org ([209.51.188.17]:40954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUMnr-0005FX-CN for submit@debbugs.gnu.org; Mon, 19 Oct 2020 00:29:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48426) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUMnq-0005Sd-Bb for guix-patches@gnu.org; Mon, 19 Oct 2020 00:29:47 -0400 Received: from mail-03.mail-europe.com ([91.134.188.129]:37434) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUMnm-0004qK-P5 for guix-patches@gnu.org; Mon, 19 Oct 2020 00:29:45 -0400 Date: Mon, 19 Oct 2020 04:29:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1603081776; bh=6uP8k3B4ykHz4QwtRrl5dn6LGVPFBS04FTxoD5BNZbs=; h=Date:To:From:Reply-To:Subject:From; b=pit9Ul97dqkXzPncCh2CWgKVwrTsdlE5oFIBh9elqQBLhHVGOysVW/6hGzvHgUGjR srGUS05WcooBJQs/vhSxThbHnqyrSngOJiB779zlcNk1+OE+lVUaWeExEk5UYLpCiV HJryAW72g5ofO9841hQ+Z+XqEjIs/WPXCWyLQxEw= Message-ID: <20201019042926.30701-1-rprior@protonmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=91.134.188.129; envelope-from=rprior@protonmail.com; helo=mail-03.mail-europe.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/19 00:29:40 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Ryan Prior , Ryan Prior via Guix-patches X-Patchwork-Original-From: Ryan Prior via Guix-patches via From: Ryan Prior X-getmail-retrieved-from-mailbox: Patches * 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 . (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)))