From a206beeda4ab4dfbe5aa2c9a56407a3643a806d3630955d8b1c90331c1f853f4 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Sun, 14 May 2023 19:47:16 +0000 Subject: [PATCH] Accepting request 1086789 from home:ojkastl_buildservice:Branch_devel_languages_python new package python-click-command-tree, required by pynitrokey OBS-URL: https://build.opensuse.org/request/show/1086789 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-command-tree?expand=0&rev=1 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + _service | 3 ++ click-command-tree-1.1.1.tar.gz | 3 ++ python-click-command-tree.changes | 4 ++ python-click-command-tree.spec | 64 +++++++++++++++++++++++++++++++ 6 files changed, 98 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 click-command-tree-1.1.1.tar.gz create mode 100644 python-click-command-tree.changes create mode 100644 python-click-command-tree.spec 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/_service b/_service new file mode 100644 index 0000000..fbbd978 --- /dev/null +++ b/_service @@ -0,0 +1,3 @@ + + + diff --git a/click-command-tree-1.1.1.tar.gz b/click-command-tree-1.1.1.tar.gz new file mode 100644 index 0000000..199d1bc --- /dev/null +++ b/click-command-tree-1.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bb9c223cedf72af004ae6ba6daf916a21300d03d5fb8e939a7265fbe481f6d2 +size 3991 diff --git a/python-click-command-tree.changes b/python-click-command-tree.changes new file mode 100644 index 0000000..c58b8c2 --- /dev/null +++ b/python-click-command-tree.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Fri May 12 12:46:37 UTC 2023 - Johannes Kastl + +- new package python-click-command-tree, required by pynitrokey diff --git a/python-click-command-tree.spec b/python-click-command-tree.spec new file mode 100644 index 0000000..23b013b --- /dev/null +++ b/python-click-command-tree.spec @@ -0,0 +1,64 @@ +# +# spec file for package python-click-command-tree +# +# Copyright (c) 2023 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-click-command-tree +Version: 1.1.1 +Release: 0 +Summary: Plugin for click to show the command tree of your CLI +License: MIT +URL: https://github.com/whwright/click-command-tree +# pypi tarball does not contain tests directory +Source: https://github.com/whwright/click-command-tree/archive/%{version}.tar.gz#/click-command-tree-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +# SECTION test requirements +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module click} +# /SECTION +BuildRequires: fdupes +Requires: python-click +BuildArch: noarch +%python_subpackages + +%description +click-command-tree is a click plugin to show the command tree of your CLI + +%prep +%setup -q -n click-command-tree-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pyunittest -v + +%files %{python_files} +%doc README.md +%license LICENSE +%{python_sitelib}/click_command_tree.py +%{python_sitelib}/click_command_tree-%{version}.dist-info/ +%pycache_only %{python_sitelib}/__pycache__/* + +%changelog