|
|
|
@ -1,15 +1,15 @@
|
|
|
|
|
%global srcname execnet
|
|
|
|
|
|
|
|
|
|
Name: python-%{srcname}
|
|
|
|
|
Version: 1.7.1
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.8.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Distributed Python deployment and communication
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://github.com/pytest-dev/execnet
|
|
|
|
|
Source0: %pypi_source
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: %{_bindir}/ps
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -30,8 +30,9 @@ BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-setuptools_scm
|
|
|
|
|
BuildRequires: python3-apipkg
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
#BuildRequires: python3-eventlet
|
|
|
|
|
#BuildRequires: python3-gevent
|
|
|
|
|
BuildRequires: python3-eventlet
|
|
|
|
|
BuildRequires: python3-gevent
|
|
|
|
|
BuildRequires: python3-pytest-timeout
|
|
|
|
|
BuildRequires: %{_bindir}/sphinx-build-3
|
|
|
|
|
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
|
|
|
|
|
|
@ -68,10 +69,15 @@ SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTEST_SELECT='not test_popen_io[gevent-sys.executable]'
|
|
|
|
|
PYTEST_SELECT+=' and not [gevent-socket]'
|
|
|
|
|
PYTEST_SELECT+=' and not [eventlet-socket]'
|
|
|
|
|
PYTEST_SELECT+=' and not [python2.7]'
|
|
|
|
|
PYTHONPATH=$(pwd) \
|
|
|
|
|
py.test-%{python3_version} -r s \
|
|
|
|
|
-k 'not test_stdouterrin_setnull' \
|
|
|
|
|
testing
|
|
|
|
|
-k "$PYTEST_SELECT" \
|
|
|
|
|
testing \
|
|
|
|
|
--timeout=30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{srcname}
|
|
|
|
@ -83,6 +89,9 @@ py.test-%{python3_version} -r s \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat May 8 2021 Thomas Moschny <thomas.moschny@gmx.de> - 1.8.0-1
|
|
|
|
|
- Update to 1.8.0.
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.1-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|