From 870338a722170d5d406eb780b039adaed5e7979c4e6893c764b4a475235c8acb Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 24 Feb 2020 05:07:09 +0000 Subject: [PATCH] - Update to 0.3.0 * Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string) * 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 - Update URL in the spec to be correct - Write a description OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crayons?expand=0&rev=7 --- crayons-0.2.0.tar.gz | 3 --- crayons-0.3.0.tar.gz | 3 +++ python-crayons.changes | 11 +++++++++++ python-crayons.spec | 9 ++++++--- 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 crayons-0.2.0.tar.gz create mode 100644 crayons-0.3.0.tar.gz diff --git a/crayons-0.2.0.tar.gz b/crayons-0.2.0.tar.gz deleted file mode 100644 index 4eb5b83..0000000 --- a/crayons-0.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41f0843815a8e3ac6fb445b7970d8b9c766e6f164092d84e7ea809b4c91418ec -size 3526 diff --git a/crayons-0.3.0.tar.gz b/crayons-0.3.0.tar.gz new file mode 100644 index 0000000..ee86edd --- /dev/null +++ b/crayons-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50e5fa729d313e2c607ae8bf7b53bb487652e10bd8e7a1e08c4bc8bf62755ffc +size 3857 diff --git a/python-crayons.changes b/python-crayons.changes index 476f601..e82199e 100644 --- a/python-crayons.changes +++ b/python-crayons.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 24 05:03:28 UTC 2020 - Steve Kowalik + +- Update to 0.3.0 + * Rewrites clean to just remove ANSI codes, not whatever it was doing before (which seemed to be stripping all characters from the string) + * 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 +- Update URL in the spec to be correct +- Write a description + ------------------------------------------------------------------- Mon Mar 4 14:43:50 UTC 2019 - Ondřej Súkup diff --git a/python-crayons.spec b/python-crayons.spec index 7a29dba..8d5bd52 100644 --- a/python-crayons.spec +++ b/python-crayons.spec @@ -1,7 +1,7 @@ # # spec file for package python-crayons # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,12 +18,12 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-crayons -Version: 0.2.0 +Version: 0.3.0 Release: 0 Summary: Colored strings for terminal usage License: MIT Group: Development/Languages/Python -Url: https://github.com/kennethreitz/httpbin +URL: https://github.com/MasterOdin/crayons Source: https://files.pythonhosted.org/packages/source/c/crayons/crayons-%{version}.tar.gz Source1: LICENSE BuildRequires: %{python_module setuptools} @@ -33,6 +33,9 @@ BuildArch: noarch %python_subpackages %description +Crayons is a simple module to give you colored strings for terminal usage. +Included colors are red, green, yellow, blue, black, magenta, cyan, white, +and normal. %prep %setup -q -n crayons-%{version}