GNU bug report logs - #49444
[PATCH] gnu: clikan: Upgrade to 0.2.1.

Previous Next

Package: guix-patches;

Reported by: "jgart" <jgart <at> dismail.de>

Date: Tue, 6 Jul 2021 17:38:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 49444 in the body.
You can then email your comments to 49444 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#49444; Package guix-patches. (Tue, 06 Jul 2021 17:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "jgart" <jgart <at> dismail.de>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 06 Jul 2021 17:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "jgart" <jgart <at> dismail.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: clikan: Upgrade to 0.2.1.
Date: Tue, 06 Jul 2021 17:37:09 +0000
Hi Guix!

Here is an upgrade to clikan. I have enabled tests.

all the best,

jgart




Information forwarded to guix-patches <at> gnu.org:
bug#49444; Package guix-patches. (Tue, 06 Jul 2021 23:54:02 GMT) Full text and rfc822 format available.

Message #8 received at 49444 <at> debbugs.gnu.org (full text, mbox):

From: jgart <jgart <at> dismail.de>
To: 49444 <at> debbugs.gnu.org
Cc: jgart <jgart <at> dismail.de>
Subject: [PATCH] gnu: clikan: Upgrade to 0.2.1.
Date: Tue,  6 Jul 2021 19:53:00 -0400
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#49444; Package guix-patches. (Thu, 08 Jul 2021 22:12:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: jgart via Guix-patches via <guix-patches <at> gnu.org>
Cc: jgart <jgart <at> dismail.de>, 49444-done <at> debbugs.gnu.org
Subject: Re: [bug#49444] [PATCH] gnu: clikan: Upgrade to 0.2.1.
Date: Fri, 09 Jul 2021 00:11:08 +0200
Hello,

jgart via Guix-patches via <guix-patches <at> gnu.org> writes:

> * 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.

Thank you. I appled your patch. However, I undid your trick with the
home-page and the URL field. I find it to be a bit of a hack, and those
two may not be tied in the future.

Regards,
-- 
Nicolas Goaziou




Reply sent to Nicolas Goaziou <mail <at> nicolasgoaziou.fr>:
You have taken responsibility. (Thu, 08 Jul 2021 22:12:02 GMT) Full text and rfc822 format available.

Notification sent to "jgart" <jgart <at> dismail.de>:
bug acknowledged by developer. (Thu, 08 Jul 2021 22:12:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Aug 2021 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.