Accepting request 674526 from devel:languages:python
- Distribute again the .c files as they are needed by parts of the py app rh#1639457 - Do not distribute the tests OBS-URL: https://build.opensuse.org/request/show/674526 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvloop?expand=0&rev=3
This commit is contained in:
commit
839d2d2242
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 13 12:24:56 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Distribute again the .c files as they are needed by parts
|
||||
of the py app rh#1639457
|
||||
- Do not distribute the tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 25 12:22:16 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-uvloop
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 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
|
||||
@ -48,8 +48,6 @@ under the hood.
|
||||
sed -i -e "/self.cython_always/s/False/True/" setup.py
|
||||
# use system libuv
|
||||
sed -i -e "/self.use_system_libuv/s/False/True/" setup.py
|
||||
# No need to ship .c files
|
||||
sed -i -e "/include_package_data=True/d" setup.py
|
||||
# To be sure, no 3rd-party stuff
|
||||
rm -vrf vendor/
|
||||
|
||||
@ -59,6 +57,9 @@ rm -vrf vendor/
|
||||
%install
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
# https://github.com/MagicStack/uvloop/issues/70
|
||||
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/_testbase.py
|
||||
%python_expand rm -vf %{buildroot}%{$python_sitearch}/%{modname}/__pycache__/_testbase.*
|
||||
|
||||
%check
|
||||
# Actually the tests are VERY flaky, thus continue even if they fail :(
|
||||
|
Loading…
Reference in New Issue
Block a user