From c8e575c2a0d2a7c19d11cad682cb79536466134a Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Tue, 16 Sep 2025 10:25:17 +0000 Subject: automatic import of python-click --- .gitignore | 1 + python-click.spec | 19 +++++++------------ sources | 2 +- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 6cfe85f..b85cd44 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /click-8.1.7.tar.gz +/click-8.0.4.tar.gz diff --git a/python-click.spec b/python-click.spec index e4f7d6d..161864d 100644 --- a/python-click.spec +++ b/python-click.spec @@ -5,7 +5,7 @@ Release: 1 Summary: Composable command line interface toolkit License: BSD URL: https://palletsprojects.com/p/click/ -Source0: %{pypi_source click} +Source0: https://files.pythonhosted.org/packages/dd/cf/706c1ad49ab26abed0b77a2f867984c1341ed7387b8030a6aa914e2942a0/click-8.0.4.tar.gz BuildArch: noarch %description Click is a Python package for creating beautiful command line interfaces @@ -22,9 +22,7 @@ BuildRequires: python3-setuptools BuildRequires: python3-pbr BuildRequires: python3-pip BuildRequires: python3-wheel -# General requires BuildRequires: python3-colorama -# General requires Requires: python3-colorama %description -n python3-click Click is a Python package for creating beautiful command line interfaces @@ -45,11 +43,11 @@ with sensible defaults out of the box. %autosetup -n click-%{version} %build -%pyproject_build +%py3_build -%install -%pyproject_install +%install +%py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -81,17 +79,14 @@ mv %{buildroot}/doclist.lst . %files -n python3-click -f filelist.lst %dir %{python3_sitelib}/* -%{python3_sitelib}/click/__pycache__/* + %files help -f doclist.lst %{_docdir}/* %changelog -* Tue Dec 26 2023 liyanan - 8.1.7-1 -- Upgrade package python3-click to version 8.1.7 - -* Thu May 19 2022 OpenStack_SIG - 8.0.4-1 -- Upgrade package python3-click to version 8.0.4 +* Fri Oct 21 2022 Ge Wang - 8.0.4-1 +- Upgrade to version 8.0.4 * Tue Jul 13 2021 OpenStack_SIG - 7.1.2-1 - Upgrade to version 7.1.2 diff --git a/sources b/sources index 0a641b8..f2fc7e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -7c3b52c56fd30699f453a7dc7b42cecb click-8.1.7.tar.gz +c89efc98d1b36d52ba26a39c803df0cc click-8.0.4.tar.gz -- cgit v1.2.3