summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-05-18 03:17:42 +0000
committerCoprDistGit <infra@openeuler.org>2023-05-18 03:17:42 +0000
commit157ca60497c82dd8db3da830fdd6b40f5a48cc14 (patch)
tree4b46d94968f68e7cbd9f585f4104eb208d3eb469
parent448b83cde6260c38b772e19ea7b910884c0f73e8 (diff)
automatic import of python-pytest-docker-fixtures
-rw-r--r--.gitignore1
-rw-r--r--python-pytest-docker-fixtures.spec80
-rw-r--r--sources1
3 files changed, 82 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..bc9c2ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pytest-docker-fixtures-1.3.17.tar.gz
diff --git a/python-pytest-docker-fixtures.spec b/python-pytest-docker-fixtures.spec
new file mode 100644
index 0000000..225e1c3
--- /dev/null
+++ b/python-pytest-docker-fixtures.spec
@@ -0,0 +1,80 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-docker-fixtures
+Version: 1.3.17
+Release: 1
+Summary: pytest docker fixtures
+License: BSD
+URL: https://github.com/guillotinaweb/pytest-docker-fixtures
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/6c/c7/87f144a1d9827bfbf12c5857daccd10a5be72d937b2bf4ec00311fc9c61d/pytest-docker-fixtures-1.3.17.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-docker
+Requires: python3-requests
+Requires: python3-kafka-python
+Requires: python3-pymemcached
+Requires: python3-mysql-connector-python
+Requires: python3-psycopg2-binary
+Requires: python3-pika
+
+%description
+Provide various service pytest fixtures.
+
+%package -n python3-pytest-docker-fixtures
+Summary: pytest docker fixtures
+Provides: python-pytest-docker-fixtures
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-docker-fixtures
+Provide various service pytest fixtures.
+
+%package help
+Summary: Development documents and examples for pytest-docker-fixtures
+Provides: python3-pytest-docker-fixtures-doc
+%description help
+Provide various service pytest fixtures.
+
+%prep
+%autosetup -n pytest-docker-fixtures-1.3.17
+
+%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-docker-fixtures -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Thu May 18 2023 Python_Bot <Python_Bot@openeuler.org> - 1.3.17-1
+- Package Spec generated
diff --git a/sources b/sources
new file mode 100644
index 0000000..82b2bf4
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+a74eb845f1081c83e34ec1b9e4439e28 pytest-docker-fixtures-1.3.17.tar.gz