Compare commits

...

No commits in common. 'epel9' and 'i9ce' have entirely different histories.
epel9 ... i9ce

11
.gitignore vendored

@ -1,10 +1 @@
/pytest-randomly-1.2.3.tar.gz
/pytest-randomly-3.2.1.tar.gz
/pytest-randomly-3.3.1.tar.gz
/pytest-randomly-3.4.0.tar.gz
/pytest-randomly-3.4.1.tar.gz
/pytest-randomly-3.5.0.tar.gz
/pytest-randomly-3.10.1.tar.gz
/pytest-randomly-3.10.3.tar.gz
/pytest-randomly-3.11.0.tar.gz
/pytest-randomly-3.12.0.tar.gz
SOURCES/pytest-randomly-3.12.0.tar.gz

@ -0,0 +1 @@
7d666139b5fd461a0c157d3aff3db6eec55ceadd SOURCES/pytest-randomly-3.12.0.tar.gz

@ -1,3 +0,0 @@
# python-pytest-randomly
The python-pytest-randomly package

@ -1,3 +1,74 @@
## START: Set by rpmautospec
## (rpmautospec version 0.2.6)
%define autorelease(e:s:pb:) %{?-p:0.}%{lua:
release_number = 2;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist}
## END: Set by rpmautospec
%global upstream_name pytest-randomly
Name: python-%{upstream_name}
Version: 3.12.0
Release: %autorelease
Summary: Pytest plugin to randomly order tests and control random.seed
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
# Required for tests
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}
%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}
%doc README.rst HISTORY.rst
%license LICENSE
%changelog
* Wed Jan 10 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 3.12.0-1
- Rebuilt for MSVSphere 9.3
* Wed May 11 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 3.12.0-1
- Update to 3.12.0 - Closes rhbz#2084246
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> 3.11.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Jan 17 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> 3.11.0-1
- Update to 3.11.0 - Closes rhbz#2038996
* Sat Nov 06 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.10.1-1
- Update to 3.10.1
- Switch to pyproject-rpm-macros
@ -48,3 +119,4 @@
* Mon Dec 31 2018 Dan Callaghan <dan.callaghan@opengear.com> - 1.2.3-1
- initial version

@ -1,51 +0,0 @@
%global upstream_name pytest-randomly
Name: python-%{upstream_name}
Version: 3.12.0
Release: %autorelease
Summary: Pytest plugin to randomly order tests and control random.seed
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
# Required for tests
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}
%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}
%doc README.rst HISTORY.rst
%license LICENSE
%changelog
%autochangelog

@ -1 +0,0 @@
SHA512 (pytest-randomly-3.12.0.tar.gz) = e2241c1304b9597f93cc57d6830808f85c59ea1b4815624dcd9d088f87eb4a34d6cb6394de9c31ebedcb8280fb6ff12b110fd5a559ab28c9e0381481fce52c4d
Loading…
Cancel
Save