diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 16 insertions, 6 deletions
@@ -2,14 +2,20 @@ # Contributor: Excitable Snowball <excitablesnowball@gmail.com> pkgname=python-bokeh -pkgver=3.1.0 +pkgver=3.1.1 pkgrel=1 pkgdesc='Interactive Web Plotting for Python' arch=('any') url='http://bokeh.pydata.org/' license=('BSD') -source=("https://pypi.io/packages/source/b/bokeh/bokeh-${pkgver}.tar.gz") -sha256sums=('9047dfe50a671b5e19ca588fd90a8e6bff197114a5dbd6a59cc2678942c27887') +source=( + "https://pypi.io/packages/source/b/bokeh/bokeh-$pkgver.tar.gz" + 'patch' +) +sha256sums=( + 'ba0fc6bae4352d307541293256dee930a42d0acf92e760c72dc0e7397c3a28e9' + 'cb7cf3d3189282521206a04ad32f1cbb2667a408426ece88b4f3d26bb873e9b9' +) depends=('python-jinja' 'python-contourpy' 'python-numpy' @@ -28,12 +34,16 @@ optdepends=('python-selenium: svg export' 'python-sphinx: support sphinx documentation') makedepends=('python-build' 'python-installer') +prepare() { + patch -d "$srcdir/bokeh-$pkgver" -p1 < ./patch # workaround for https://github.com/bokeh/bokeh/issues/13122 +} + build() { - cd "${srcdir}"/bokeh-$pkgver + cd "$srcdir/bokeh-$pkgver" python -m build --wheel } package() { - cd "${srcdir}"/bokeh-$pkgver - python -m installer "--destdir=${pkgdir}" ./dist/*.whl + cd "$srcdir/bokeh-$pkgver" + python -m installer "--destdir=$pkgdir" ./dist/*.whl } |