Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37838345
en ru br
ALT Linux repos
S:3.4-alt1

Group :: Development/Python3
RPM: python3-module-sagenb-export

 Main   Changelog   Spec   Patches   Sources   Download   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

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin