diff --git a/jupytext-1.15.2.tar.gz b/jupytext-1.15.2.tar.gz deleted file mode 100644 index bae9ec0b4ac3cbf6cb8cc83c52fe3b6d4be0ffdc..0000000000000000000000000000000000000000 Binary files a/jupytext-1.15.2.tar.gz and /dev/null differ diff --git a/jupytext-1.16.3.tar.gz b/jupytext-1.16.3.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3689dc57ec104254f674350c43e9ced68e21ab43 Binary files /dev/null and b/jupytext-1.16.3.tar.gz differ diff --git a/python-jupytext.spec b/python-jupytext.spec index ba2aa18b71745027347bfa0baa91c892b08935d1..4e6133569824b4c1ef8f3645d2ee20484e52a3c6 100644 --- a/python-jupytext.spec +++ b/python-jupytext.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-jupytext -Version: 1.15.2 +Version: 1.16.3 Release: 1 Summary: Jupyter notebooks as Markdown documents, Julia, Python or R scripts. License: MIT URL: https://github.com/mwouts/jupytext -Source0: https://files.pythonhosted.org/packages/c2/fe/48eaa55a525a6827989a2ce7d85c3131eb2c4a8eac6a133591ebb4ee5085/jupytext-1.15.2.tar.gz +Source0: https://files.pythonhosted.org/packages/15/5c/d795ff51608176c418d8416a697ce5370a819120406a4c6e1a91c602c5a0/jupytext-1.16.3.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -47,10 +47,8 @@ sed -i 's/\~=/\>=/g' pyproject.toml %pyproject_install install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_notebook_config.d install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/jupyter_server_config.d -install -m 0755 -p -d %{buildroot}%{_sysconfdir}/jupyter/nbconfig/notebook.d mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_notebook_config.d/jupytext.json mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/jupyter_server_config.d/jupytext.json -mv -v %{buildroot}{%{_prefix},}%{_sysconfdir}/jupyter/nbconfig/notebook.d/jupytext.json install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -61,6 +59,7 @@ touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi +find usr/lib/ -name "__pycache__"|xargs rm -rf popd mv %{buildroot}/doclist.lst . @@ -71,15 +70,24 @@ mv %{buildroot}/doclist.lst . %{_bindir}/jupytext-config %config(noreplace) %{_sysconfdir}/jupyter/jupyter_notebook_config.d/jupytext.json %config(noreplace) %{_sysconfdir}/jupyter/jupyter_server_config.d/jupytext.json -%config(noreplace) %{_sysconfdir}/jupyter/nbconfig/notebook.d/jupytext.json -%{_datadir}/jupyter/nbextensions/jupytext/ +%{_datadir}/jupyter/labextensions/* %{python3_sitelib}/jupytext %{python3_sitelib}/jupytext*.dist-info/ +%{python3_sitelib}/jupyterlab_jupytext +%{python3_sitelib}/jupyterlab_jupytext/* +%{python3_sitelib}/jupytext_config +%{python3_sitelib}/jupytext_config/* + %files help -f doclist.lst %{_docdir}/* %changelog +* Tue Jul 23 2024 zhaoshuang - 1.16.3-1 +- Upgrade to version 1.16.3 + Fixes a compatibility issue with jupyter-fs==1.0.0 + Fixes some typo and issue + * Wed Nov 29 2023 Dongxing Wang - 1.15.2-1 - Init package