You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
174 lines
6.2 KiB
174 lines
6.2 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.6.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
release_number = 3;
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
print(release_number + base_release_number - 1);
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
## END: Set by rpmautospec
|
|
|
|
# Created by pyp2rpm-3.3.2
|
|
%global pypi_name pytest-xprocess
|
|
|
|
Name: python-%{pypi_name}
|
|
Version: 1.0.2
|
|
Release: %autorelease
|
|
Summary: Pytest plugin to manage external processes across test runs
|
|
|
|
License: MIT
|
|
URL: https://github.com/pytest-dev/pytest-xprocess/
|
|
Source0: %{pypi_source}
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: python3-devel
|
|
BuildRequires: python3dist(psutil)
|
|
BuildRequires: python3dist(pytest)
|
|
BuildRequires: python3dist(setuptools)
|
|
BuildRequires: python3dist(setuptools-scm)
|
|
|
|
%description
|
|
Experimental py.test <>_ plugin for managing processes across test runs.Usage
|
|
install via:: pip install pytest-xprocessThis will provide a xprocess fixture
|
|
which helps you to ensure that one ore more longer-running processes are
|
|
present for your tests. You can use it to start and pre-configure test-specific
|
|
databases (Postgres, Couchdb, ...).Additionally there are two new command
|
|
line...
|
|
|
|
%package -n python3-%{pypi_name}
|
|
Summary: %{summary}
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
Requires: python3dist(psutil)
|
|
Requires: python3dist(pytest)
|
|
Requires: python3dist(setuptools)
|
|
%description -n python3-%{pypi_name}
|
|
Experimental py.test <>_ plugin for managing processes across test runs.Usage
|
|
install via:: pip install pytest-xprocessThis will provide a xprocess fixture
|
|
which helps you to ensure that one ore more longer-running processes are
|
|
present for your tests. You can use it to start and pre-configure test-specific
|
|
databases (Postgres, Couchdb, ...).Additionally there are two new command
|
|
line...
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{pypi_name}-%{version}
|
|
# Remove bundled egg-info
|
|
rm -rf %{pypi_name}.egg-info
|
|
# Remove executable bit from README
|
|
chmod -x README.rst
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files -n python3-%{pypi_name}
|
|
%license LICENSE
|
|
%doc README.rst
|
|
%{python3_sitelib}/xprocess/
|
|
%{python3_sitelib}/pytest_xprocess-%{version}-py%{python3_version}.egg-info
|
|
|
|
%changelog
|
|
* Sun Dec 29 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.0.2-3
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.0.2-2
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Mon May 20 2024 František Zatloukal <fzatlouk@redhat.com> - 1.0.2-1
|
|
- Update to 1.0.2 (Fixes RHBZ#2281562 )
|
|
|
|
* Tue Apr 23 2024 Adam Williamson <awilliam@redhat.com> - 1.0.1-1
|
|
- Update to 1.0.1
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.23.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Tue Oct 10 2023 František Zatloukal <fzatlouk@redhat.com> - 0.23.0-1
|
|
- Update to pytest-xprocess-0.23.0 (Fixes RHBZ#2240423)
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 0.22.2-3
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Jan 06 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.22.2-1
|
|
- Update to pytest-xprocess-0.22.2 (fixes RHBZ#2148777 )
|
|
|
|
* Wed Nov 16 2022 Lumír Balhar <lbalhar@redhat.com> - 0.20.0-2
|
|
- Fix compatibility with pytest 7.2 (fixes RHBZ#2142054 )
|
|
|
|
* Tue Aug 30 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.20.0-1
|
|
- Update to pytest-xprocess-0.20.0 (fixes RHBZ#2122212 )
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.19.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.19.0-2
|
|
- Rebuilt for Python 3.11
|
|
|
|
* Wed May 25 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.19.0-1
|
|
- Update to pytest-xprocess-0.19.0
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.18.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Thu Jul 29 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.18.1-1
|
|
- Update to pytest-xprocess-0.18.1
|
|
- Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1986637
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.17.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.17.1-2
|
|
- Rebuilt for Python 3.10
|
|
|
|
* Mon Apr 12 2021 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.17.1-1
|
|
- Update to pytest-xprocess-0.17.1
|
|
- Enabled tests during build
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Thu Jul 23 2020 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.13.1-1
|
|
- Update to pytest-xprocess-0.13.1
|
|
|
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.12.1-6
|
|
- Rebuilt for Python 3.9
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.1-4
|
|
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
|
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.12.1-3
|
|
- Rebuilt for Python 3.8
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Sun Jun 09 2019 Frantisek Zatloukal <fzatlouk@redhat.com> - 0.12.1-1
|
|
- Initial package.
|
|
|
|
## END: Generated by rpmautospec
|