From 3076a8ecaada492773b54712e43791d1ff731a74 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 2 Dec 2015 14:13:01 +0100 Subject: [PATCH] New package: python-ipython_ipywidgets-4.1.1 --- srcpkgs/python-ipython_ipywidgets/template | 35 ++++++++++++++++++++++ srcpkgs/python3.4-ipython_ipywidgets | 1 + 2 files changed, 36 insertions(+) create mode 100644 srcpkgs/python-ipython_ipywidgets/template create mode 120000 srcpkgs/python3.4-ipython_ipywidgets diff --git a/srcpkgs/python-ipython_ipywidgets/template b/srcpkgs/python-ipython_ipywidgets/template new file mode 100644 index 00000000000..cf1e3873570 --- /dev/null +++ b/srcpkgs/python-ipython_ipywidgets/template @@ -0,0 +1,35 @@ +# Template file for 'python-ipython_ipywidgets' +pkgname=python-ipython_ipywidgets +version=4.1.1 +revision=1 +noarch=yes +wrksrc="ipywidgets-${version}" +build_style=python-module +python_versions="2.7 3.4" +hostmakedepends="python-setuptools python3.4-setuptools" +depends="python-ipython>=4.0.0 python-ipython_ipykernel python-traitlets + python-jupyter_notebook" +pycompile_module="ipywidgets" +short_desc="IPython widgets for the Jupyter notebook (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/ipython/ipywidgets" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz" +checksum=ceeb325e45ade9537c2d115fed9d522e5c6e90bb161592e2f0807375dc661028 + +post_install() { + vlicense COPYING.md LICENSE +} + +python3.4-ipython_ipywidgets_package() { + noarch=yes + depends="python3.4-ipython>=4.0.0 python3.4-ipython_ipykernel + python3.4-traitlets python3.4-jupyter_notebook" + pycompile_version="3.4" + pycompile_module="ipywidgets" + 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_ipywidgets b/srcpkgs/python3.4-ipython_ipywidgets new file mode 120000 index 00000000000..598202d8b9d --- /dev/null +++ b/srcpkgs/python3.4-ipython_ipywidgets @@ -0,0 +1 @@ +python-ipython_ipywidgets \ No newline at end of file