commit b4075a74ba8ffd9a46b12344bd1f7e8433daf94bb7288c9f4ebe6a380e460da9 Author: Todd R Date: Wed May 9 18:38:26 2018 +0000 Accepting request 605866 from devel:languages:python:misc A simple module to add ANSI colors and decorations to your settings OBS-URL: https://build.opensuse.org/request/show/605866 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ansicolors?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/ansicolors-1.1.8.zip b/ansicolors-1.1.8.zip new file mode 100644 index 0000000..91ff23b --- /dev/null +++ b/ansicolors-1.1.8.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99f94f5e3348a0bcd43c82e5fc4414013ccc19d70bd939ad71e0133ce9c372e0 +size 23027 diff --git a/python-ansicolors.changes b/python-ansicolors.changes new file mode 100644 index 0000000..d8720b2 --- /dev/null +++ b/python-ansicolors.changes @@ -0,0 +1,28 @@ +------------------------------------------------------------------- +Wed May 9 18:35:36 UTC 2018 - toddrme2178@gmail.com + +- Use license tag + +------------------------------------------------------------------- +Sat Apr 21 21:37:32 UTC 2018 - toddrme2178@gmail.com + +- Update to version: 1.1.18 + * Added branch coverage metric. 100%, like line + coverage. +- Update to version: 1.1.17 + * Tweaks to testing and Python 2/3 compatibility + strategy to make it more Python 3-centered and + more future-proofed. + * Fixed bug with handling of Unicode strings + (affected Python 2 only). +- Update to version: 1.1.16 + * Updated with testing and extensions from + Jonathan Eunice and Espartaco Palma. +- Implement single-spec version + +------------------------------------------------------------------- +Tue Mar 18 09:16:47 UTC 2014 - jschmid@novell.com + +- version 1.0.2 initial fetch from pypi. + + diff --git a/python-ansicolors.spec b/python-ansicolors.spec new file mode 100644 index 0000000..78e4692 --- /dev/null +++ b/python-ansicolors.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-ansicolors +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-ansicolors +Version: 1.1.8 +Release: 0 +Summary: ANSI colors for Python +License: ISC +Group: Development/Languages/Python +Url: http://github.com/jonathaneunice/colors/ +Source: https://files.pythonhosted.org/packages/source/a/ansicolors/ansicolors-%{version}.zip +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +# SECTION test requirements +BuildRequires: %{python_module pytest} +# /SECTION +BuildArch: noarch + +%python_subpackages + +%description +Add ANSI colors and decorations to your strings. + +%prep +%setup -q -n ansicolors-%{version} + +%build +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} +py.test-%{$python_bin_suffix} --assert=plain +} + +%files %{python_files} +%doc CHANGES.yml README.rst +%license LICENSE +%{python_sitelib}/* + +%changelog