update package
This commit is contained in:
parent
3fdbff9bc6
commit
1993f91542
BIN
0.17.1.tar.gz
BIN
0.17.1.tar.gz
Binary file not shown.
BIN
pytest-xprocess-0.19.0.tar.gz
Normal file
BIN
pytest-xprocess-0.19.0.tar.gz
Normal file
Binary file not shown.
@ -1,57 +1,78 @@
|
|||||||
#%global pypi_name pytest-xprocess
|
%global _empty_manifest_terminate_build 0
|
||||||
|
Name: python-pytest-xprocess
|
||||||
|
Version: 0.19.0
|
||||||
|
Release: 1
|
||||||
|
Summary: Pytest plugin to manage external processes across test runs
|
||||||
|
License: MIT
|
||||||
|
URL: https://github.com/pytest-dev/pytest-xprocess/
|
||||||
|
Source0: https://files.pythonhosted.org/packages/4b/f9/ba67efabd032e73e0526f6236dfe97c4860b1aa2e5d23f0a1c2f5d8d5e50/pytest-xprocess-0.19.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Name: python-pytest-xprocess
|
Requires: python3-pytest
|
||||||
Version: 0.17.1
|
Requires: python3-psutil
|
||||||
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
|
%description
|
||||||
Experimental py.test <>_ plugin for managing processes across test runs.
|
Experimental py.test <>_ plugin for managing processes across test runs.
|
||||||
|
|
||||||
%package -n python3-pytest-xprocess
|
%package -n python3-pytest-xprocess
|
||||||
Summary: %{summary}
|
Summary: A pytest plugin for managing processes across test runs.
|
||||||
%{?python_provide:%python_provide python3-pytest-xprocess}
|
Provides: python-pytest-xprocess
|
||||||
|
BuildRequires: python3-devel
|
||||||
Requires: python3dist(psutil)
|
BuildRequires: python3-pip
|
||||||
Requires: python3dist(pytest)
|
BuildRequires: python3-setuptools_scm
|
||||||
Requires: python3dist(setuptools)
|
BuildRequires: python3-setuptools
|
||||||
%description -n python3-pytest-xprocess
|
%description -n python3-pytest-xprocess
|
||||||
Experimental py.test <>_ plugin for managing processes across test runs.
|
A pytest plugin for managing external processes across test runs.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Development documents and examples for pytest-xprocess
|
||||||
|
Provides: python3-pytest-xprocess-doc
|
||||||
|
%description help
|
||||||
|
A pytest plugin for managing external processes across test runs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n pytest-xprocess-%{version}
|
%autosetup -n pytest-xprocess-0.19.0
|
||||||
# Remove bundled egg-info
|
|
||||||
rm -rf pytest-xprocess.egg-info
|
|
||||||
# Remove executable bit from README
|
|
||||||
chmod -x README.rst
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
|
install -d -m755 %{buildroot}/%{_pkgdocdir}
|
||||||
|
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
|
||||||
|
pushd %{buildroot}
|
||||||
|
if [ -d usr/lib ]; then
|
||||||
|
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/lib64 ]; then
|
||||||
|
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/bin ]; then
|
||||||
|
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
if [ -d usr/sbin ]; then
|
||||||
|
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
|
||||||
|
fi
|
||||||
|
touch doclist.lst
|
||||||
|
if [ -d usr/share/man ]; then
|
||||||
|
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
|
||||||
|
fi
|
||||||
|
popd
|
||||||
|
mv %{buildroot}/filelist.lst .
|
||||||
|
mv %{buildroot}/doclist.lst .
|
||||||
|
|
||||||
%check
|
%files -n python3-pytest-xprocess -f filelist.lst
|
||||||
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files -n python3-pytest-xprocess
|
%files help -f doclist.lst
|
||||||
%license LICENSE
|
%{_docdir}/*
|
||||||
%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
|
%changelog
|
||||||
|
* Mon Aug 01 2022 Python_Bot <Python_Bot@openeuler.org> - 0.19.0-1
|
||||||
|
- Package Spec generated
|
||||||
|
|
||||||
* Sat Jul 17 2021 yinyongkang <yinyongkang@kylinos.cn> - 0.17.1-1
|
* Sat Jul 17 2021 yinyongkang <yinyongkang@kylinos.cn> - 0.17.1-1
|
||||||
- Init Package
|
- Init Package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user