forked from pool/jupyter-imatlab
Accepting request 1046628 from devel:languages:python:jupyter
- Remove invalid version requirement from python metadata * gh#imatlab/imatlab#65 OBS-URL: https://build.opensuse.org/request/show/1046628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/jupyter-imatlab?expand=0&rev=6
This commit is contained in:
commit
706ea5a3fb
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 18:11:36 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove invalid version requirement from python metadata
|
||||
* gh#imatlab/imatlab#65
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 3 23:26:54 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package jupyter-imatlab
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -68,10 +68,12 @@ mkdir matlab
|
||||
echo 'EngineError = MatlabExecutionError = Exception' > matlab/engine.py
|
||||
|
||||
%install
|
||||
%{python_expand mkdir build; cp -a %{SOURCE0} build/}
|
||||
%pyproject_install
|
||||
%pyproject_install %{SOURCE0}
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m imatlab install --prefix %{buildroot}%{_prefix}
|
||||
cp %{buildroot}%{python3_sitelib}/imatlab-%{version}.dist-info/LICENSE.txt .
|
||||
# not available during install, not a proper PEP440 version information -- gh#imatlab/imatlab#65
|
||||
sed -i '/Requires-Dist: matlabengineforpython.*R/d' \
|
||||
%{buildroot}%{python3_sitelib}/imatlab-%{version}.dist-info/METADATA
|
||||
%fdupes %{buildroot}%{python3_sitelib}
|
||||
|
||||
%check
|
||||
|
Loading…
Reference in New Issue
Block a user