From 8c20752202d4a20069fca708897acb2463b91dc3 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 14:07:00 +0100 Subject: [PATCH] New package: python-jupyter_nbformat-4.0.1 --- srcpkgs/python-jupyter_nbformat/template | 36 ++++++++++++++++++++++++ srcpkgs/python3.4-jupyter_nbformat | 1 + 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/python-jupyter_nbformat/template create mode 120000 srcpkgs/python3.4-jupyter_nbformat diff --git a/srcpkgs/python-jupyter_nbformat/template b/srcpkgs/python-jupyter_nbformat/template new file mode 100644 index 00000000000..f410da99264 --- /dev/null +++ b/srcpkgs/python-jupyter_nbformat/template @@ -0,0 +1,36 @@ +# Template file for 'python-jupyter_nbformat' +pkgname=python-jupyter_nbformat +version=4.0.1 +revision=1 +noarch=yes +wrksrc="nbformat-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-jsonschema python-ipython_genutils python-traitlets python-jupyter_core" +pycompile_module="nbformat" +short_desc="The Jupyter notebook format (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/jupyter/nbformat" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/n/nbformat/nbformat-${version}.tar.gz" +checksum=5261c957589b9dfcd387c338d59375162ba9ca82c69e378961a1f4e641285db5 + +post_install() { + vbin build-3.4/scripts-3.4/jupyter-trust jupyter-trust3.4 + vlicense COPYING.md LICENSE +} + +python3.4-jupyter_nbformat_package() { + noarch=yes + depends="python3.4-jsonschema python3.4-ipython_genutils python3.4-traitlets + python3.4-jupyter_core" + pycompile_version="3.4" + pycompile_module="nbformat" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/bin/jupyter-trust3.4 + vmove usr/lib/python3.4 + vlicense COPYING.md LICENSE + } +} diff --git a/srcpkgs/python3.4-jupyter_nbformat b/srcpkgs/python3.4-jupyter_nbformat new file mode 120000 index 00000000000..fcc839dfa33 --- /dev/null +++ b/srcpkgs/python3.4-jupyter_nbformat @@ -0,0 +1 @@ +python-jupyter_nbformat \ No newline at end of file