diff --git a/python-termcolor.changes b/python-termcolor.changes index 466ab06..6b33966 100644 --- a/python-termcolor.changes +++ b/python-termcolor.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Oct 3 16:03:35 UTC 2022 - Dirk Müller + +- 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 diff --git a/python-termcolor.spec b/python-termcolor.spec index 31630b2..ef71ddd 100644 --- a/python-termcolor.spec +++ b/python-termcolor.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,13 +18,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-termcolor -Version: 1.1.0 +Version: 2.0.1 Release: 0 Summary: ANSII Color formatting for output in terminal License: MIT URL: https://pypi.python.org/pypi/termcolor 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 wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -39,15 +44,15 @@ Available attributes: bold, dark, underline, blink, reverse, concealed. %setup -q -n termcolor-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %files %{python_files} %license COPYING.txt -%doc CHANGES.rst README.rst +%doc CHANGES.md README.md %{python_sitelib}/* %changelog diff --git a/termcolor-1.1.0.tar.gz b/termcolor-1.1.0.tar.gz deleted file mode 100644 index d5103cf..0000000 --- a/termcolor-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b -size 3912 diff --git a/termcolor-2.0.1.tar.gz b/termcolor-2.0.1.tar.gz new file mode 100644 index 0000000..7dc7604 --- /dev/null +++ b/termcolor-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6b2cf769e93364a2676e1de56a7c0cff2cf5bd07f37e9cc80b0dd6320ebfe388 +size 9693