[arch-commits] Commit in python-tensorboard_plugin_wit/trunk (PKGBUILD)
Konstantin Gizdov
kgizdov at archlinux.org
Mon May 10 15:05:44 UTC 2021
Date: Monday, May 10, 2021 @ 15:05:44
Author: kgizdov
Revision: 929545
upgpkg: python-tensorboard_plugin_wit 1.8.0-1
Modified:
python-tensorboard_plugin_wit/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-10 14:25:58 UTC (rev 929544)
+++ PKGBUILD 2021-05-10 15:05:44 UTC (rev 929545)
@@ -6,12 +6,12 @@
pkgdesc='The What-If Tool (WIT): An easy-to-use interface for expanding understanding of a black-box classification or regression ML model.'
url='https://pair-code.github.io/what-if-tool'
license=('Apache')
-pkgver=1.7.0
-pkgrel=2
+pkgver=1.8.0
+pkgrel=1
arch=('any')
-source=("${_pkgbase}-${pkgver}::git+https://github.com/PAIR-code/what-if-tool#commit=63bc2b9c9528bcca34313c8a0bbaf279b4102f4a")
-_common_depends=('jupyter' 'python-google-api-python-client' 'python-ipywidgets')
-makedepends=('bazel' 'git' 'npm' 'python-virtualenv' 'python-pip' "${_common_depends[@]}")
+source=("${_pkgbase}-${pkgver}::git+https://github.com/PAIR-code/what-if-tool#tag=v${pkgver}")
+_common_depends=('python-google-api-python-client' 'python-ipywidgets')
+makedepends=('bazel' 'git' 'jupyter' 'npm' 'python-virtualenv' 'python-pip' "${_common_depends[@]}")
depends=('python-werkzeug' 'tensorboard')
sha256sums=('SKIP')
@@ -47,6 +47,7 @@
provides=('witwidget' 'witwidget-gpu')
depends=("${_common_depends[@]}" 'python-tensorboard_plugin_wit')
optdepends=(
+ 'jupyter: Jupyter support'
'python-tensorflow-serving-api: browse model thorugh TensorFlow Serving API'
'python-tensorflow-estimator: browse model as a TensorFlow Estimator feature spec'
)
@@ -55,4 +56,7 @@
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
PIP_CONFIG_FILE=/dev/null pip install --isolated --root="$pkgdir" --ignore-installed --no-deps wit-pip/release/dist/witwidget-${pkgver}-py3*.whl
rm -rf "${pkgdir}/usr/lib/python${_pyver}/site-packages/${_pkgbase}"
+ install -d "${pkgdir}/etc/jupyter/nbconfig/notebook.d"
+ mv "${pkgdir}/usr/etc/jupyter/nbconfig/notebook.d/wit-widget.json" "${pkgdir}/etc/jupyter/nbconfig/notebook.d/wit-widget.json"
+ rm -rf "${pkgdir}/usr/etc"
}
More information about the arch-commits
mailing list