13 Star 0 Fork 2

ocs-upgrade/python-pytest-randomly

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-pytest-randomly.spec 2.23 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-10-15 16:11 . Upgrade to version 3.15.0
%global upstream_name pytest-randomly
Summary: Pytest plugin to randomly order tests and control random.seed
Name: python-%{upstream_name}
Version: 3.15.0
Release: 1%{?dist}
License: MIT
URL: https://github.com/pytest-dev/pytest-randomly
Source0: %{url}/archive/%{version}/%{upstream_name}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: pyproject-rpm-macros
BuildRequires: python3dist(factory-boy)
BuildRequires: python3dist(numpy)
BuildRequires: python3dist(pytest-forked)
BuildRequires: python3dist(pytest-xdist)
%description
%{summary}.
%package -n python3-%{upstream_name}
Summary: %{summary}
%description -n python3-%{upstream_name}
%{summary}.
%prep
%autosetup -n %{upstream_name}-%{version} -p1
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files pytest_randomly
%check
%pytest -p no:randomly -k 'not test_it_runs_before_stepwise'
%files -n python3-%{upstream_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst HISTORY.rst
%changelog
* Tue Oct 15 2024 Upgrade Robot <[email protected]> - 3.15.0-1
- Upgrade to version 3.15.0
* Thu Sep 26 2024 OpenCloudOS Release Engineering <[email protected]> - 3.13.0-3
- Rebuilt for clarifying the packages requirement in BaseOS and AppStream
* Fri Aug 16 2024 OpenCloudOS Release Engineering <[email protected]> - 3.13.0-2
- Rebuilt for loongarch release
* Mon Sep 25 2023 Shuo Wang <[email protected]> - 3.13.0-1
- update to 3.13.0
* Tue Sep 19 2023 OpenCloudOS Release Engineering <[email protected]> - 3.12.0-6
- Rebuilt for python 3.11
* Wed Sep 13 2023 Shuo Wang <[email protected]> - 3.12.0-5
- backport patch for pytest update
* Fri Sep 08 2023 OpenCloudOS Release Engineering <[email protected]> - 3.12.0-4
- Rebuilt for OpenCloudOS Stream 23.09
* Fri Apr 28 2023 OpenCloudOS Release Engineering <[email protected]> - 3.12.0-3
- Rebuilt for OpenCloudOS Stream 23.05
* Fri Mar 31 2023 OpenCloudOS Release Engineering <[email protected]> - 3.12.0-2
- Rebuilt for OpenCloudOS Stream 23
* Thu Dec 22 2022 cunshunxia <[email protected]> - 3.12.0-1
- initial build
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ocs-upgrade/python-pytest-randomly.git
[email protected]:ocs-upgrade/python-pytest-randomly.git
ocs-upgrade
python-pytest-randomly
python-pytest-randomly
master

搜索帮助