summaryrefslogtreecommitdiff
path: root/python-pytest-buildkite.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2023-04-10 18:47:56 +0000
committerCoprDistGit <infra@openeuler.org>2023-04-10 18:47:56 +0000
commitf1227e00a35c8e85aaad15e9edf4a69702e82a11 (patch)
treeef6d295e38cb15b3c60c8c42cc2672f5fda01e21 /python-pytest-buildkite.spec
parent0597bfe8b779b8950b7d7031468d1c1d7ff41ca1 (diff)
automatic import of python-pytest-buildkite
Diffstat (limited to 'python-pytest-buildkite.spec')
-rw-r--r--python-pytest-buildkite.spec75
1 files changed, 75 insertions, 0 deletions
diff --git a/python-pytest-buildkite.spec b/python-pytest-buildkite.spec
new file mode 100644
index 0000000..fc2951a
--- /dev/null
+++ b/python-pytest-buildkite.spec
@@ -0,0 +1,75 @@
+%global _empty_manifest_terminate_build 0
+Name: python-pytest-buildkite
+Version: 0.3.0
+Release: 1
+Summary: Plugin for pytest that automatically publishes coverage and pytest report annotations to Buildkite.
+License: MIT
+URL: https://pytest-buildkite.github.io/index.html
+Source0: https://mirrors.nju.edu.cn/pypi/web/packages/c5/be/4571fd564df8965a3ec44a34db62e98c78de04223980973c3e0ffe0b2769/pytest-buildkite-0.3.0.tar.gz
+BuildArch: noarch
+
+Requires: python3-pytest
+Requires: python3-plumbum
+Requires: python3-pipefish
+
+%description
+
+
+%package -n python3-pytest-buildkite
+Summary: Plugin for pytest that automatically publishes coverage and pytest report annotations to Buildkite.
+Provides: python-pytest-buildkite
+BuildRequires: python3-devel
+BuildRequires: python3-setuptools
+BuildRequires: python3-pip
+%description -n python3-pytest-buildkite
+
+
+%package help
+Summary: Development documents and examples for pytest-buildkite
+Provides: python3-pytest-buildkite-doc
+%description help
+
+
+%prep
+%autosetup -n pytest-buildkite-0.3.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-buildkite -f filelist.lst
+%dir %{python3_sitelib}/*
+
+%files help -f doclist.lst
+%{_docdir}/*
+
+%changelog
+* Mon Apr 10 2023 Python_Bot <Python_Bot@openeuler.org> - 0.3.0-1
+- Package Spec generated