GNU bug report logs - #28450
[PATCH] gnu: Add pydf.

Previous Next

Package: guix-patches;

Reported by: Stefan Reichör <stefan <at> xsteve.at>

Date: Wed, 13 Sep 2017 20:34:01 UTC

Severity: normal

Tags: patch

Done: ludo <at> gnu.org (Ludovic Courtès)

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 28450 in the body.
You can then email your comments to 28450 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#28450; Package guix-patches. (Wed, 13 Sep 2017 20:34:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Reichör <stefan <at> xsteve.at>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Wed, 13 Sep 2017 20:34:03 GMT) Full text and rfc822 format available.

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

From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: Add pydf.
Date: Wed, 13 Sep 2017 22:32:52 +0200
* gnu/packages/disk.scm (pydf): New variable.
---
 gnu/packages/disk.scm |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 49bbbfa..04a25e5 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Roel Janssen <roel <at> gnu.org>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke <at> fastmail.com>
 ;;; Copyright © 2017 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,7 @@
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
+  #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages docbook)
@@ -353,6 +355,23 @@ permit managing file systems not included in libparted.")
     ;; The home page says GPLv2, but the source code says GPLv2+.
     (license license:gpl2+)))
 
+(define-public pydf
+  (package
+    (name "pydf")
+    (version "12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pydf" version))
+       (sha256
+        (base32
+         "0f8ly8xyp93i2hm9c0qjqd4y86nz73axw2f09z01mszwmg1sfivz"))))
+  (build-system python-build-system)
+  (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/")
+  (synopsis "Colourised df(1)-clone")
+  (description "All-singing, all-dancing, fully colourised df(1)-clone written
+in python.")
+  (license license:public-domain)))
 
 (define-public f3
   (package





Information forwarded to guix-patches <at> gnu.org:
bug#28450; Package guix-patches. (Thu, 14 Sep 2017 08:28:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 28450 <at> debbugs.gnu.org
Subject: Re: [bug#28450] [PATCH] gnu: Add pydf.
Date: Thu, 14 Sep 2017 10:26:51 +0200
Heya,

Stefan Reichör <stefan <at> xsteve.at> skribis:

> * gnu/packages/disk.scm (pydf): New variable.

[...]

> +  (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/")
> +  (synopsis "Colourised df(1)-clone")
> +  (description "All-singing, all-dancing, fully colourised df(1)-clone written
> +in python.")

That looks very similar to ‘dfc’ no?  (Which is not a reason not to
include it of course, just wondering.)

I like the funny description, but could you come up with one that at
says that it displays disk usage at least?  Also, I’m nitpicking, but
could you write “@command{df}” instead of “df(1)”?

Could you send an updated patch?

Thanks in advance!

Ludo’.




Information forwarded to guix-patches <at> gnu.org:
bug#28450; Package guix-patches. (Thu, 14 Sep 2017 19:01:02 GMT) Full text and rfc822 format available.

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

From: Stefan Reichör <stefan <at> xsteve.at>
To: guix-patches <at> gnu.org
Subject: Re: [bug#28450] [PATCH] gnu: Add pydf.
Date: Thu, 14 Sep 2017 21:00:16 +0200
[Message part 1 (text/plain, inline)]
Hi Ludo!

Here is my updated patch.

> Heya,
>
> Stefan Reichör <stefan <at> xsteve.at> skribis:
>
>> * gnu/packages/disk.scm (pydf): New variable.
>
> [...]
>
>> +  (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/")
>> +  (synopsis "Colourised df(1)-clone")
>> +  (description "All-singing, all-dancing, fully colourised df(1)-clone written
>> +in python.")
>
> That looks very similar to ‘dfc’ no?  (Which is not a reason not to
> include it of course, just wondering.)

Until yesterday I only knew df.
Today I know two useful tools to display the disk usage :-)

> I like the funny description, but could you come up with one that at
> says that it displays disk usage at least?  Also, I’m nitpicking, but
> could you write “@command{df}” instead of “df(1)”?
>
> Could you send an updated patch?
>
> Thanks in advance!
>
> Ludo’.

Stefan.

[0001-gnu-Add-pydf.patch (text/x-diff, inline)]
From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan <at> xsteve.at>
Date: Thu, 14 Sep 2017 20:55:01 +0200
Subject: [PATCH] gnu: Add pydf.

* gnu/packages/disk.scm (pydf): New variable.
---
 gnu/packages/disk.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/disk.scm b/gnu/packages/disk.scm
index 49bbbfa..31d2573 100644
--- a/gnu/packages/disk.scm
+++ b/gnu/packages/disk.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Roel Janssen <roel <at> gnu.org>
 ;;; Copyright © 2016, 2017 Marius Bakke <mbakke <at> fastmail.com>
 ;;; Copyright © 2017 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
+;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -30,6 +31,7 @@
   #:use-module (guix download)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
+  #:use-module (guix build-system python)
   #:use-module (gnu packages)
   #:use-module (gnu packages base)
   #:use-module (gnu packages docbook)
@@ -353,6 +355,25 @@ permit managing file systems not included in libparted.")
     ;; The home page says GPLv2, but the source code says GPLv2+.
     (license license:gpl2+)))
 
+(define-public pydf
+  (package
+    (name "pydf")
+    (version "12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pydf" version))
+       (sha256
+        (base32
+         "0f8ly8xyp93i2hm9c0qjqd4y86nz73axw2f09z01mszwmg1sfivz"))))
+  (build-system python-build-system)
+  (home-page "http://kassiopeia.juls.savba.sk/~garabik/software/pydf/")
+  (synopsis "Colourised @command{df} clone")
+  (description "All-singing, all-dancing, fully colourised @command{df} clone
+written in python. It displays the amount of disk space available on the
+mounted filesystems, using different colours for different types of
+filesystems. Output format is completely customizable.")
+  (license license:public-domain)))
 
 (define-public f3
   (package
-- 
2.7.4


Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Fri, 15 Sep 2017 14:42:02 GMT) Full text and rfc822 format available.

Notification sent to Stefan Reichör <stefan <at> xsteve.at>:
bug acknowledged by developer. (Fri, 15 Sep 2017 14:42:02 GMT) Full text and rfc822 format available.

Message #16 received at 28450-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: Stefan Reichör <stefan <at> xsteve.at>
Cc: 28450-done <at> debbugs.gnu.org
Subject: Re: [bug#28450] [PATCH] gnu: Add pydf.
Date: Fri, 15 Sep 2017 16:40:54 +0200
Stefan Reichör <stefan <at> xsteve.at> skribis:

> From c6daa8148465c1cf7d61efbf7e936a8d45963f78 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Stefan=20Reich=C3=B6r?= <stefan <at> xsteve.at>
> Date: Thu, 14 Sep 2017 20:55:01 +0200
> Subject: [PATCH] gnu: Add pydf.
>
> * gnu/packages/disk.scm (pydf): New variable.

Applied, thanks!

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 14 Oct 2017 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 251 days ago.

Previous Next


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