From 165786e47dadd9d3587b0a4395a789afc80bf0ca Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 14:08:14 +0100 Subject: [PATCH] New package: python-jupyter_nbconvert-4.1.0 --- srcpkgs/python-jupyter_nbconvert/INSTALL.msg | 2 + .../python3.4-jupyter_nbconvert.INSTALL.msg | 2 + srcpkgs/python-jupyter_nbconvert/template | 37 +++++++++++++++++++ srcpkgs/python3.4-jupyter_nbconvert | 1 + 4 files changed, 42 insertions(+) create mode 100644 srcpkgs/python-jupyter_nbconvert/INSTALL.msg create mode 100644 srcpkgs/python-jupyter_nbconvert/python3.4-jupyter_nbconvert.INSTALL.msg create mode 100644 srcpkgs/python-jupyter_nbconvert/template create mode 120000 srcpkgs/python3.4-jupyter_nbconvert diff --git a/srcpkgs/python-jupyter_nbconvert/INSTALL.msg b/srcpkgs/python-jupyter_nbconvert/INSTALL.msg new file mode 100644 index 00000000000..9031810f68d --- /dev/null +++ b/srcpkgs/python-jupyter_nbconvert/INSTALL.msg @@ -0,0 +1,2 @@ +To convert notebooks to formats other than HTML and markdown install +python-Sphinx and/or pandoc. diff --git a/srcpkgs/python-jupyter_nbconvert/python3.4-jupyter_nbconvert.INSTALL.msg b/srcpkgs/python-jupyter_nbconvert/python3.4-jupyter_nbconvert.INSTALL.msg new file mode 100644 index 00000000000..38eb9520d74 --- /dev/null +++ b/srcpkgs/python-jupyter_nbconvert/python3.4-jupyter_nbconvert.INSTALL.msg @@ -0,0 +1,2 @@ +To convert notebooks to formats other than HTML and markdown install +python3.4-Sphinx and/or pandoc. diff --git a/srcpkgs/python-jupyter_nbconvert/template b/srcpkgs/python-jupyter_nbconvert/template new file mode 100644 index 00000000000..f830b063c3f --- /dev/null +++ b/srcpkgs/python-jupyter_nbconvert/template @@ -0,0 +1,37 @@ +# Template file for 'python-jupyter_nbconvert' +pkgname=python-jupyter_nbconvert +version=4.1.0 +revision=1 +noarch=yes +wrksrc="nbconvert-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-mistune python-Jinja2 python-Pygments python-traitlets + python-jupyter_core python-jupyter_nbformat" +pycompile_module="nbconvert" +short_desc="Converting Jupyter notebooks (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/jupyter/nbconvert" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/n/nbconvert/nbconvert-${version}.tar.gz" +checksum=e0296e45293dd127d028f678e3b6aba3f1db3283a134178bdb49eea402d4cf1c + +post_install() { + vbin build-3.4/scripts-3.4/jupyter-nbconvert jupyter-nbconvert3.4 + vlicense COPYING.md LICENSE +} + +python3.4-jupyter_nbconvert_package() { + noarch=yes + depends="python3.4-mistune python3.4-Jinja2 python3.4-Pygments + python3.4-traitlets python3.4-jupyter_core python3.4-jupyter_nbformat" + pycompile_version="3.4" + pycompile_module="nbconvert" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/bin/jupyter-nbconvert3.4 + vmove usr/lib/python3.4 + vlicense COPYING.md LICENSE + } +} diff --git a/srcpkgs/python3.4-jupyter_nbconvert b/srcpkgs/python3.4-jupyter_nbconvert new file mode 120000 index 00000000000..441bbee041a --- /dev/null +++ b/srcpkgs/python3.4-jupyter_nbconvert @@ -0,0 +1 @@ +python-jupyter_nbconvert \ No newline at end of file