OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gevent?expand=0&rev=50
This commit is contained in:
parent
c7619ab713
commit
8520fc1a81
@ -78,6 +78,7 @@ out the list of the open source projects based on gevent.
|
||||
Summary: Documentation for %{name}
|
||||
Group: Documentation/Other
|
||||
Provides: %{python_module gevent-doc = %{version}}
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n python-gevent-doc
|
||||
Documentation and examples for %{name}.
|
||||
@ -88,13 +89,11 @@ Documentation and examples for %{name}.
|
||||
%build
|
||||
export LIBEV_EMBED=0
|
||||
export CARES_EMBED=0
|
||||
export GEVENT_NO_CFFI_BUILD=1
|
||||
%python_build
|
||||
|
||||
%install
|
||||
export LIBEV_EMBED=0
|
||||
export CARES_EMBED=0
|
||||
export GEVENT_NO_CFFI_BUILD=1
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
@ -108,6 +107,7 @@ test__socket_ssl.py
|
||||
test___example_servers.py
|
||||
test__socket_dns.py
|
||||
test__getaddrinfo_import.py
|
||||
test__examples.py
|
||||
EOF
|
||||
export GEVENT_RESOLVER=thread
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m gevent.tests --ignore network_tests.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user