%global _empty_manifest_terminate_build 0Name: python-pytest-htmlVersion: 4.1.1Release: 1Summary: pytest plugin for generating HTML reportsLicense: Mozilla Public License 2.0 (MPL 2.0)URL: https://github.com/pytest-dev/pytest-htmlSource0: %{pypi_source pytest_html}BuildArch: noarch%descriptionpytest plugin for generating HTML reports%package -n python3-pytest-htmlSummary: pytest plugin for generating HTML reportsProvides: python-pytest-html = %{version}-%{release}BuildRequires: python3-develBuildRequires: python3-setuptoolsBuildRequires: python3-pbrBuildRequires: python3-pipBuildRequires: python3-wheelBuildRequires: python3-hatch-vcsBuildRequires: python3-hatchling# for testBuildRequires: python3-pytestBuildRequires: python3-pytest-metadataBuildRequires: python3-jinja2BuildRequires: python3-assertpyBuildRequires: python3-beautifulsoup4BuildRequires: python3-selenium%description -n python3-pytest-htmlpytest plugin for generating HTML reports%package helpSummary: pytest plugin for generating HTML reportsProvides: python3-pytest-html-doc%description helppytest plugin for generating HTML reports%prep%autosetup -n pytest_html-%{version}%build%pyproject_build%install%pyproject_installinstall -d -m755 %{buildroot}/%{_pkgdocdir}if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fiif [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fiif [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fiif [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fipushd %{buildroot}if [ -d usr/lib ]; thenfind usr/lib -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/lib64 ]; thenfind usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/bin ]; thenfind usr/bin -type f -printf "/%h/%f\n" >> filelist.lstfiif [ -d usr/sbin ]; thenfind usr/sbin -type f -printf "/%h/%f\n" >> filelist.lstfitouch doclist.lstif [ -d usr/share/man ]; thenfind usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lstfipopdmv %{buildroot}/filelist.lst .mv %{buildroot}/doclist.lst .%check%pytest -- -k 'test_unit'%files -n python3-pytest-html -f filelist.lst%dir %{python3_sitelib}/*%files help -f doclist.lst%{_docdir}/*%{python3_sitelib}/pytest_html/*%changelog* Thu Aug 14 2025 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 4.1.1-1- Update package to version 4.1.1 for matdata upgrade* Wed Jul 05 2023 zjyabsa <jyzhangcf@isoftstone.com> - 3.2.0-1- Update package to version 3.2.0* Wed Dec 07 2022 liqiuyu <liqiuyu@kylinos.cn> - 3.2.0-1- Update package to version 3.2.0* Tue Aug 03 2021 OpenStack_SIG <openstack@openeuler.org> - 3.1.1-1- Package Spec generate
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
1. 开源生态
2. 协作、人、软件
3. 评估模型