From 988709c17d623b03867fbf7f0a22edfa24ddedffffa76a2e736fbbf6fe318250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 1 Sep 2022 07:12:15 +0000 Subject: [PATCH] Accepting request 1000537 from home:jayvdb:py-submit new dep of django-codemod. c.f. https://build.opensuse.org/package/show/home:jayvdb:branches:devel:languages:python:django/python-django-codemod OBS-URL: https://build.opensuse.org/request/show/1000537 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rich-click?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + python-rich-click.changes | 5 +++ python-rich-click.spec | 68 +++++++++++++++++++++++++++++++++++++++ rich-click-1.5.2.tar.gz | 3 ++ 5 files changed, 100 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 python-rich-click.changes create mode 100644 python-rich-click.spec create mode 100644 rich-click-1.5.2.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-rich-click.changes b/python-rich-click.changes new file mode 100644 index 0000000..30098be --- /dev/null +++ b/python-rich-click.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Sep 1 00:48:20 UTC 2022 - John Vandenberg + +- Initial spec for v1.5.2 + diff --git a/python-rich-click.spec b/python-rich-click.spec new file mode 100644 index 0000000..9ca2a0a --- /dev/null +++ b/python-rich-click.spec @@ -0,0 +1,68 @@ +# +# spec file for package python-rich-click +# +# 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 +# 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/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-rich-click +Version: 1.5.2 +Release: 0 +Summary: Format click help output nicely with rich +License: MIT +URL: https://github.com/ewels/rich-click +Source: https://files.pythonhosted.org/packages/source/r/rich-click/rich-click-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-click >= 7 +Requires: python-rich >= 10.7.0 +BuildArch: noarch +# SECTION test requirements +BuildRequires: %{python_module click >= 7} +BuildRequires: %{python_module rich >= 10.7.0} +# /SECTION +%python_subpackages + +%description +Format click help output nicely with rich. + +%prep +%setup -q -n rich-click-%{version} + +%build +%python_build + +%install +%python_install +%python_clone -a %{buildroot}%{_bindir}/rich-click +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%post +%python_install_alternative rich-click + +%postun +%python_uninstall_alternative rich-click + +#%%check +# No tests yet https://github.com/ewels/rich-click/issues/25 + +%files %{python_files} +%doc README.md +%license LICENSE +%python_alternative %{_bindir}/rich-click +%{python_sitelib}/*rich[_-]click*/ + +%changelog diff --git a/rich-click-1.5.2.tar.gz b/rich-click-1.5.2.tar.gz new file mode 100644 index 0000000..758953b --- /dev/null +++ b/rich-click-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a57ca70242cb8b372a670eaa0b0be48f2440b66656deb4a56e6aadc1bbb79670 +size 23566