From c1024fa4fc7d3f1f3936fd6317f1403b052f6eca Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 14:09:20 +0100 Subject: [PATCH] New package: python-ipython_ipykernel-4.2.0 --- srcpkgs/python-ipython_ipykernel/template | 33 +++++++++++++++++++++++ srcpkgs/python3.4-ipython_ipykernel | 1 + 2 files changed, 34 insertions(+) create mode 100644 srcpkgs/python-ipython_ipykernel/template create mode 120000 srcpkgs/python3.4-ipython_ipykernel diff --git a/srcpkgs/python-ipython_ipykernel/template b/srcpkgs/python-ipython_ipykernel/template new file mode 100644 index 00000000000..51c7d86e6c0 --- /dev/null +++ b/srcpkgs/python-ipython_ipykernel/template @@ -0,0 +1,33 @@ +# Template file for 'python-ipython_ipykernel' +pkgname=python-ipython_ipykernel +version=4.2.0 +revision=1 +noarch=yes +wrksrc="ipykernel-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-ipython>=4.0.0 python-traitlets python-jupyter_client" +pycompile_module="ipykernel" +short_desc="IPython kernel for Jupyter (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/ipython/ipykernel" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz" +checksum=723b3d4baac20f0c9cd91fc75c3e813636ecb6c6e303fb34d628c3df078985a7 + +post_install() { + vlicense COPYING.md LICENSE +} + +python3.4-ipython_ipykernel_package() { + noarch=yes + depends="python3.4-ipython>=4.0.0 python3.4-traitlets python3.4-jupyter_client" + pycompile_version="3.4" + pycompile_module="ipykernel" + short_desc="${short_desc/Python2/Python3.4}" + pkg_install() { + vmove usr/lib/python3.4 + vlicense COPYING.md LICENSE + } +} diff --git a/srcpkgs/python3.4-ipython_ipykernel b/srcpkgs/python3.4-ipython_ipykernel new file mode 120000 index 00000000000..fd7db802e59 --- /dev/null +++ b/srcpkgs/python3.4-ipython_ipykernel @@ -0,0 +1 @@ +python-ipython_ipykernel \ No newline at end of file