- update to 0.2.0

* Add crayons.enable()
 * color funcs generated from __all__ var
 * Disable colors on TERM=dumb

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-crayons?expand=0&rev=5
This commit is contained in:
2019-03-04 14:45:15 +00:00
committed by Git OBS Bridge
parent 464a6e1dbd
commit 50eadc3f4e
4 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-crayons
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,22 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-crayons
Version: 0.1.2
Version: 0.2.0
Release: 0
Summary: Colored strings for terminal usage
License: MIT
Url: https://github.com/kennethreitz/httpbin
Group: Development/Languages/Python
Url: https://github.com/kennethreitz/httpbin
Source: https://files.pythonhosted.org/packages/source/c/crayons/crayons-%{version}.tar.gz
Source1: LICENSE
BuildRequires: python-rpm-macros
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
Requires: python-colorama
BuildArch: noarch
%python_subpackages
@@ -44,11 +44,9 @@ cp %{SOURCE1} .
%install
%python_install
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%changelog