diff --git a/srcpkgs/python-ipython_widgetsnbextension/template b/srcpkgs/python-ipython_widgetsnbextension/template new file mode 100644 index 00000000000..363a9e93865 --- /dev/null +++ b/srcpkgs/python-ipython_widgetsnbextension/template @@ -0,0 +1,26 @@ +# Template file for 'python-ipython_widgetsnbextension' +pkgname=python-ipython_widgetsnbextension +version=1.2.6 +revision=1 +noarch=yes +wrksrc="widgetsnbextension-${version}" +build_style=python-module +pycompile_module="widgetsnbextension" +hostmakedepends="python-setuptools python3-setuptools" +depends="python-jupyter_notebook" +short_desc="Interactive HTML widgets for Jupyter notebooks (Python2)" +maintainer="Alessio Sergi " +homepage="https://github.com/ipython/ipywidgets" +license="3-clause-BSD" +distfiles="${PYPI_SITE}/w/widgetsnbextension/widgetsnbextension-${version}.tar.gz" +checksum=c618cfb32978c9517caf0b4ef3aec312f8dd138577745e7b0d4abfcc7315ce51 + +python3-ipython_widgetsnbextension_package() { + noarch=yes + depends="python3-jupyter_notebook" + pycompile_module="widgetsnbextension" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + } +} diff --git a/srcpkgs/python3-ipython_widgetsnbextension b/srcpkgs/python3-ipython_widgetsnbextension new file mode 120000 index 00000000000..4eaa3f0a4ca --- /dev/null +++ b/srcpkgs/python3-ipython_widgetsnbextension @@ -0,0 +1 @@ +python-ipython_widgetsnbextension \ No newline at end of file