forked from pool/python-eventlet
Accepting request 54438 from home:seife:openstack
OBS-URL: https://build.opensuse.org/request/show/54438 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-eventlet?expand=0&rev=1
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
eventlet-0.9.9.tar.gz
Normal file
3
eventlet-0.9.9.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0fa685b4a0ea4e90c99b04452096441b44bc176fd4fd48e2f659fa49ebd9899f
|
||||
size 233549
|
5
python-eventlet.changes
Normal file
5
python-eventlet.changes
Normal file
@@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 26 14:44:42 UTC 2010 - seife+obs@b1-systems.com
|
||||
|
||||
- initial package (version 0.9.9)
|
||||
|
73
python-eventlet.spec
Normal file
73
python-eventlet.spec
Normal file
@@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package python-eventlet (Version 0.9.9)
|
||||
#
|
||||
# Copyright (c) 2010 B1 Systems GmbH, Vohburg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# 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
|
||||
# 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
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# norootforbuild
|
||||
Name: python-eventlet
|
||||
Version: 0.9.9
|
||||
Release: 1
|
||||
Summary: Highly concurrent networking library
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
URL: http://eventlet.net
|
||||
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
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
# py_requires is no longer needed since 11.3
|
||||
%{py_requires}
|
||||
|
||||
Requires: python-greenlet
|
||||
|
||||
%description
|
||||
Eventlet is a networking library written in Python. It achieves high
|
||||
scalability by using non-blocking io while at the same time retaining
|
||||
high programmer usability by using coroutines to make the non-blocking
|
||||
io operations appear blocking at the source code level.
|
||||
|
||||
%package doc
|
||||
Summary: Documentation for %{name}
|
||||
Group: Development/Libraries/Python
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Documentation for the python-eventlet package.
|
||||
|
||||
%prep
|
||||
%setup -q -n eventlet-%{version}
|
||||
# find -name '.*' -type f -exec rm {} \;
|
||||
|
||||
%build
|
||||
%{__python} setup.py build
|
||||
pushd doc
|
||||
make html
|
||||
rm _build/html/.buildinfo
|
||||
popd
|
||||
chmod a-x tests/mock.py
|
||||
|
||||
%install
|
||||
#%%{__python} setup.py install -O1 --skip-build --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
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/_build/html examples tests
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user