pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-crayons py-crayons: updated to 0.3.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/87762c78898a
branches:  trunk
changeset: 343616:87762c78898a
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Nov 06 17:31:40 2019 +0000

description:
py-crayons: updated to 0.3.0

v0.3.0
Breaking:
Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string)

Features:
Adds random function to get a random color (thanks @azillion)
Adds replace_color function to allow setting replacement for a given color (e.g. replace blue with magneta) (thanks @frostming)
Adds reset_replace_color to reset any replacement colors set

diffstat:

 devel/py-crayons/Makefile |   4 ++--
 devel/py-crayons/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (27 lines):

diff -r 22ddab706921 -r 87762c78898a devel/py-crayons/Makefile
--- a/devel/py-crayons/Makefile Wed Nov 06 17:24:50 2019 +0000
+++ b/devel/py-crayons/Makefile Wed Nov 06 17:31:40 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2019/05/15 10:56:23 adam Exp $
+# $NetBSD: Makefile,v 1.3 2019/11/06 17:31:40 adam Exp $
 
-DISTNAME=      crayons-0.2.0
+DISTNAME=      crayons-0.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/crayons/}
diff -r 22ddab706921 -r 87762c78898a devel/py-crayons/distinfo
--- a/devel/py-crayons/distinfo Wed Nov 06 17:24:50 2019 +0000
+++ b/devel/py-crayons/distinfo Wed Nov 06 17:31:40 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2019/05/15 10:56:23 adam Exp $
+$NetBSD: distinfo,v 1.3 2019/11/06 17:31:40 adam Exp $
 
-SHA1 (crayons-0.2.0.tar.gz) = c88c517968a66181b522a96daf70dd105c32448b
-RMD160 (crayons-0.2.0.tar.gz) = a92ed7a5d5963812106fd5bf60b5a2e6d98d9bc9
-SHA512 (crayons-0.2.0.tar.gz) = 64ab8a81d0c24deaf8440af0fafb3d4b0f1f83a1b60aa5857671b7b76b2236bf793ecc783a6c32820da517b307992e9616f5678804d200824b34fb356b1f91f2
-Size (crayons-0.2.0.tar.gz) = 3526 bytes
+SHA1 (crayons-0.3.0.tar.gz) = 47f312efbc8ea32207772d4f7e6d418e19e6b863
+RMD160 (crayons-0.3.0.tar.gz) = 241cf323ee85790aec23ecbd1cbca229a4ce4811
+SHA512 (crayons-0.3.0.tar.gz) = dd3a5d17cf941899eb3f7ec154429888c6560a73217c5531069e88bbd56a8ef0eb3ee18d3ac4a332aacfcc29a5162d56c44c03da643ed9f43908802712318d41
+Size (crayons-0.3.0.tar.gz) = 3857 bytes



Home | Main Index | Thread Index | Old Index