From 96cfedc24a42959158da546a4eeaf5bd00940989 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 14 Sep 2026 12:45:36 +0000 Subject: automatic import of python-rich-click --- .gitignore | 1 + rich-click.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 77 insertions(+) create mode 100644 rich-click.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..f447a99 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/python-rich-click-1.9.9.tar.gz diff --git a/rich-click.spec b/rich-click.spec new file mode 100644 index 0000000..dc5948a --- /dev/null +++ b/rich-click.spec @@ -0,0 +1,75 @@ +%global pypi_name rich-click + +Name: python-%{pypi_name} +Version: 1.9.9 +Release: 1%{?dist} +Summary: Format click help output nicely with rich + +License: MIT +URL: https://github.com/ewels/rich-click +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-setuptools +BuildRequires: python3-wheel + +%description +rich-click is a wrapper around Click that renders help output nicely +using Rich. The intention of rich-click is to provide attractive help +output from Click, formatted with Rich, with minimal customization +required. + +%package -n python3-%{pypi_name} +Summary: Format click help output nicely with rich +Provides: python-%{pypi_name} +Provides: python3dist(%{pypi_name}) = %{version} +Requires: python3-click >= 8 +Requires: python3-rich >= 12 + +%description -n python3-%{pypi_name} +rich-click is a wrapper around Click that renders help output nicely +using Rich. The intention of rich-click is to provide attractive help +output from Click, formatted with Rich, with minimal customization +required. + +%package help +Summary: Development documents and examples for %{pypi_name} +Provides: python3-%{pypi_name}-doc +Requires: python3-%{pypi_name} + +%description help +Development documents and examples for rich-click. + + +%prep +%autosetup -n %{name}-%{version} -p1 + + +%build +pip3 wheel --no-build-isolation --no-deps --wheel-dir %{_builddir}/wheels . + + +%install +pip3 install --no-build-isolation --no-index \ + --find-links %{_builddir}/wheels \ + --root %{buildroot} --prefix /usr \ + %{pypi_name}==%{version} + + +%files -n python3-%{pypi_name} +%license LICENSE +%{python3_sitelib}/rich_click/ +%{python3_sitelib}/rich_click-%{version}*.dist-info/ +%{_bindir}/rich-click + + +%files help +%license LICENSE +%doc README.md CHANGELOG.md + + +%changelog +* Mon Sep 14 2026 Python_Bot - 1.9.9-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..2a285cf --- /dev/null +++ b/sources @@ -0,0 +1 @@ +fab421e619ff8118e7be851b3e170234 python-rich-click-1.9.9.tar.gz -- cgit v1.2.3