mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 09:52:57 +02:00
python-jupyter_qtconsole: use alternatives
This commit is contained in:
parent
64e92effa7
commit
5259668e1f
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# 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=1
|
revision=2
|
||||||
noarch=yes
|
noarch=yes
|
||||||
replaces="python-ipython-qtconsole>=0"
|
replaces="python-ipython-qtconsole>=0"
|
||||||
wrksrc="qtconsole-${version}"
|
wrksrc="qtconsole-${version}"
|
||||||
|
@ -17,9 +17,9 @@ 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"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vbin build-3.4/scripts-3.4/jupyter-qtconsole jupyter-qtconsole3.4
|
|
||||||
vlicense COPYING.md LICENSE
|
vlicense COPYING.md LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -31,6 +31,7 @@ python3.4-jupyter_qtconsole_package() {
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="qtconsole"
|
pycompile_module="qtconsole"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
alternatives="jupyter-qtconsole:jupyter-qtconsole:/usr/bin/jupyter-qtconsole3.4"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/bin/jupyter-qtconsole3.4
|
vmove usr/bin/jupyter-qtconsole3.4
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3.4
|
||||||
|
|
Loading…
Add table
Reference in a new issue