aboutsummaryrefslogtreecommitdiff
path: root/srcpkgs/python3-bokeh/template
blob: 86c20fd4a485651cbee22d1f12a6451c8a57695b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Template file for 'python3-bokeh'
pkgname=python3-bokeh
version=3.4.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=9ea6bc407b5e7d04ba7a2f07d8f00e8b6ffe02c2368e707f41bb362a9928569a
# 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
}