summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-29 12:36:16 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-29 12:36:16 +0000
commitbf1c31744fce671f18cf8a8316782ea7978098f2 (patch)
tree6a429f35427a8dc0694a20ffd59624a3ec2b4dcb
parenteceaa83abbaed1c2d9984546f91a7ac23e74ac9f (diff)
automatic import of python-click8
-rw-r--r--.gitignore1
-rw-r--r--python-click8.spec105
-rw-r--r--sources1
3 files changed, 107 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..39de068 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/click8-8.0.1.tar.gz
diff --git a/python-click8.spec b/python-click8.spec
new file mode 100644
index 0000000..c1f0de5
--- /dev/null
+++ b/python-click8.spec
@@ -0,0 +1,105 @@
+%global _empty_manifest_terminate_build 0
+Name: python-click8
+Version: 8.0.1
+Release: 1
+Summary: Composable command line interface toolkit
+License: BSD-3-Clause
+URL: https://palletsprojects.com/p/click/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/4e/b4/a2279d9d0183784e9dd9fd62b7505adab0819662d4b169602a6fef6a5a72/click8-8.0.1.tar.gz
+BuildArch: noarch
+
+
+%description
+** NOTE ** This is an un-official preview version of click v8.0.
+Click is a Python package for creating beautiful command line interfaces
+in a composable way with as little code as necessary. It's the "Command
+Line Interface Creation Kit". It's highly configurable but comes with
+sensible defaults out of the box.
+It aims to make the process of writing command line tools quick and fun
+while also preventing any frustration caused by the inability to
+implement an intended CLI API.
+Click in three points:
+- Arbitrary nesting of commands
+- Automatic help page generation
+- Supports lazy loading of subcommands at runtime
+
+%package -n python3-click8
+Summary: Composable command line interface toolkit
+Provides: python-click8
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-click8
+** NOTE ** This is an un-official preview version of click v8.0.
+Click is a Python package for creating beautiful command line interfaces
+in a composable way with as little code as necessary. It's the "Command
+Line Interface Creation Kit". It's highly configurable but comes with
+sensible defaults out of the box.
+It aims to make the process of writing command line tools quick and fun
+while also preventing any frustration caused by the inability to
+implement an intended CLI API.
+Click in three points:
+- Arbitrary nesting of commands
+- Automatic help page generation
+- Supports lazy loading of subcommands at runtime
+
+%package help
+Summary: Development documents and examples for click8
+Provides: python3-click8-doc
+%description help
+** NOTE ** This is an un-official preview version of click v8.0.
+Click is a Python package for creating beautiful command line interfaces
+in a composable way with as little code as necessary. It's the "Command
+Line Interface Creation Kit". It's highly configurable but comes with
+sensible defaults out of the box.
+It aims to make the process of writing command line tools quick and fun
+while also preventing any frustration caused by the inability to
+implement an intended CLI API.
+Click in three points:
+- Arbitrary nesting of commands
+- Automatic help page generation
+- Supports lazy loading of subcommands at runtime
+
+%prep
+%autosetup -n click8-8.0.1
+
+%build
+%py3_build
+
+%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
+if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
+if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
+pushd %{buildroot}
+if [ -d usr/lib ]; then
+ find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/lib64 ]; then
+ find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/bin ]; then
+ find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+if [ -d usr/sbin ]; then
+ find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
+fi
+touch doclist.lst
+if [ -d usr/share/man ]; then
+ find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
+fi
+popd
+mv %{buildroot}/filelist.lst .
+mv %{buildroot}/doclist.lst .
+
+%files -n python3-click8 -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon May 29 2023 Python_Bot <Python_Bot@openeuler.org> - 8.0.1-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..55d7fc4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+d1833879b653a3c5836c996ba62ca18d click8-8.0.1.tar.gz