forked from pool/python-eventlet
- Update to version 0.9.16:
* No upstream changes - Don't package unittests - Fix non-executable script rpmlint warning OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
bbb357297b
commit
1d37d563ce
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:219207d165176b12565e7f8f40aaadb2965814ce5935dba1097083d0f183bf28
|
|
||||||
size 315519
|
|
3
eventlet-0.9.16.tar.gz
Normal file
3
eventlet-0.9.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b2d38084809b2f2a8e3cc5815b10912870cdbe97d9a4e5c1ff231ebc8da0e430
|
||||||
|
size 317198
|
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 2 11:36:04 UTC 2011 - saschpe@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.9.16:
|
||||||
|
* No upstream changes
|
||||||
|
- Don't package unittests
|
||||||
|
- Fix non-executable script rpmlint warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 2 14:13:32 CET 2011 - berendt@b1-systems.de
|
Wed Feb 2 14:13:32 CET 2011 - berendt@b1-systems.de
|
||||||
|
|
||||||
|
@@ -1,73 +1,80 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-eventlet
|
# spec file for package python-eventlet
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010-2011 B1 Systems GmbH, Vohburg, Germany.
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
# upon. The license for this file, and modifications and additions to the
|
# upon. The license for this file, and modifications and additions to the
|
||||||
# file, is the same license as for the pristine package itself (unless the
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
# license for the pristine package is not an Open Source License, in which
|
# license for the pristine package is not an Open Source License, in which
|
||||||
# case the license is the MIT License). An "O2en Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
Name: python-eventlet
|
Name: python-eventlet
|
||||||
Version: 0.9.14
|
Version: 0.9.16
|
||||||
Release: 1
|
Release: 0
|
||||||
|
Url: http://eventlet.net
|
||||||
Summary: Highly concurrent networking library
|
Summary: Highly concurrent networking library
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://eventlet.net
|
Source: http://pypi.python.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
|
||||||
Source0: http://pypi.python.org/packages/source/e/eventlet/eventlet-%{version}.tar.gz
|
|
||||||
BuildRequires: python-devel python-setuptools
|
|
||||||
BuildRequires: python-sphinx python-greenlet
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: python-devel
|
||||||
|
BuildRequires: python-distribute
|
||||||
|
BuildRequires: python-greenlet
|
||||||
|
BuildRequires: python-Sphinx
|
||||||
|
Requires: python-greenlet
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
%py_requires
|
||||||
%if 0%{?suse_version} > 1110
|
%if 0%{?suse_version} > 1110
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%endif
|
||||||
# py_requires is no longer needed since 11.3
|
%endif
|
||||||
%{py_requires}
|
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
|
||||||
Requires: python-greenlet
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Eventlet is a networking library written in Python. It achieves high
|
Eventlet is a concurrent networking library for Python that allows you to
|
||||||
scalability by using non-blocking io while at the same time retaining
|
change how you run your code, not how you write it.
|
||||||
high programmer usability by using coroutines to make the non-blocking
|
|
||||||
io operations appear blocking at the source code level.
|
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 doc
|
%package doc
|
||||||
Summary: Documentation for %{name}
|
Summary: Highly concurrent networking library - Documentation
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description doc
|
%description doc
|
||||||
Documentation for the python-eventlet package.
|
Documentation for the python-eventlet package.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n eventlet-%{version}
|
%setup -q -n eventlet-%{version}
|
||||||
# find -name '.*' -type f -exec rm {} \;
|
sed -i "1d" eventlet/support/greendns.py # Fix non-executable script
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__python} setup.py build
|
python setup.py build
|
||||||
pushd doc
|
pushd doc
|
||||||
make html
|
make html && rm _build/html/.buildinfo
|
||||||
rm _build/html/.buildinfo
|
|
||||||
popd
|
popd
|
||||||
chmod a-x tests/mock.py
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#%%{__python} setup.py install -O1 --skip-build --root %%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%{__python} setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
|
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS LICENSE NEWS README README.twisted
|
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/_build/html examples tests
|
%doc doc/_build/html examples
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS LICENSE NEWS README README.twisted
|
||||||
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user