commit 6ef3e189a1f5fc91009246f2f2f3a872fee7ee3101d07fb7725f766725e32a0c Author: Matej Cepl Date: Fri Apr 23 17:41:32 2021 +0000 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 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/python-tcolorpy.changes b/python-tcolorpy.changes new file mode 100644 index 0000000..9e2374b --- /dev/null +++ b/python-tcolorpy.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Fri Apr 23 17:37:48 UTC 2021 - Matej Cepl + +- Remove unnecessary shebang + +------------------------------------------------------------------- +Sat Mar 6 13:28:17 UTC 2021 - Martin Hauke + +- Package cleanup + +------------------------------------------------------------------- +Wed Oct 7 06:04:56 AM UTC 2020 - John Vandenberg + +- Initial spec for v0.0.8 diff --git a/python-tcolorpy.spec b/python-tcolorpy.spec new file mode 100644 index 0000000..f805700 --- /dev/null +++ b/python-tcolorpy.spec @@ -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 diff --git a/tcolorpy-0.0.8.tar.gz b/tcolorpy-0.0.8.tar.gz new file mode 100644 index 0000000..079cad7 --- /dev/null +++ b/tcolorpy-0.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ffbe886f1321dab88d9cfd4218ea8d93d50d6ad0875c3741dd75fe1437379406 +size 9844