summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-11 19:38:53 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-11 19:38:53 +0000
commite51bf7c971b79cc348c456eb68909c50bb5931d5 (patch)
tree18ed2bcf3e6d2674476d74cacf06e5ae5f43abe6
parent0b807839b2ba66ee0d8168c3bf876a2ceeb92050 (diff)
automatic import of python-asyncclick
-rw-r--r--.gitignore1
-rw-r--r--python-asyncclick.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..0eaba46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/asyncclick-8.1.3.4.tar.gz
diff --git a/python-asyncclick.spec b/python-asyncclick.spec
new file mode 100644
index 0000000..e0a1ae7
--- /dev/null
+++ b/python-asyncclick.spec
@@ -0,0 +1,74 @@
+%global _empty_manifest_terminate_build 0
+Name: python-asyncclick
+Version: 8.1.3.4
+Release: 1
+Summary: Composable command line interface toolkit, async version
+License: BSD-3-Clause
+URL: https://palletsprojects.com/p/click/
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c4/14/989595a8cc0c475b571e0ef8b629fe658b8b42157732564dc5a7f6e73464/asyncclick-8.1.3.4.tar.gz
+BuildArch: noarch
+
+Requires: python3-colorama
+Requires: python3-importlib-metadata
+
+%description
+
+
+%package -n python3-asyncclick
+Summary: Composable command line interface toolkit, async version
+Provides: python-asyncclick
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-asyncclick
+
+
+%package help
+Summary: Development documents and examples for asyncclick
+Provides: python3-asyncclick-doc
+%description help
+
+
+%prep
+%autosetup -n asyncclick-8.1.3.4
+
+%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-asyncclick -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 8.1.3.4-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..b602a8d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+22177088d4c022616c59e12da9537bdb asyncclick-8.1.3.4.tar.gz