!1 为空仓库python-pytest-xprocess提交代码
From: @yinyongkang Reviewed-by: @jxy_git Signed-off-by:
This commit is contained in:
commit
3fdbff9bc6
BIN
0.17.1.tar.gz
Normal file
BIN
0.17.1.tar.gz
Normal file
Binary file not shown.
57
python-pytest-xprocess.spec
Normal file
57
python-pytest-xprocess.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
#%global pypi_name pytest-xprocess
|
||||||
|
|
||||||
|
Name: python-pytest-xprocess
|
||||||
|
Version: 0.17.1
|
||||||
|
Release: 1
|
||||||
|
Summary: Pytest plugin to manage external processes across test runs
|
||||||
|
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/pytest-dev/pytest-xprocess/
|
||||||
|
Source0: https://github.com/pytest-dev/pytest-xprocess/archive/refs/tags/0.17.1.tar.gz
|
||||||
|
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.
|
||||||
|
|
||||||
|
%package -n python3-pytest-xprocess
|
||||||
|
Summary: %{summary}
|
||||||
|
%{?python_provide:%python_provide python3-pytest-xprocess}
|
||||||
|
|
||||||
|
Requires: python3dist(psutil)
|
||||||
|
Requires: python3dist(pytest)
|
||||||
|
Requires: python3dist(setuptools)
|
||||||
|
%description -n python3-pytest-xprocess
|
||||||
|
Experimental py.test <>_ plugin for managing processes across test runs.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n pytest-xprocess-%{version}
|
||||||
|
# Remove bundled egg-info
|
||||||
|
rm -rf pytest-xprocess.egg-info
|
||||||
|
# Remove executable bit from README
|
||||||
|
chmod -x README.rst
|
||||||
|
|
||||||
|
%build
|
||||||
|
%py3_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%py3_install
|
||||||
|
|
||||||
|
%check
|
||||||
|
|
||||||
|
%files -n python3-pytest-xprocess
|
||||||
|
%license LICENSE
|
||||||
|
%doc README.rst
|
||||||
|
%{python3_sitelib}/__pycache__/*
|
||||||
|
%{python3_sitelib}/pytest_xprocess.py
|
||||||
|
%{python3_sitelib}/xprocess.py
|
||||||
|
%{python3_sitelib}/pytest_xprocess-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sat Jul 17 2021 yinyongkang <yinyongkang@kylinos.cn> - 0.17.1-1
|
||||||
|
- Init Package
|
||||||
Loading…
x
Reference in New Issue
Block a user