summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 14:01:26 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 14:01:26 +0000
commitcb527919aff96ea7105e1802a8b102a23eca2129 (patch)
tree9def4b9d63d7475dbf1393c5f72f4e34c4448adf
parent7b358397f55a9895c13094eab4b8103e75b2e167 (diff)
automatic import of python-ducktapeopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-ducktape.spec94
-rw-r--r--sources1
3 files changed, 96 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..3a21228 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ducktape-0.11.3.tar.gz
diff --git a/python-ducktape.spec b/python-ducktape.spec
new file mode 100644
index 0000000..c0877b9
--- /dev/null
+++ b/python-ducktape.spec
@@ -0,0 +1,94 @@
+%global _empty_manifest_terminate_build 0
+Name: python-ducktape
+Version: 0.11.3
+Release: 1
+Summary: Distributed system test tools
+License: apache2.0
+URL: http://github.com/confluentinc/ducktape
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b5/38/617744251f4802b28a7ee4a176e6b0d3d67385fb334b37d6a70f71153bc0/ducktape-0.11.3.tar.gz
+BuildArch: noarch
+
+Requires: python3-jinja2
+Requires: python3-boto3
+Requires: python3-MarkupSafe
+Requires: python3-pyparsing
+Requires: python3-zipp
+Requires: python3-pywinrm
+Requires: python3-requests
+Requires: python3-paramiko
+Requires: python3-pyzmq
+Requires: python3-pycryptodome
+Requires: python3-more-itertools
+Requires: python3-six
+Requires: python3-PyYAML
+Requires: python3-pytest
+Requires: python3-mock
+Requires: python3-psutil
+Requires: python3-memory-profiler
+Requires: python3-statistics
+Requires: python3-requests-testadapter
+Requires: python3-flake8
+Requires: python3-pytest-cov
+Requires: python3-pytest-xdist
+
+%description
+
+
+%package -n python3-ducktape
+Summary: Distributed system test tools
+Provides: python-ducktape
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-ducktape
+
+
+%package help
+Summary: Development documents and examples for ducktape
+Provides: python3-ducktape-doc
+%description help
+
+
+%prep
+%autosetup -n ducktape-0.11.3
+
+%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-ducktape -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 0.11.3-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..1b295a1
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+ad3220ca145419ba9940e0dbea2216ec ducktape-0.11.3.tar.gz