summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 94c468f61f4b3ad7c150c9370ab0a106bbbb4aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# PKGBUILD generated by pipman
# Python package author: Sam Lau <samlau95@gmail.com>
pkgname=python-nbinteract
pkgver=0.2.4
pkgrel=1
pkgdesc="Export interactive HTML pages from Jupyter Notebooks"
arch=(any)
url="https://github.com/SamLau95/nbinteract"
license=(MIT)
makedepends=("python" "python-pip")
build() {
  pip install --no-deps --target="nbinteract" nbinteract==0.2.4
}
package() {
  sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
  mkdir -p $pkgdir/"$sitepackages"
  cp -r $srcdir/nbinteract/* $pkgdir/"$sitepackages"
}