forked from pool/python-crayons
- 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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:41f0843815a8e3ac6fb445b7970d8b9c766e6f164092d84e7ea809b4c91418ec
|
||||
size 3526
|
||||
3
crayons-0.3.0.tar.gz
Normal file
3
crayons-0.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50e5fa729d313e2c607ae8bf7b53bb487652e10bd8e7a1e08c4bc8bf62755ffc
|
||||
size 3857
|
||||
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 24 05:03:28 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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 <mimi.vx@gmail.com>
|
||||
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user