forked from pool/python-ipython
Accepting request 1046564 from home:bnavigator:branches:devel:languages:python:jupyter
- Remove the ipythonMAJ.MIN entrypoint * gh#ipython/ipyton#13815 * gh#ipython/ipyton#13880 OBS-URL: https://build.opensuse.org/request/show/1046564 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-ipython?expand=0&rev=103
This commit is contained in:
parent
ace80d5a62
commit
78369b141f
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 14:26:56 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove the ipythonMAJ.MIN entrypoint
|
||||
* gh#ipython/ipyton#13815
|
||||
* gh#ipython/ipyton#13880
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 3 14:03:46 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
@ -161,8 +161,6 @@ popd
|
||||
|
||||
%python_clone -a %{buildroot}%{_bindir}/ipython
|
||||
%python_clone -a %{buildroot}%{_bindir}/ipython3
|
||||
# gh#ipython/ipython#13815
|
||||
%python_expand cp %{buildroot}%{_bindir}/ipython{-%{$python_bin_suffix },%{$python_bin_suffix}}
|
||||
|
||||
# must clone after copy
|
||||
cp %{buildroot}%{_mandir}/man1/ipython{,3}.1
|
||||
@ -205,8 +203,6 @@ $python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}/IP
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# check our fix for https://github.com/ipython/ipython/issues/13815
|
||||
%python_expand ipython%{$python_bin_suffix} --show-config | grep "Python %{$python_version}"
|
||||
export PYTHONPATH=$(pwd)
|
||||
%pytest
|
||||
%endif
|
||||
@ -233,7 +229,6 @@ export PYTHONPATH=$(pwd)
|
||||
%doc README.rst docs/source/about/license_and_copyright.rst
|
||||
%python_alternative %{_bindir}/ipython
|
||||
%python_alternative %{_bindir}/ipython3
|
||||
%{_bindir}/ipython%{python_bin_suffix}
|
||||
%python_alternative %{_mandir}/man1/ipython.1.gz
|
||||
%python_alternative %{_mandir}/man1/ipython3.1.gz
|
||||
%{python_sitelib}/IPython/
|
||||
|
Loading…
Reference in New Issue
Block a user