33 lines
1,023 B
Bash
33 lines
1,023 B
Bash
# Template file for 'python-ipython_ipykernel'
|
|
pkgname=python-ipython_ipykernel
|
|
version=4.2.2
|
|
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 <al3hex@gmail.com>"
|
|
homepage="https://github.com/ipython/ipykernel"
|
|
license="3-clause-BSD"
|
|
distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
|
|
checksum=a876da43e01acec2c305abdd8e6aa55f052bab1196171ccf1cb9a6aa230298b0
|
|
|
|
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
|
|
}
|
|
}
|