Update to 1.5.0.

Move BRs to their respective subpackages.
Update Source URL.
epel9
Thomas Moschny 7 years ago
parent de2bbdbbfb
commit 8c436bb5a2

@ -1,33 +1,17 @@
%global srcname execnet
Name: python-%{srcname}
Version: 1.4.1
Release: 7%{?dist}
Version: 1.5.0
Release: 1%{?dist}
Summary: Elastic Python Deployment
# package is now under the MIT license, (although the docs still say
# otherwise, see https://bitbucket.org/hpk42/execnet/issue/33), and
# one example file (doc/example/sysinfo.py) is GPLv2+
License: MIT and GPLv2+
URL: http://codespeak.net/execnet
Source0: http://pypi.python.org/packages/source/e/%{srcname}/%{srcname}-%{version}.tar.gz
Source0: https://pypi.io/packages/source/e/%{srcname}/%{srcname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-setuptools_scm
BuildRequires: python-apipkg
BuildRequires: pytest
BuildRequires: python-eventlet
BuildRequires: python-gevent >= 1.0
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-apipkg
BuildRequires: python3-pytest
# these do not exist
#BuildRequires: python3-eventlet
#BuildRequires: python3-gevent
BuildRequires: python-sphinx
BuildRequires: /bin/ps
BuildRequires: %{_bindir}/ps
%description
execnet provides a share-nothing model with channel-send/receive
@ -42,9 +26,17 @@ minimal and fast API targetting the following uses:
%package -n python2-%{srcname}
Summary: Elastic Python Deployment
%{?python_provide:%python_provide python2-%{srcname}}
BuildRequires: python2-devel
BuildRequires: python2-setuptools
BuildRequires: python2-setuptools_scm
BuildRequires: python2-apipkg
BuildRequires: python2-pytest
BuildRequires: python2-eventlet
BuildRequires: python2-gevent >= 1.0
BuildRequires: %{_bindir}/sphinx-build-2
Requires: python2-setuptools
Requires: python-apipkg
Requires: python2-apipkg
%{?python_provide:%python_provide python2-%{srcname}}
%description -n python2-%{srcname}
execnet provides a share-nothing model with channel-send/receive
@ -59,9 +51,17 @@ minimal and fast API targetting the following uses:
%package -n python3-%{srcname}
Summary: Elastic Python Deployment
%{?python_provide:%python_provide python3-%{srcname}}
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-setuptools_scm
BuildRequires: python3-apipkg
BuildRequires: python3-pytest
#BuildRequires: python3-eventlet
#BuildRequires: python3-gevent
BuildRequires: %{_bindir}/sphinx-build-3
Requires: python3-setuptools
Requires: python3-apipkg
%{?python_provide:%python_provide python3-%{srcname}}
%description -n python3-%{srcname}
execnet provides a share-nothing model with channel-send/receive
@ -92,12 +92,12 @@ cp -a python2 python3
SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
pushd python2
%py2_build
make -C doc html
make -C doc html PYTHONPATH=$(pwd) SPHINXBUILD=sphinx-build-2
popd
pushd python3
%py3_build
make -C doc html
make -C doc html PYTHONPATH=$(pwd) SPHINXBUILD=sphinx-build-3
popd
@ -119,33 +119,42 @@ popd
%check
pushd python2
PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" \
py.test-%{python2_version} -r s -k'-test_stdouterrin_setnull' testing
py.test-%{python2_version} -r s \
-k 'not test_stdouterrin_setnull' \
testing
popd
pushd python3
PYTHONPATH=$(pwd) LC_ALL="en_US.UTF-8" \
py.test-%{python3_version} -r s -k'-test_stdouterrin_setnull' testing
py.test-%{python3_version} -r s \
-k 'not test_stdouterrin_setnull' \
testing
popd
%files -n python2-%{srcname}
%{python2_sitelib}/%{srcname}*
%doc python2/README.txt
%doc python2/CHANGELOG
%doc python2/README.rst
%doc python2/CHANGELOG.rst
%doc python2/doc/_build/html
%license python2/LICENSE
%files -n python3-%{srcname}
%{python3_sitelib}/%{srcname}*
%doc python3/README.txt
%doc python3/CHANGELOG
%doc python3/README.rst
%doc python3/CHANGELOG.rst
%doc python3/doc/_build/html
%license python3/LICENSE
%doc python3/LICENSE
%changelog
* Sat Nov 18 2017 Thomas Moschny <thomas.moschny@gmx.de> - 1.5.0-1
- Update to 1.5.0.
- Move BRs to their respective subpackages.
- Update Source URL.
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

@ -1 +1 @@
0ff84b6c79d0dafb7e2971629c4d127a execnet-1.4.1.tar.gz
SHA512 (execnet-1.5.0.tar.gz) = ca2b571fafdf8f68b3cc7a04ee326e3255828d4cde28ead65d0cef325569c3a6dee09359e525152248038de65326ffc6b75c8362f53aa5c0b3f736eb596cb2d9

Loading…
Cancel
Save