[PATCH 0/1] gnu: Fix and upgrade python-pastel.

  • Done
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Tanguy Le Carrour
Owner
unassigned
Submitted by
Tanguy Le Carrour
Severity
normal
T
T
T
Tanguy Le Carrour wrote on 4 Oct 2019 09:55
[PATCH 1/1] gnu: Fix and upgrade python-pastel.
(address . 37614@debbugs.gnu.org)
20191004075556.pg3vwfaklaj27vac@rafflesia

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(-)

Toggle diff (52 lines)
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
E
E
Efraim Flashner wrote on 6 Oct 2019 10:49
(name . Tanguy Le Carrour)(address . tanguy@bioneland.org)(address . 37614-done@debbugs.gnu.org)
20191006084907.GC561@E5400
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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl2ZqoMACgkQQarn3Mo9
g1GHMA//T7E7rOzbkqyJshQ4I7jqNck8t2NKkET9KzGxTIwhkNerVsDjkAL22MJg
XRQiiOxkLdcUUvSpXO2tncjqU81KlNHVKxzFOdruCepUI1SC+jpyInMsC1FNxbgy
M+XpdTjWUQnLNGYqoYV1AEmPArwqz+qPdJnQpFXuV0dUI30RaFuEgrlvlp9x5Eyf
4q+LBBsmpWtX6X7D6Ch1BHFJANBNpICes6aAJlOja3nbps1JpLDlRhsFWOkD0tq+
lIwUdsE0y7xDB6GdTWg9Br5pteg/Xn+es4f0Gzzb/YUb/7jUm1WexjoLy+3peIig
MIlYHd/701pwJlXI9bBgN2LRwFRggk4lfIZMkwv9fSGrDjtzgG0rpZ5gsDXlxtrW
KMA/k58E0Sw5a8vh2YSgvjWz2NjQeHuLkk91zYMk+jA8fc7o3XgO658LueMs3zD5
najqQRsMhYMhueHGgOEQpr07uoMizQ8OT1aiVYmZh3LEPTidfO+C4imb0C+n1bW4
4rm6pzmzBZnFf2qiCUCMT+VmZ+90Z0700M2uMdQRImCkQ89wAKKQpUKXBly19h78
BN9CFaG3plKFh54ozUJSWwc4Xy5TtHdwbhfl/6njmkU3rZ9QJgBi08sOp7z77pH1
ZWURqK+jp2EsvBWaIj7L4xAV8ChlYlYBjiFOre/bLPOyB31VaM0=
=dfFj
-----END PGP SIGNATURE-----


Closed
?