14
0

Accepting request 888083 from home:mcepl:work

New package required by python-typepy.

OBS-URL: https://build.opensuse.org/request/show/888083
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tcolorpy?expand=0&rev=1
This commit is contained in:
2021-04-23 17:41:32 +00:00
committed by Git OBS Bridge
commit 6ef3e189a1
5 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

14
python-tcolorpy.changes Normal file
View File

@@ -0,0 +1,14 @@
-------------------------------------------------------------------
Fri Apr 23 17:37:48 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Remove unnecessary shebang
-------------------------------------------------------------------
Sat Mar 6 13:28:17 UTC 2021 - Martin Hauke <mardnh@gmx.de>
- Package cleanup
-------------------------------------------------------------------
Wed Oct 7 06:04:56 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v0.0.8

58
python-tcolorpy.spec Normal file
View File

@@ -0,0 +1,58 @@
#
# spec file for package python-tcolorpy
#
# Copyright (c) 2021 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-tcolorpy
Version: 0.0.8
Release: 0
Summary: Python library to apply true color for terminal text
License: MIT
Group: Development/Languages/Python
URL: https://github.com/thombashi/tcolorpy
Source: https://files.pythonhosted.org/packages/source/t/tcolorpy/tcolorpy-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
%description
A Python library to apply true color for terminal text.
%prep
%setup -q -n tcolorpy-%{version}
sed -i -e '1{/^#!\/usr\/bin\/env python/d}' tcolorpy/__main__.py
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/tcolorpy*
%changelog

3
tcolorpy-0.0.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffbe886f1321dab88d9cfd4218ea8d93d50d6ad0875c3741dd75fe1437379406
size 9844