Группа :: Development/Python3
Пакет: python3-module-sagenb-export
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: python3-module-sagenb-export
Version: 3.4
Release: alt1
Summary: Python interface for convert SageNB Notebooks
Group: Development/Python3
License: GPL-3.0+
Url: https://github.com/vbraun/ExportSageNB.git
Source: %url/archive/%version/ExportSageNB-%version.tar.gz
BuildArch: noarch
BuildPreReq: rpm-build-python3
BuildRequires: python3-module-setuptools python3-module-wheel python3-module-nbformat python3-module-notebook
%description
This is a tool to convert SageNB notebooks to other formats,
in particular IPython/Jupyter notebooks.
%package tests
Summary: Tests for sagenb_export
Group: Development/Python3
%description tests
This is a tool to convert SageNB notebooks to other formats,
in particular IPython/Jupyter notebooks.
This package contains tests.
%prep
%setup -n ExportSageNB-%version
%build
%pyproject_build
%install
%pyproject_install
mv -f %buildroot%python3_sitelibdir_noarch/test/* %buildroot%python3_sitelibdir_noarch/sagenb_export/
%check
export PYTHONPATH=%buildroot%python3_sitelibdir_noarch/sagenb_export/
%__python3 setup.py test
%files
%doc README.md LICENSE
%_bindir/sagenb-export
%dir %python3_sitelibdir_noarch/sagenb_export*/
%python3_sitelibdir_noarch/sagenb_export*/*
%exclude %python3_sitelibdir_noarch/sagenb_export/test_*
%files tests
%dir %python3_sitelibdir_noarch/sagenb_export/
%python3_sitelibdir_noarch/sagenb_export/test_*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 3.4
Release: alt1
Summary: Python interface for convert SageNB Notebooks
Group: Development/Python3
License: GPL-3.0+
Url: https://github.com/vbraun/ExportSageNB.git
Source: %url/archive/%version/ExportSageNB-%version.tar.gz
BuildArch: noarch
BuildPreReq: rpm-build-python3
BuildRequires: python3-module-setuptools python3-module-wheel python3-module-nbformat python3-module-notebook
%description
This is a tool to convert SageNB notebooks to other formats,
in particular IPython/Jupyter notebooks.
%package tests
Summary: Tests for sagenb_export
Group: Development/Python3
%description tests
This is a tool to convert SageNB notebooks to other formats,
in particular IPython/Jupyter notebooks.
This package contains tests.
%prep
%setup -n ExportSageNB-%version
%build
%pyproject_build
%install
%pyproject_install
mv -f %buildroot%python3_sitelibdir_noarch/test/* %buildroot%python3_sitelibdir_noarch/sagenb_export/
%check
export PYTHONPATH=%buildroot%python3_sitelibdir_noarch/sagenb_export/
%__python3 setup.py test
%files
%doc README.md LICENSE
%_bindir/sagenb-export
%dir %python3_sitelibdir_noarch/sagenb_export*/
%python3_sitelibdir_noarch/sagenb_export*/*
%exclude %python3_sitelibdir_noarch/sagenb_export/test_*
%files tests
%dir %python3_sitelibdir_noarch/sagenb_export/
%python3_sitelibdir_noarch/sagenb_export/test_*
%changelog
…
Полный changelog можно просмотреть здесь