python-jupyter_qtconsole: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
3d10abd56d
commit
26c6ebea04
2 changed files with 18 additions and 14 deletions
|
@ -1,13 +1,11 @@
|
||||||
# Template file for 'python-jupyter_qtconsole'
|
# Template file for 'python-jupyter_qtconsole'
|
||||||
pkgname=python-jupyter_qtconsole
|
pkgname=python-jupyter_qtconsole
|
||||||
version=4.2.1
|
version=4.2.1
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
replaces="python-ipython-qtconsole>=0"
|
|
||||||
wrksrc="qtconsole-${version}"
|
wrksrc="qtconsole-${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-traitlets python-jupyter_core python-jupyter_client
|
depends="python-traitlets python-jupyter_core python-jupyter_client
|
||||||
python-Pygments python-ipython_ipykernel python-PyQt5-svg"
|
python-Pygments python-ipython_ipykernel python-PyQt5-svg"
|
||||||
pycompile_module="qtconsole"
|
pycompile_module="qtconsole"
|
||||||
|
@ -17,24 +15,29 @@ homepage="https://github.com/jupyter/qtconsole"
|
||||||
license="3-clause-BSD"
|
license="3-clause-BSD"
|
||||||
distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/q/qtconsole/qtconsole-${version}.tar.gz"
|
||||||
checksum=25ec7d345528b3e8f3c91be349dd3c699755f206dc4b6ec668e2e5dd60ea18ef
|
checksum=25ec7d345528b3e8f3c91be349dd3c699755f206dc4b6ec668e2e5dd60ea18ef
|
||||||
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole2.7"
|
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole2"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-jupyter_qtconsole_package() {
|
python3-jupyter_qtconsole_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
replaces="python3.4-ipython-qtconsole>=0"
|
replaces="python3.4-jupyter_qtconsole>=0"
|
||||||
depends="python3.4-traitlets python3.4-jupyter_core python3.4-jupyter_client
|
depends="python3-traitlets python3-jupyter_core python3-jupyter_client
|
||||||
python3.4-Pygments python3.4-ipython_ipykernel python3.4-PyQt5-svg"
|
python3-Pygments python3-ipython_ipykernel python3-PyQt5-svg"
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="qtconsole"
|
pycompile_module="qtconsole"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole3.4"
|
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole3"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-qtconsole3.4
|
vmove usr/bin/jupyter-qtconsole3
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-jupyter_qtconsole_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-jupyter_qtconsole>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3-jupyter_qtconsole
Symbolic link
1
srcpkgs/python3-jupyter_qtconsole
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-jupyter_qtconsole
|
Loading…
Reference in a new issue