update latest version
This commit is contained in:
parent
0c83d31fa6
commit
f3cd49d7f1
Binary file not shown.
BIN
eventlet-0.30.0.tar.gz
Normal file
BIN
eventlet-0.30.0.tar.gz
Normal file
Binary file not shown.
@ -1,119 +1,78 @@
|
|||||||
Name: python-eventlet
|
%global _empty_manifest_terminate_build 0
|
||||||
Version: 0.23.0
|
Name: python-eventlet
|
||||||
Release: 3
|
Version: 0.30.0
|
||||||
Summary: Highly concurrent networking library
|
Release: 1
|
||||||
License: MIT
|
Summary: Highly concurrent networking library
|
||||||
URL: http://eventlet.net
|
License: MIT License
|
||||||
Source0: https://files.pythonhosted.org/packages/72/c5/3f028be460dd4b425b27afd88e3a7380ecb3542a9968271a38ae15682a19/eventlet-0.23.0.tar.gz
|
URL: https://github.com/eventlet/eventlet
|
||||||
Patch0: https://github.com/eventlet/eventlet/pull/506.patch#/python37.patch
|
Source0: https://files.pythonhosted.org/packages/0c/dd/cda72b013472d570f9d5670b9260a6d6491829bd4b7697829e8591a24168/eventlet-0.30.0.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildArch: noarch
|
Requires: python3-dnspython
|
||||||
|
Requires: python3-greenlet
|
||||||
|
Requires: python3-six
|
||||||
|
Requires: python3-monotonic
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Eventlet is a concurrent networking library for Python that allows you
|
Concurrent networking library for Python
|
||||||
to change how you run your code, not how you write it.
|
|
||||||
|
|
||||||
It uses epoll or libevent for highly scalable non-blocking I/O.
|
%package -n python3-eventlet
|
||||||
Coroutines ensure that the developer uses a blocking style of programming
|
Summary: Highly concurrent networking library
|
||||||
that is similar to threading, but provide the benefits of non-blocking I/O.
|
Provides: python-eventlet
|
||||||
The event dispatch is implicit, which means you can easily use Eventlet
|
BuildRequires: python3-devel
|
||||||
from the Python interpreter, or as a small part of a larger application.
|
BuildRequires: python3-setuptools
|
||||||
|
%description -n python3-eventlet
|
||||||
|
Concurrent networking library for Python
|
||||||
|
|
||||||
%package -n python2-eventlet
|
%package help
|
||||||
Summary: Highly concurrent networking library
|
Summary: Development documents and examples for eventlet
|
||||||
BuildRequires: python2-devel python2-setuptools python2-nose python2-greenlet python2-pyOpenSSL
|
Provides: python3-eventlet-doc
|
||||||
Requires: python2-greenlet python2-enum34
|
%description help
|
||||||
%python_provide python2-eventlet
|
Concurrent networking library for Python
|
||||||
|
|
||||||
%description -n python2-eventlet
|
|
||||||
ntlet is a concurrent networking library for Python that allows you
|
|
||||||
to change how you run your code, not how you write it.
|
|
||||||
|
|
||||||
It uses epoll or libevent for highly scalable non-blocking I/O.
|
|
||||||
Coroutines ensure that the developer uses a blocking style of programming
|
|
||||||
that is similar to threading, but provide the benefits of non-blocking I/O.
|
|
||||||
The event dispatch is implicit, which means you can easily use Eventlet
|
|
||||||
from the Python interpreter, or as a small part of a larger application.
|
|
||||||
|
|
||||||
%package -n python3-eventlet
|
|
||||||
Summary: Highly concurrent networking library
|
|
||||||
BuildArch: noarch
|
|
||||||
BuildRequires: python3-devel python3-setuptools python3-nose python3-greenlet python3-pyOpenSSL
|
|
||||||
Requires: python3-greenlet
|
|
||||||
%python_provide python3-eventlet
|
|
||||||
|
|
||||||
%description -n python3-eventlet
|
|
||||||
ntlet is a concurrent networking library for Python that allows you
|
|
||||||
to change how you run your code, not how you write it.
|
|
||||||
|
|
||||||
It uses epoll or libevent for highly scalable non-blocking I/O.
|
|
||||||
Coroutines ensure that the developer uses a blocking style of programming
|
|
||||||
that is similar to threading, but provide the benefits of non-blocking I/O.
|
|
||||||
The event dispatch is implicit, which means you can easily use Eventlet
|
|
||||||
from the Python interpreter, or as a small part of a larger application.
|
|
||||||
|
|
||||||
%package -n python2-eventlet-help
|
|
||||||
Summary: Documentation for python2-eventlet
|
|
||||||
BuildRequires: python2-sphinx python2-zmq
|
|
||||||
%python_provide python2-eventlet-help
|
|
||||||
Provides: python2-eventlet-doc = %{version}-%{release}
|
|
||||||
Obsoletes: python2-eventlet-doc < %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python2-eventlet-help
|
|
||||||
Documentation for python2-eventlet
|
|
||||||
|
|
||||||
%package -n python3-eventlet-help
|
|
||||||
Summary: Documentation for python3-eventlet
|
|
||||||
BuildRequires: python3-sphinx python3-zmq
|
|
||||||
Provides: python3-eventlet-doc = %{version}-%{release}
|
|
||||||
Obsoletes: python3-eventlet-doc < %{version}-%{release}
|
|
||||||
|
|
||||||
%description -n python3-eventlet-help
|
|
||||||
Documentation for python3-eventlet
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n eventlet-%{version} -p1
|
%autosetup -n eventlet-0.30.0
|
||||||
rm -vrf *.egg-info
|
|
||||||
sed -i "/'enum-compat',/d" setup.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
export PYTHONPATH=$(pwd)
|
|
||||||
sphinx-build-%{python2_version} -b html -d doctrees doc html-2
|
|
||||||
sphinx-build-%{python3_version} -b html -d doctrees doc html-3
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
|
||||||
rm -rf %{buildroot}/%{python2_sitelib}/eventlet/green/http/{cookiejar,client}.py
|
|
||||||
%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-eventlet -f filelist.lst
|
||||||
nosetests-%{python3_version} -v
|
%dir %{python3_sitelib}/*
|
||||||
|
|
||||||
%files -n python2-eventlet
|
%files help -f doclist.lst
|
||||||
%exclude %{python2_sitelib}/tests
|
%{_docdir}/*
|
||||||
%exclude %{python3_sitelib}/tests
|
|
||||||
%doc README.rst AUTHORS LICENSE NEWS
|
|
||||||
%license LICENSE
|
|
||||||
%{python2_sitelib}/eventlet/
|
|
||||||
%{python2_sitelib}/eventlet-*.egg-info/
|
|
||||||
|
|
||||||
%files -n python3-eventlet
|
|
||||||
%doc README.rst AUTHORS LICENSE NEWS
|
|
||||||
%license LICENSE
|
|
||||||
%{python3_sitelib}/eventlet/
|
|
||||||
%{python3_sitelib}/eventlet-*.egg-info/
|
|
||||||
|
|
||||||
%files -n python2-eventlet-help
|
|
||||||
%license LICENSE
|
|
||||||
%doc html-2
|
|
||||||
|
|
||||||
%files -n python3-eventlet-help
|
|
||||||
%license LICENSE
|
|
||||||
%doc html-3
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 15 2021 Python_Bot <Python_Bot@openeuler.org>
|
||||||
|
- Package Spec generated
|
||||||
|
|
||||||
* Thu Mar 12 2020 zoushuangshuang <zoushuangshuang@huawei.com> - 0.23.0-3
|
* Thu Mar 12 2020 zoushuangshuang <zoushuangshuang@huawei.com> - 0.23.0-3
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user