mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
python-ipython_ipykernel: unbreak aarch64, xlint
This commit is contained in:
parent
2956077919
commit
40cfa4e5e1
1 changed files with 3 additions and 9 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'python-ipython_ipykernel'
|
||||
pkgname=python-ipython_ipykernel
|
||||
version=4.10.0
|
||||
revision=2
|
||||
revision=3
|
||||
archs=noarch
|
||||
wrksrc="ipykernel-${version}"
|
||||
build_style=python-module
|
||||
|
@ -9,21 +9,16 @@ hostmakedepends="python-setuptools python3-setuptools python-ipython
|
|||
python3-ipython python-jupyter_client python3-jupyter_client python-traitlets
|
||||
python3-traitlets python-tornado python3-tornado"
|
||||
depends="python-ipython python-traitlets python-jupyter_client python-tornado"
|
||||
pycompile_module="ipykernel ipykernel_launcher.py"
|
||||
short_desc="IPython kernel for Jupyter (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
homepage="https://github.com/ipython/ipykernel"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://github.com/ipython/ipykernel"
|
||||
distfiles="${PYPI_SITE}/i/ipykernel/ipykernel-${version}.tar.gz"
|
||||
checksum=699103c8e64886e3ec7053f2a6aa83bb90426063526f63a818732ff385202bad
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
aarch64*) broken="https://build.voidlinux.org/builders/aarch64-musl_builder/builds/4765/steps/shell_3/logs/stdio"
|
||||
esac
|
||||
|
||||
post_install() {
|
||||
for v in 2 3; do
|
||||
sed -i "s,python,&${v}," ${DESTDIR}/usr/share/jupyter/kernels/python${v}/kernel.json
|
||||
vsed -i "s,python,&${v}," ${DESTDIR}/usr/share/jupyter/kernels/python${v}/kernel.json
|
||||
done
|
||||
vlicense COPYING.md LICENSE
|
||||
}
|
||||
|
@ -31,7 +26,6 @@ post_install() {
|
|||
python3-ipython_ipykernel_package() {
|
||||
archs=noarch
|
||||
depends="python3-ipython python3-traitlets python3-jupyter_client python3-tornado"
|
||||
pycompile_module="ipykernel ipykernel_launcher.py"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
|
|
Loading…
Add table
Reference in a new issue