forked from pool/python-aioeventlet
Accepting request 606165 from devel:languages:python:singlespec-staging
- singlespec auto-conversion - add COPYING to doc section - Add missing Requires - Initial package OBS-URL: https://build.opensuse.org/request/show/606165 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aioeventlet?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
743e9b02d8
commit
3fb25b879b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 24 13:32:39 UTC 2017 - jmatejek@suse.com
|
||||
|
||||
- singlespec auto-conversion
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 7 08:51:32 UTC 2015 - dmueller@suse.com
|
||||
|
||||
@@ -13,3 +18,4 @@ Sat May 16 14:08:29 UTC 2015 - dmueller@suse.com
|
||||
|
||||
- Initial package
|
||||
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-aioeventlet
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-aioeventlet
|
||||
Version: 0.4
|
||||
Release: 0
|
||||
@@ -23,16 +24,14 @@ Summary: asyncio event loop scheduling callbacks in eventlet
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://aioeventlet.readthedocs.org/
|
||||
Source: https://pypi.python.org/packages/source/a/aioeventlet/aioeventlet-%{version}.tar.gz
|
||||
BuildRequires: python-devel
|
||||
Source: https://files.pythonhosted.org/packages/source/a/aioeventlet/aioeventlet-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-eventlet
|
||||
Requires: python-trollius >= 0.3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
aioeventlet implements the asyncio API (PEP 3156) on top of eventlet. It makes
|
||||
@@ -52,12 +51,12 @@ parallel.
|
||||
%setup -q -n aioeventlet-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING
|
||||
%{python_sitelib}/*
|
||||
|
||||
Reference in New Issue
Block a user