29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
# Template file for 'python3-bokeh'
|
|
pkgname=python3-bokeh
|
|
version=3.6.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools python3-colorama"
|
|
depends="python3-Jinja2 python3-contourpy python3-numpy python3-packaging
|
|
python3-pandas python3-Pillow python3-yaml python3-tornado python3-xyzservices"
|
|
short_desc="Interactive data visualization in a browser, from Python"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://bokeh.org"
|
|
changelog="https://raw.githubusercontent.com/bokeh/bokeh/main/CHANGELOG"
|
|
distfiles="${PYPI_SITE}/b/bokeh/bokeh-${version}.tar.gz"
|
|
checksum=0032dc1e76ad097b07626e51584685ff48c65481fbaaad105663b1046165867a
|
|
# Tests have unpackaged dependencies and require fetching data; skipping
|
|
make_check=no
|
|
|
|
post_patch() {
|
|
# Bokeh expects to determine its version from Git tags
|
|
vsed -i pyproject.toml -e '/dynamic =/s/"version"//' \
|
|
-e "/^name =/a version = \"${version}\"" \
|
|
-e '/^requires =/s/"setuptools-git-versioning",//'
|
|
}
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|