From fa644e778b3c39b21a4ff936df0118987cb95e1e5452b85538a1d8186b5c7d66 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Fri, 14 Feb 2025 13:58:14 +0000 Subject: [PATCH] - Update to 0.1.7 * Drop support for Python 3.7/3.8 * Add support for Python 3.13 * Fix README rendering on PyPI * Refactor type annotations * Update copyright years * Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 in the actions-dependencies group by @dependabot in #6 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tcolorpy?expand=0&rev=10 --- .gitattributes | 23 +++++++++++++++ .gitignore | 1 + python-tcolorpy.changes | 63 +++++++++++++++++++++++++++++++++++++++++ python-tcolorpy.spec | 59 ++++++++++++++++++++++++++++++++++++++ tcolorpy-0.1.6.tar.gz | 3 ++ tcolorpy-0.1.7.tar.gz | 3 ++ 6 files changed, 152 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-tcolorpy.changes create mode 100644 python-tcolorpy.spec create mode 100644 tcolorpy-0.1.6.tar.gz create mode 100644 tcolorpy-0.1.7.tar.gz 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..0e816b6 --- /dev/null +++ b/python-tcolorpy.changes @@ -0,0 +1,63 @@ +------------------------------------------------------------------- +Fri Feb 14 12:45:36 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.1.7 + * Drop support for Python 3.7/3.8 + * Add support for Python 3.13 + * Fix README rendering on PyPI + * Refactor type annotations + * Update copyright years + * Bump sigstore/gh-action-sigstore-python from 2.1.1 to 3.0.0 + in the actions-dependencies group by @dependabot in #6 + +------------------------------------------------------------------- +Thu May 2 22:02:23 UTC 2024 - Dirk Müller + +- update to 0.1.6: + * Add a build and release workflow +- update to 0.1.5: + * Add `__all__` to `__init__.py` + * Update CI + * Add support for Python 3.12 + * Add CHANGELOG.md + +------------------------------------------------------------------- +Fri Dec 8 12:41:36 UTC 2023 - Dirk Müller + +- update to 0.1.4: + * Improve type annotations + * Modify to use `pypa/build` for package build + * Remove deprecated `setup.py` calls +- update to 0.1.3: + * Add support for Python 3.11 + * Drop support for Python 3.6 + * Update a help message of CLI + +------------------------------------------------------------------- +Tue Oct 11 15:47:10 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 0.1.2 + * Use extras in tox instead of self-referencing the package in deps by @hroncok in #1 + * Removed shebang from main.py by @hegjon in #3 + +------------------------------------------------------------------- +Fri Aug 20 12:29:39 UTC 2021 - Martin Hauke + +- Update to version 0.1.0 + * Add hsv property to Color class + * Drop support for Python 3.5 + +------------------------------------------------------------------- +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..21b76da --- /dev/null +++ b/python-tcolorpy.spec @@ -0,0 +1,59 @@ +# +# spec file for package python-tcolorpy +# +# 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-tcolorpy +Version: 0.1.7 +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 pip} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +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 +%pyproject_wheel + +%install +%pyproject_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.1.6.tar.gz b/tcolorpy-0.1.6.tar.gz new file mode 100644 index 0000000..b2ec78e --- /dev/null +++ b/tcolorpy-0.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8cea0bf5f8cf03f77528a9acfbf312df935573892ba5ea3b2516e61fa54de9a5 +size 298986 diff --git a/tcolorpy-0.1.7.tar.gz b/tcolorpy-0.1.7.tar.gz new file mode 100644 index 0000000..c7c4bd0 --- /dev/null +++ b/tcolorpy-0.1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0fbf6bf238890bbc2e32662aa25736769a29bf6d880328f310c910a327632614 +size 299437