34 lines
1.2 KiB
Bash
34 lines
1.2 KiB
Bash
# Template file for 'python3-jupyter_client'
|
|
pkgname=python3-jupyter_client
|
|
version=6.1.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="jupyter_client-${version}"
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools"
|
|
depends="python3-setuptools python3-traitlets python3-jupyter_core>=4.6.0
|
|
python3-pyzmq>=13 python3-dateutil>=2.1 python3-tornado>=3.5
|
|
python3-simplejson"
|
|
checkdepends="python3-pytest python3-ipython_ipykernel
|
|
python3-setuptools python3-traitlets python3-jupyter_core
|
|
python3-pyzmq python3-dateutil python3-tornado
|
|
python3-simplejson python3-msgpack python3-Sphinx"
|
|
short_desc="Jupyter protocol client APIs"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://github.com/jupyter/jupyter_client"
|
|
distfiles="${PYPI_SITE}/j/jupyter_client/jupyter_client-${version}.tar.gz"
|
|
checksum=61429e7d2c4b385135d31054944dd3f23a1c6affb0ca3d4328d42fc9ba82b7f5
|
|
conflicts="python-jupyter_client<=5.2.4_2"
|
|
|
|
do_check() {
|
|
# test_install_kernel_spec_prefix is problematic
|
|
# The test is fine when run in-tree,
|
|
# but it's failing in ./xbps-src check
|
|
pytest -k 'not test_install_kernel_spec_prefix'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense COPYING.md LICENSE
|
|
}
|