Remove sagemath-notebook-export package

This cannot be supported, and is almost certainly broken with python3.
  If anything, should use python2, then could be used on saved notebooks
from when the sagemath package used python1.
This commit is contained in:
pcpa 2019-09-04 17:20:34 -03:00
parent 42e4c38f49
commit c94c404e1d

View file

@ -59,7 +59,6 @@
%global polytopes_db_pkg polytopes_db-20170220 %global polytopes_db_pkg polytopes_db-20170220
%global rubiks_pkg rubiks-20070912 %global rubiks_pkg rubiks-20070912
%global sagenb_pkg sagenb-1.1.2 %global sagenb_pkg sagenb-1.1.2
%global sagenb_export_pkg sagenb_export-3.2
%global sagetex_pkg sagetex-3.2 %global sagetex_pkg sagetex-3.2
%global Sphinx_pkg Sphinx-1.8.5 %global Sphinx_pkg Sphinx-1.8.5
%global singular_pkg singular-4.1.1p3 %global singular_pkg singular-4.1.1p3
@ -668,16 +667,6 @@ Requires: python-jupyter-filesystem
The Sage Notebook is a web-based graphical user interface for The Sage Notebook is a web-based graphical user interface for
mathematical software. mathematical software.
#------------------------------------------------------------------------
%package notebook-export
Summary: The Sage Notebook Exporter
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-notebook = %{version}-%{release}
%description notebook-export
The Sage Notebook Exporter converts SageNB notebooks to other formats,
in particular IPython/Jupyter notebooks.
#------------------------------------------------------------------------ #------------------------------------------------------------------------
%package rubiks %package rubiks
Summary: Several programs for working with Rubik's cubes Summary: Several programs for working with Rubik's cubes
@ -803,11 +792,6 @@ pushd build/pkgs/sagenb
mv %{sagenb_pkg} src mv %{sagenb_pkg} src
popd popd
pushd build/pkgs/sagenb_export
tar zxf ../../../upstream/%{sagenb_export_pkg}.tar.gz
mv %{sagenb_export_pkg} src
popd
pushd build/pkgs/sagetex pushd build/pkgs/sagetex
tar zxf ../../../upstream/%{sagetex_pkg}.tar.gz tar zxf ../../../upstream/%{sagetex_pkg}.tar.gz
mv %{sagetex_pkg} src mv %{sagetex_pkg} src
@ -1059,10 +1043,6 @@ pushd build/pkgs/sagenb/src
%__python3 ./setup.py build %__python3 ./setup.py build
popd popd
pushd build/pkgs/sagenb_export/src
%__python3 ./setup.py build
popd
pushd build/pkgs/sagetex/src pushd build/pkgs/sagetex/src
%__python3 ./setup.py build %__python3 ./setup.py build
popd popd
@ -1166,11 +1146,6 @@ pushd build/pkgs/sagenb/src
ln -sf %{_jsdir}/mathjax %{buildroot}%{python3_sitearch}/sagenb/data/mathjax ln -sf %{_jsdir}/mathjax %{buildroot}%{python3_sitearch}/sagenb/data/mathjax
popd popd
#------------------------------------------------------------------------
pushd build/pkgs/sagenb_export/src
%py3_install
popd
#------------------------------------------------------------------------ #------------------------------------------------------------------------
%if %{with bundled_pexpect} %if %{with bundled_pexpect}
pushd build/pkgs/pexpect/src pushd build/pkgs/pexpect/src
@ -1841,13 +1816,6 @@ rm -fr $DOT_SAGE
%endif %endif
%{_datadir}/jupyter/kernels/sagemath/ %{_datadir}/jupyter/kernels/sagemath/
#------------------------------------------------------------------------
%files notebook-export
# GPL+
%{_bindir}/sagenb-export
%{python3_sitelib}/sagenb_export
%{python3_sitelib}/sagenb_export-*.egg-info
#------------------------------------------------------------------------ #------------------------------------------------------------------------
%files rubiks %files rubiks
# GPL+ # GPL+