New package: python-jupyter_ipywidgets-7.0.1
This commit is contained in:
parent
0f58c492e3
commit
284a468d4b
2 changed files with 34 additions and 0 deletions
33
srcpkgs/python-jupyter_ipywidgets/template
Normal file
33
srcpkgs/python-jupyter_ipywidgets/template
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
# Template file for 'python-jupyter_ipywidgets'
|
||||||
|
pkgname=python-jupyter_ipywidgets
|
||||||
|
version=7.0.1
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="ipywidgets-${version}"
|
||||||
|
build_style=python-module
|
||||||
|
pycompile_module="ipywidgets"
|
||||||
|
replaces="python-ipython_ipywidgets>=0"
|
||||||
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
|
depends="python-ipython_ipykernel python-traitlets python-jupyter_widgetsnbextension"
|
||||||
|
short_desc="IPython widgets for the Jupyter notebook (Python2)"
|
||||||
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
|
homepage="https://github.com/jupyter-widgets/ipywidgets"
|
||||||
|
license="3-clause-BSD"
|
||||||
|
distfiles="${PYPI_SITE}/i/ipywidgets/ipywidgets-${version}.tar.gz"
|
||||||
|
checksum=8692b6656c7f492ca3b08441fdd44ac311860282ca5eac7b4f68d1f1cbdef43d
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING.md LICENSE
|
||||||
|
}
|
||||||
|
|
||||||
|
python3-jupyter_ipywidgets_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="ipywidgets"
|
||||||
|
replaces="python3-ipython_ipywidgets>=0"
|
||||||
|
depends="python3-ipython_ipykernel python3-traitlets python3-jupyter_widgetsnbextension"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense COPYING.md LICENSE
|
||||||
|
}
|
||||||
|
}
|
1
srcpkgs/python3-jupyter_ipywidgets
Symbolic link
1
srcpkgs/python3-jupyter_ipywidgets
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_ipywidgets
|
Loading…
Add table
Add a link
Reference in a new issue