diff options
| author | CoprDistGit <infra@openeuler.org> | 2023-04-11 15:37:05 +0000 |
|---|---|---|
| committer | CoprDistGit <infra@openeuler.org> | 2023-04-11 15:37:05 +0000 |
| commit | 9797f54f5d768babc997ff215ac6c7515c8e6d33 (patch) | |
| tree | c554c14efe006689bdddd6e0b0e0850cf7cbbf6d | |
| parent | 0f815dd5c75f7ed7bea4c3904de523d0531bb022 (diff) | |
automatic import of python-pytest-reporter-html1
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | python-pytest-reporter-html1.spec | 77 | ||||
| -rw-r--r-- | sources | 1 |
3 files changed, 79 insertions, 0 deletions
@@ -0,0 +1 @@ +/pytest-reporter-html1-0.8.2.tar.gz diff --git a/python-pytest-reporter-html1.spec b/python-pytest-reporter-html1.spec new file mode 100644 index 0000000..8b150ed --- /dev/null +++ b/python-pytest-reporter-html1.spec @@ -0,0 +1,77 @@ +%global _empty_manifest_terminate_build 0 +Name: python-pytest-reporter-html1 +Version: 0.8.2 +Release: 1 +Summary: A basic HTML report template for Pytest +License: MIT +URL: https://github.com/christiansandberg/pytest-reporter-html1 +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/14/4e/261910ca4492ad34be6c963a0c8db710267fda9ee8d80e6ee890cb54eef8/pytest-reporter-html1-0.8.2.tar.gz +BuildArch: noarch + +Requires: python3-pytest-reporter +Requires: python3-Jinja2 +Requires: python3-ansi2html +Requires: python3-htmlmin +Requires: python3-docutils + +%description + + +%package -n python3-pytest-reporter-html1 +Summary: A basic HTML report template for Pytest +Provides: python-pytest-reporter-html1 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-pytest-reporter-html1 + + +%package help +Summary: Development documents and examples for pytest-reporter-html1 +Provides: python3-pytest-reporter-html1-doc +%description help + + +%prep +%autosetup -n pytest-reporter-html1-0.8.2 + +%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-reporter-html1 -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Tue Apr 11 2023 Python_Bot <Python_Bot@openeuler.org> - 0.8.2-1 +- Package Spec generated @@ -0,0 +1 @@ +b8c42c0b95279be91502b528f6afcdce pytest-reporter-html1-0.8.2.tar.gz |
