Accepting request 758756 from home:bmwiedemann:branches:devel:languages:python:jupyter
Use pyproject_install macro (boo#1094323) OBS-URL: https://build.opensuse.org/request/show/758756 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/jupyter-imatlab?expand=0&rev=9
This commit is contained in:
parent
3d0d55ef56
commit
4b0e5c35da
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 21 19:07:20 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Use pyproject_install macro (boo#1094323)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 13 19:27:03 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
Wed Nov 13 19:27:03 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define pythons python3
|
||||||
%bcond_without test
|
%bcond_without test
|
||||||
Name: jupyter-imatlab
|
Name: jupyter-imatlab
|
||||||
Version: 0.4
|
Version: 0.4
|
||||||
@ -60,8 +61,10 @@ mkdir matlab
|
|||||||
echo 'EngineError = MatlabExecutionError = Exception' > matlab/engine.py
|
echo 'EngineError = MatlabExecutionError = Exception' > matlab/engine.py
|
||||||
|
|
||||||
%install
|
%install
|
||||||
# use --no-deps because it looks for MATLAB itself
|
cp -a %{SOURCE0} .
|
||||||
pip%{python3_bin_suffix} install --root %{buildroot} --prefix %{_prefix} --no-compile --no-deps %{SOURCE0}
|
%pyproject_install
|
||||||
|
# avoid time-based .pyc files for reproducibility:
|
||||||
|
%py3_compile %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m imatlab install --prefix %{buildroot}%{_prefix}
|
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m imatlab install --prefix %{buildroot}%{_prefix}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user