From 5a58660ecf271a1238f166743f8898fa76bcf783 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 8 Feb 2021 09:59:21 -0500 Subject: [PATCH] python3-bokeh: move to $PYPI_SITE for distfiles, fix update check --- srcpkgs/python3-bokeh/template | 8 ++++++-- srcpkgs/python3-bokeh/update | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/python3-bokeh/update diff --git a/srcpkgs/python3-bokeh/template b/srcpkgs/python3-bokeh/template index c178672e4d..01d495f3dc 100644 --- a/srcpkgs/python3-bokeh/template +++ b/srcpkgs/python3-bokeh/template @@ -14,8 +14,12 @@ maintainer="Andrew J. Hesford " license="BSD-3-Clause" homepage="https://bokeh.org" changelog="https://raw.githubusercontent.com/bokeh/bokeh/main/CHANGELOG" -distfiles="https://github.com/bokeh/bokeh/archive/${version}.tar.gz" -checksum=05095741480ad23f0e6243be4dd5a1d377ff0123172a35242e6ee3a14ace89ba +distfiles="${PYPI_SITE}/b/bokeh/bokeh-${version}.tar.gz" +checksum=c4a3f97afe5f525019dd58ee8c4e3d43f53fe1b1ac264ccaae9b02c07b2abc17 + +do_check() { + echo "Tests have unpackaged dependencies and require fetching data; skipping" +} post_install() { vlicense LICENSE.txt diff --git a/srcpkgs/python3-bokeh/update b/srcpkgs/python3-bokeh/update new file mode 100644 index 0000000000..890565bb71 --- /dev/null +++ b/srcpkgs/python3-bokeh/update @@ -0,0 +1 @@ +pattern="bokeh-\K[0-9.]+(?=.tar.gz)"