|
|
2dd437f |
# Created by pyp2rpm-3.3.2
|
|
|
2dd437f |
%global pypi_name pytest-xprocess
|
|
|
2dd437f |
|
|
|
2dd437f |
Name: python-%{pypi_name}
|
|
|
602782d |
Version: 1.0.1
|
|
|
cbc7a97 |
Release: %autorelease
|
|
|
2dd437f |
Summary: Pytest plugin to manage external processes across test runs
|
|
|
2dd437f |
|
|
|
2dd437f |
License: MIT
|
|
|
2dd437f |
URL: https://github.com/pytest-dev/pytest-xprocess/
|
|
|
2dd437f |
Source0: %{pypi_source}
|
|
|
2dd437f |
BuildArch: noarch
|
|
|
94f68ab |
|
|
|
2dd437f |
BuildRequires: python3-devel
|
|
|
2dd437f |
BuildRequires: python3dist(psutil)
|
|
|
2dd437f |
BuildRequires: python3dist(pytest)
|
|
|
2dd437f |
BuildRequires: python3dist(setuptools)
|
|
|
94f68ab |
BuildRequires: python3dist(setuptools-scm)
|
|
|
2dd437f |
|
|
|
2dd437f |
%description
|
|
|
2dd437f |
Experimental py.test <>_ plugin for managing processes across test runs.Usage
|
|
|
2dd437f |
install via:: pip install pytest-xprocessThis will provide a xprocess fixture
|
|
|
2dd437f |
which helps you to ensure that one ore more longer-running processes are
|
|
|
2dd437f |
present for your tests. You can use it to start and pre-configure test-specific
|
|
|
2dd437f |
databases (Postgres, Couchdb, ...).Additionally there are two new command
|
|
|
2dd437f |
line...
|
|
|
2dd437f |
|
|
|
2dd437f |
%package -n python3-%{pypi_name}
|
|
|
2dd437f |
Summary: %{summary}
|
|
|
2dd437f |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
94f68ab |
|
|
|
2dd437f |
Requires: python3dist(psutil)
|
|
|
2dd437f |
Requires: python3dist(pytest)
|
|
|
2dd437f |
Requires: python3dist(setuptools)
|
|
|
2dd437f |
%description -n python3-%{pypi_name}
|
|
|
2dd437f |
Experimental py.test <>_ plugin for managing processes across test runs.Usage
|
|
|
2dd437f |
install via:: pip install pytest-xprocessThis will provide a xprocess fixture
|
|
|
2dd437f |
which helps you to ensure that one ore more longer-running processes are
|
|
|
2dd437f |
present for your tests. You can use it to start and pre-configure test-specific
|
|
|
2dd437f |
databases (Postgres, Couchdb, ...).Additionally there are two new command
|
|
|
2dd437f |
line...
|
|
|
2dd437f |
|
|
|
2dd437f |
|
|
|
2dd437f |
%prep
|
|
|
2dd437f |
%autosetup -n %{pypi_name}-%{version}
|
|
|
2dd437f |
# Remove bundled egg-info
|
|
|
2dd437f |
rm -rf %{pypi_name}.egg-info
|
|
|
2dd437f |
# Remove executable bit from README
|
|
|
2dd437f |
chmod -x README.rst
|
|
|
2dd437f |
|
|
|
2dd437f |
%build
|
|
|
2dd437f |
%py3_build
|
|
|
2dd437f |
|
|
|
2dd437f |
%install
|
|
|
2dd437f |
%py3_install
|
|
|
2dd437f |
|
|
|
dd03c6f |
%check
|
|
|
dd03c6f |
%pytest
|
|
|
dd03c6f |
|
|
|
2dd437f |
%files -n python3-%{pypi_name}
|
|
|
2dd437f |
%license LICENSE
|
|
|
2dd437f |
%doc README.rst
|
|
|
215d8f3 |
%{python3_sitelib}/xprocess/
|
|
|
d46842a |
%{python3_sitelib}/pytest_xprocess-%{version}-py%{python3_version}.egg-info
|
|
|
2dd437f |
|
|
|
2dd437f |
%changelog
|
|
|
cbc7a97 |
%autochangelog
|