all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: jgart via Guix-patches via <guix-patches@gnu.org>
To: 49444@debbugs.gnu.org
Cc: jgart <jgart@dismail.de>
Subject: [bug#49444] [PATCH] gnu: clikan: Upgrade to 0.2.1.
Date: Tue,  6 Jul 2021 19:53:00 -0400	[thread overview]
Message-ID: <20210706235300.7733-1-jgart@dismail.de> (raw)
In-Reply-To: <e735974a7c641b9cc834f62a09a0790c@dismail.de>

* gnu/packages/task-management.scm (clikan)[version]: Upgrade to
0.2.1.
[home-page]: Reuse string value in url field.
[arguments]: Enable tests.
[inputs]: Add python-rich.
---
 gnu/packages/task-management.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/task-management.scm b/gnu/packages/task-management.scm
index 6b1ae7f6f7..f065dac927 100644
--- a/gnu/packages/task-management.scm
+++ b/gnu/packages/task-management.scm
@@ -23,6 +23,7 @@
 (define-module (gnu packages task-management)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix packages)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages gettext)
   #:use-module (gnu packages glib)
@@ -45,32 +46,44 @@
   #:use-module (guix build-system python))
 
 (define-public clikan
-  (let ((commit "90fd60e485b46e49fcec7d029384fe1471c4443a")
-        (revision "0"))
+  (let ((commit "55ab29e68263c6fed2844aef96fbebacda3eba9b")
+        (revision "1"))
     (package
       (name "clikan")
       (version
-       (git-version "0.1.3" revision commit))
+       (git-version "0.2.1" revision commit))
+      (home-page "https://github.com/kitplummer/clikan/")
       (source
        (origin
          (method git-fetch)
          (uri (git-reference
-               (url "https://github.com/kitplummer/clikan/")
+               (url home-page)
                (commit commit)))
          (file-name (git-file-name name version))
          (sha256
-          (base32 "113kizm05v4cvyhdlg9zami54wk9qaiizq19mx36qvq9w7pg7a3k"))))
+          (base32 "1nyx80z53xxlbhpb5k22jnv4jajxqhjm0gz7qb18w9pqqlrvkqd4"))))
       (build-system python-build-system)
+      (arguments
+      `(#:phases
+         (modify-phases %standard-phases
+         (replace 'check
+          (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+           (setenv "HOME" (getenv "TEMP"))
+           (when tests?
+             (add-installed-pythonpath inputs outputs)
+             (invoke "pytest" "-vv")))))))
+      (native-inputs
+       `(("pytest" ,python-pytest)
+         ("click" ,python-click)))
       (inputs
        `(("click" ,python-click)
          ("click-default-group" ,python-click-default-group)
          ("pyyaml" ,python-pyyaml)
-         ("terminaltables" ,python-terminaltables)))
-      (synopsis "Command-line kanban (boarding) utility")
+         ("rich" ,python-rich)))
+      (synopsis "Command-line kanban utility")
       (description
        "Clikan is a super simple command-line utility for tracking tasks
 following the Japanese kanban (boarding) style.")
-      (home-page "https://github.com/kitplummer/clikan/")
       (license license:expat))))
 
 (define-public t-todo-manager
-- 
2.31.1





  reply	other threads:[~2021-07-07  0:12 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-06 17:37 [bug#49444] [PATCH] gnu: clikan: Upgrade to 0.2.1 jgart via Guix-patches via
2021-07-06 23:53 ` jgart via Guix-patches via [this message]
2021-07-08 22:11   ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210706235300.7733-1-jgart@dismail.de \
    --to=guix-patches@gnu.org \
    --cc=49444@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.