forked from pool/python-click-help-colors
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-help-colors?expand=0&rev=15
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
click-help-colors-0.9.4.tar.gz
Normal file
3
click-help-colors-0.9.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f4cabe52cf550299b8888f4f2ee4c5f359ac27e33bcfe4d61db47785a5cc936c
|
||||
size 8048
|
||||
49
python-click-help-colors.changes
Normal file
49
python-click-help-colors.changes
Normal file
@@ -0,0 +1,49 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri May 16 08:25:51 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 25 13:06:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.9.4:
|
||||
* Add py.typed to package data in setup.py.
|
||||
* Add type hints.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 11 20:39:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 0.9.2:
|
||||
* Enable ANSI color when NO_COLOR is an empty string.
|
||||
* Add non-colored suffix to _colorize for 'usage'
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed May 10 08:37:42 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
||||
|
||||
- add sle15_python_module_pythons
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 28 09:51:35 UTC 2021 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 0.9.1
|
||||
* Add support for Click 8
|
||||
* Drop support for Python 2 and 3.5.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 31 12:18:10 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
|
||||
|
||||
- Update to 0.8
|
||||
* Add support for NO_COLOR <https://no-color.org/>
|
||||
* Add support for MultiCommands
|
||||
* Add support for version_option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 13 10:59:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 0.6:
|
||||
* Added feature to set unique colors for each option.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 10 02:45:15 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v0.5
|
||||
63
python-click-help-colors.spec
Normal file
63
python-click-help-colors.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-click-help-colors
|
||||
#
|
||||
# Copyright (c) 2025 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/
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-click-help-colors
|
||||
Version: 0.9.4
|
||||
Release: 0
|
||||
Summary: Colorization of help messages in Click
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/r-m-n/click-help-colors
|
||||
Source: https://files.pythonhosted.org/packages/source/c/click-help-colors/click-help-colors-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-click >= 7.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module click >= 7.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Colorization of help messages in Click
|
||||
|
||||
%prep
|
||||
%setup -q -n click-help-colors-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/click[-_]help[-_]colors
|
||||
%{python_sitelib}/click[-_]help[-_]colors-%{version}*-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user