summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-05 05:59:07 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-05 05:59:07 +0000
commitc3bc028d0fb054a899918f30eeab99e516461126 (patch)
tree7fa0f178b49d66d38f92cf4c0aefbcacde67b31e
parenta5b8b659093f6827fbb91644fcbbdb0043fb5879 (diff)
automatic import of python-pytest-elasticsearchopeneuler20.03
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-elasticsearch.spec79
-rw-r--r--sources1
3 files changed, 81 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..efa6c1a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-elasticsearch-3.0.0.tar.gz
diff --git a/python-pytest-elasticsearch.spec b/python-pytest-elasticsearch.spec
new file mode 100644
index 0000000..852a63d
--- /dev/null
+++ b/python-pytest-elasticsearch.spec
@@ -0,0 +1,79 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-elasticsearch
+Version: 3.0.0
+Release: 1
+Summary: Elasticsearch fixtures and fixture factories for Pytest.
+License: LGPLv3+
+URL: https://github.com/ClearcodeHQ/pytest-elasticsearch
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/b0/0f/29c0ab8dca75bc6348960b289eeec600562cc88acd615eaa6176c1c788c9/pytest-elasticsearch-3.0.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-port-for
+Requires: python3-mirakuru
+Requires: python3-elasticsearch
+Requires: python3-pytest-cov
+Requires: python3-pytest-xdist
+Requires: python3-mock
+
+%description
+
+
+%package -n python3-pytest-elasticsearch
+Summary: Elasticsearch fixtures and fixture factories for Pytest.
+Provides: python-pytest-elasticsearch
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-elasticsearch
+
+
+%package help
+Summary: Development documents and examples for pytest-elasticsearch
+Provides: python3-pytest-elasticsearch-doc
+%description help
+
+
+%prep
+%autosetup -n pytest-elasticsearch-3.0.0
+
+%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-pytest-elasticsearch -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Fri May 05 2023 Python_Bot <Python_Bot@openeuler.org> - 3.0.0-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..057cb14
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+b1acc4b835354fd3541e16048c6d5cb6 pytest-elasticsearch-3.0.0.tar.gz