python3-bokeh: move to $PYPI_SITE for distfiles, fix update check

This commit is contained in:
Andrew J. Hesford 2021-02-08 09:59:21 -05:00
parent 7fee0562d0
commit 5a58660ecf
2 changed files with 7 additions and 2 deletions

View file

@ -14,8 +14,12 @@ 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="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

View file

@ -0,0 +1 @@
pattern="bokeh-\K[0-9.]+(?=.tar.gz)"