python-jupyter_console: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
51f10507f2
commit
7e75f5f0eb
2 changed files with 17 additions and 11 deletions
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-jupyter_console'
|
# Template file for 'python-jupyter_console'
|
||||||
pkgname=python-jupyter_console
|
pkgname=python-jupyter_console
|
||||||
version=4.1.1
|
version=4.1.1
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="jupyter_console-${version}"
|
wrksrc="jupyter_console-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
|
||||||
depends="python-ipython>=4.0.0 python-ipython_ipykernel python-jupyter_client"
|
depends="python-ipython>=4.0.0 python-ipython_ipykernel python-jupyter_client"
|
||||||
pycompile_module="jupyter_console"
|
pycompile_module="jupyter_console"
|
||||||
short_desc="Jupyter terminal console (Python2)"
|
short_desc="Jupyter terminal console (Python2)"
|
||||||
|
@ -15,22 +14,28 @@ homepage="https://github.com/jupyter/jupyter_console"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/j/jupyter_console/jupyter_console-${version}.tar.gz"
|
||||||
checksum=d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3
|
checksum=d754cfd18d258fa9e7dde39a36e589c4a7241075b5d0f420691fa3d50e4c4ae3
|
||||||
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2.7"
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jupyter_console_package() {
|
python3-jupyter_console_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3.4-ipython>=4.0.0 python3.4-ipython_ipykernel python3.4-jupyter_client"
|
depends="python3-ipython>=4.0.0 python3-ipython_ipykernel python3-jupyter_client"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="jupyter_console"
|
pycompile_module="jupyter_console"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
replaces="python3.4-jupyter_console>=0"
|
||||||
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3.4"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
alternatives="jupyter-console:jupyter-console:/usr/bin/jupyter-console3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-console3.4
|
vmove usr/bin/jupyter-console3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jupyter_console_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jupyter_console>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-jupyter_console
Symbolic link
1
srcpkgs/python3-jupyter_console
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_console
|
Loading…
Reference in a new issue