unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#37614] [PATCH 0/1] gnu: Fix and upgrade python-pastel.
@ 2019-10-04  7:53 Tanguy Le Carrour
  2019-10-04  7:55 ` [bug#37614] [PATCH 1/1] " Tanguy Le Carrour
  0 siblings, 1 reply; 3+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:53 UTC (permalink / raw)
  To: 37614

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#37614] [PATCH 1/1] gnu: Fix and upgrade python-pastel.
  2019-10-04  7:53 [bug#37614] [PATCH 0/1] gnu: Fix and upgrade python-pastel Tanguy Le Carrour
@ 2019-10-04  7:55 ` Tanguy Le Carrour
  2019-10-06  8:49   ` bug#37614: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Tanguy Le Carrour @ 2019-10-04  7:55 UTC (permalink / raw)
  To: 37614

[-- Attachment #1: Type: text/plain, Size: 0 bytes --]



[-- Attachment #2: Type: text/plain, Size: 2016 bytes --]

From 1d97f3224f01721567120a5568c0416bfbe0dd35 Mon Sep 17 00:00:00 2001
From: "tlecarrour@easter-eggs.com" <tanguy@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@asu.edu>
 ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2019 Tanguy Le Carrour <tanguy@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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#37614: [PATCH 1/1] gnu: Fix and upgrade python-pastel.
  2019-10-04  7:55 ` [bug#37614] [PATCH 1/1] " Tanguy Le Carrour
@ 2019-10-06  8:49   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2019-10-06  8:49 UTC (permalink / raw)
  To: Tanguy Le Carrour; +Cc: 37614-done

[-- Attachment #1: Type: text/plain, Size: 313 bytes --]

Patch pushed. I expanded the commit message and changed the spacing on
the custom 'check phase.


-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-10-06  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-04  7:53 [bug#37614] [PATCH 0/1] gnu: Fix and upgrade python-pastel Tanguy Le Carrour
2019-10-04  7:55 ` [bug#37614] [PATCH 1/1] " Tanguy Le Carrour
2019-10-06  8:49   ` bug#37614: " Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).