From ead07f1cf75f5b247087a06758c46f764d97c399 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 14:06:00 +0100 Subject: [PATCH] New package: python-jupyter_client-4.1.1 --- srcpkgs/python-jupyter_client/template | 35 ++++++++++++++++++++++++++ srcpkgs/python3.4-jupyter_client | 1 + 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/python-jupyter_client/template create mode 120000 srcpkgs/python3.4-jupyter_client diff --git a/srcpkgs/python-jupyter_client/template b/srcpkgs/python-jupyter_client/template new file mode 100644 index 00000000000..4655f7eef85 --- /dev/null +++ b/srcpkgs/python-jupyter_client/template @@ -0,0 +1,35 @@ +# Template file for 'python-jupyter_client' +pkgname=python-jupyter_client +version=4.1.1 +revision=1 +noarch=yes +wrksrc="jupyter_client-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-traitlets python-jupyter_core python-pyzmq" +pycompile_module="jupyter_client" +short_desc="Jupyter protocol client APIs (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/jupyter/jupyter_client" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz" +checksum=ff1ef5c6c3031a62db46ec6329867b4cb1595e6102a7819b3b5252b0c524bdb8 + +post_install() { + vbin build-3.4/scripts-3.4/jupyter-kernelspec jupyter-kernelspec3.4 + vlicense COPYING.md LICENSE +} + +python3.4-jupyter_client_package() { + noarch=yes + depends="python3.4-traitlets python3.4-jupyter_core python3.4-pyzmq" + pycompile_version="3.4" + pycompile_module="jupyter_client" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/bin/jupyter-kernelspec3.4 + vmove usr/lib/python3.4 + vlicense COPYING.md LICENSE + } +} diff --git a/srcpkgs/python3.4-jupyter_client b/srcpkgs/python3.4-jupyter_client new file mode 120000 index 00000000000..1bbcedc9a15 --- /dev/null +++ b/srcpkgs/python3.4-jupyter_client @@ -0,0 +1 @@ +python-jupyter_client \ No newline at end of file