From bbfa95be1b17ddf6f6234b091a0838e39171b1d8 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Thu, 17 Nov 2022 11:01:45 -0500 Subject: [PATCH] python3-bokeh: update to 3.0.2. --- srcpkgs/python3-bokeh/template | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/srcpkgs/python3-bokeh/template b/srcpkgs/python3-bokeh/template index 0e45d6c1c43..6c435784ec1 100644 --- a/srcpkgs/python3-bokeh/template +++ b/srcpkgs/python3-bokeh/template @@ -1,21 +1,28 @@ # Template file for 'python3-bokeh' pkgname=python3-bokeh -version=2.4.3 -revision=2 +version=3.0.2 +revision=1 build_style=python3-module -hostmakedepends="python3-setuptools" -depends="python3-yaml python3-dateutil python3-Jinja2 python3-numpy - python3-Pillow python3-packaging python3-tornado python3-typing_extensions" +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 " 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=ef33801161af379665ab7a34684f2209861e3aefd5c803a21fbbb99d94874b03 +checksum=fb537cf24f5a25a6739393f9906ddf8c913bfebc4cb120d342e8262889326f7d # 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 }