forked from pool/python-termcolor
Accepting request 1009277 from devel:languages:python
- update to 2.0.1: * Add support for Python 3.11 and PyPy * Add support for Python 3.10 * Support NO_COLOR * Add type annotations to the project and run mypy on CI * Add tests OBS-URL: https://build.opensuse.org/request/show/1009277 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-termcolor?expand=0&rev=11
This commit is contained in:
commit
59221c5307
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Oct 3 16:03:35 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.0.1:
|
||||||
|
* Add support for Python 3.11 and PyPy
|
||||||
|
* Add support for Python 3.10
|
||||||
|
* Support NO_COLOR
|
||||||
|
* Add type annotations to the project and run mypy on CI
|
||||||
|
* Add tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 14 14:44:45 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
Mon Oct 14 14:44:45 UTC 2019 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-termcolor
|
# spec file for package python-termcolor
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,13 +18,18 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-termcolor
|
Name: python-termcolor
|
||||||
Version: 1.1.0
|
Version: 2.0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: ANSII Color formatting for output in terminal
|
Summary: ANSII Color formatting for output in terminal
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://pypi.python.org/pypi/termcolor
|
URL: https://pypi.python.org/pypi/termcolor
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/termcolor/termcolor-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
|
BuildRequires: %{python_module hatchling}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -39,15 +44,15 @@ Available attributes: bold, dark, underline, blink, reverse, concealed.
|
|||||||
%setup -q -n termcolor-%{version}
|
%setup -q -n termcolor-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license COPYING.txt
|
%license COPYING.txt
|
||||||
%doc CHANGES.rst README.rst
|
%doc CHANGES.md README.md
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
|
|
||||||
size 3912
|
|
3
termcolor-2.0.1.tar.gz
Normal file
3
termcolor-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6b2cf769e93364a2676e1de56a7c0cff2cf5bd07f37e9cc80b0dd6320ebfe388
|
||||||
|
size 9693
|
Loading…
Reference in New Issue
Block a user