python-ipython_ipykernel: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
265db9381c
commit
6a0b638b32
|
@ -1,12 +1,11 @@
|
|||
# Template file for 'python-ipython_ipykernel'
|
||||
pkgname=python-ipython_ipykernel
|
||||
version=4.5.0
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="ipykernel-${version}"
|
||||
build_style=python-module
|
||||
python_versions="2.7 3.4"
|
||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-ipython>=4.0.0 python-traitlets python-jupyter_client"
|
||||
pycompile_module="ipykernel"
|
||||
short_desc="IPython kernel for Jupyter (Python2)"
|
||||
|
@ -20,14 +19,20 @@ post_install() {
|
|||
vlicense COPYING.md LICENSE
|
||||
}
|
||||
|
||||
python3.4-ipython_ipykernel_package() {
|
||||
python3-ipython_ipykernel_package() {
|
||||
noarch=yes
|
||||
depends="python3.4-ipython>=4.0.0 python3.4-traitlets python3.4-jupyter_client"
|
||||
pycompile_version="3.4"
|
||||
depends="python3-ipython>=4.0.0 python3-traitlets python3-jupyter_client"
|
||||
replaces="python3.4-ipython_ipykernel>=0"
|
||||
pycompile_module="ipykernel"
|
||||
short_desc="${short_desc/Python2/Python3.4}"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3.4
|
||||
vmove usr/lib/python3*
|
||||
vlicense COPYING.md LICENSE
|
||||
}
|
||||
}
|
||||
python3.4-ipython_ipykernel_package() {
|
||||
noarch=yes
|
||||
build_style=meta
|
||||
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||
depends="python3-ipython_ipykernel>=${version}_${revision}"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue