加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pytest-testmon.spec 3.03 KB
一键复制 编辑 原始数据 按行查看 历史
Jason_828e 提交于 2023-07-31 12:11 . update version to 2.0.12
%global _empty_manifest_terminate_build 0
Name: python-pytest-testmon
Version: 2.0.12
Release: 1
Summary: selects tests affected by changed files and methods
License: AGPL-3.0-only
URL: https://github.com/tarpas/pytest-testmon
Source0: https://files.pythonhosted.org/packages/48/98/474a7e83c3239110f3a6ec5ef938a2cea79ebeedf5215dd8ee6e9b3fcdd7/pytest-testmon-2.0.12.tar.gz
BuildArch: noarch
%description
This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes.
%package -n python3-pytest-testmon
Summary: selects tests affected by changed files and methods
Provides: python-pytest-testmon = %{version}-%{release}
BuildRequires: python-pip python-wheel
BuildRequires: python3-devel
BuildRequires: zlib >= 1.2.11
BuildRequires: python3-setuptools
Requires: python3-pytest
Requires: python3-coverage
%description -n python3-pytest-testmon
This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes.
%package help
Summary: Development documents and examples for pytest-testmon
Provides: python3-pytest-testmon-doc
%description help
This is a pytest plug-in which automatically selects and re-executes only tests affected by recent changes.
%prep
%autosetup -n pytest-testmon-%{version}
%build
%pyproject_build
%install
%pyproject_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
if [ -f README.rst ]; then cp -af README.rst %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.md ]; then cp -af README.md %{buildroot}/%{_pkgdocdir}; fi
if [ -f README.txt ]; then cp -af README.txt %{buildroot}/%{_pkgdocdir}; fi
%files -n python3-pytest-testmon
%{python3_sitelib}/*
%files help
%{_docdir}/*
%changelog
* Tue Aug 01 2023 chenzixuan <chenzixuan@kylinos.cn> - 2.0.12-1
- Update package to version 2.0.12
* Wed Jun 21 2023 chendexi <chendexi@kylinos.cn> - 2.0.9-1
- Update package to version 2.0.9
* Fri Jun 09 2023 wangjunqi <wangjunqi@kylinos.cn> - 2.0.8-1
- Update package to version 2.0.8
* Mon May 08 2023 wubijie <wubijie@kylinos.cn> - 2.0.6-1
- Update package to version 2.0.6
* Sat May 06 2023 wubijie <wubijie@kylinos.cn> - 2.0.2-1
- Update package to version 2.0.2
* Fri May 05 2023 wubijie <wubijie@kylinos.cn> - 2.0.1-1
- Update package to version 2.0.1
* Wed Apr 12 2023 wubijie <wubijie@kylinos.cn> - 2.0.0-1
- Update package to version 2.0.0
* Thu Feb 16 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.4.5-1
- Update package to version 1.4.5
* Thu Nov 17 2022 jiangxinyu <jiangxinyu@kylinos.cn> - 1.4.1-1
- Update package to version 1.4.1
* Sat Oct 08 2022 guozhengxin <guozhengxin@kylinos.cn> - 1.3.7-1
- Upgrade package to version 1.3.7
* Sun Apr 24 2022 liqiuyu <liqiuyu@kylinos.cn> - 1.2.0-2
- Add zlib to buildrequires
* Tue Oct 12 2021 Python_Bot <Python_Bot@openeuler.org > - 1.2.0-1
- Package Init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化