GNU bug report logs - #37614
[PATCH 0/1] gnu: Fix and upgrade python-pastel.

Previous Next

Package: guix-patches;

Reported by: Tanguy Le Carrour <tanguy <at> bioneland.org>

Date: Fri, 4 Oct 2019 07:54:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 37614 in the body.
You can then email your comments to 37614 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#37614; Package guix-patches. (Fri, 04 Oct 2019 07:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Fri, 04 Oct 2019 07:54:02 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: Guix <guix-patches <at> gnu.org>
Subject: [PATCH 0/1] gnu: Fix and upgrade python-pastel.
Date: Fri, 4 Oct 2019 09:53:09 +0200
As mentioned on the list [1], python-pastel fails to install.
This patch fixes the problem.
`guix lint` reported that the package could be upgraded, so I also did
it.

[1]: https://lists.gnu.org/archive/html/guix-devel/2019-10/msg00023.html

-- 
Tanguy




Information forwarded to guix-patches <at> gnu.org:
bug#37614; Package guix-patches. (Fri, 04 Oct 2019 07:57:01 GMT) Full text and rfc822 format available.

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

From: Tanguy Le Carrour <tanguy <at> bioneland.org>
To: 37614 <at> debbugs.gnu.org
Subject: [PATCH 1/1] gnu: Fix and upgrade python-pastel.
Date: Fri, 4 Oct 2019 09:55:56 +0200
[Message part 1 (text/plain, inline)]

[Message part 2 (text/plain, inline)]
From 1d97f3224f01721567120a5568c0416bfbe0dd35 Mon Sep 17 00:00:00 2001
From: "tlecarrour <at> easter-eggs.com" <tanguy <at> bioneland.org>
Date: Fri, 4 Oct 2019 09:48:40 +0200
Subject: [PATCH] gnu: Fix and upgrade python-pastel.

---
 gnu/packages/graphics.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 6d6c8d1e1c..8a3c39373b 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
 ;;; Copyright © 2019 Pierre Neidhardt <mail <at> ambrevar.xyz>
 ;;; Copyright © 2019 Marius Bakke <mbakke <at> fastmail.com>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy <at> bioneland.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -913,28 +914,27 @@ rendering SVG graphics.")
 (define-public python-pastel
   (package
     (name "python-pastel")
-    (version "0.1.0")
+    (version "0.1.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pastel" version))
        (sha256
         (base32
-         "1hqbm934n5yjwn31aq8h7shrr0rcy326wrqfc856vyn0gr0sy21i"))))
+         "1qxcrcl8pzh66l8s6hym153mijdhwna0afcsmgca0bj4n80ijfxz"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases (modify-phases
+                    %standard-phases
+                  (replace
+                      'check
+                    (lambda _ (invoke "pytest" "pastel" "tests/"))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (home-page "https://github.com/sdispater/pastel")
     (synopsis "Library to colorize strings in your terminal")
     (description "Pastel is a simple library to help you colorize strings in
-your terminal.  It comes bundled with predefined styles:
-@enumerate
-@item info: green
-@item comment: yellow
-@item question: black on cyan
-@item error: white on red
-@end enumerate
-")
+your terminal.")
     (license license:expat)))
 
 (define-public python2-pastel
-- 
2.23.0


Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Sun, 06 Oct 2019 08:50:01 GMT) Full text and rfc822 format available.

Notification sent to Tanguy Le Carrour <tanguy <at> bioneland.org>:
bug acknowledged by developer. (Sun, 06 Oct 2019 08:50:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Tanguy Le Carrour <tanguy <at> bioneland.org>
Cc: 37614-done <at> debbugs.gnu.org
Subject: Re: [bug#37614] [PATCH 1/1] gnu: Fix and upgrade python-pastel.
Date: Sun, 6 Oct 2019 11:49:07 +0300
[Message part 1 (text/plain, inline)]
Patch pushed. I expanded the commit message and changed the spacing on
the custom 'check phase.


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 03 Nov 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 147 days ago.

Previous Next


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