blob: 351044a04944b82b9f86eec19fce1a83b04efb2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# PKGBUILD generated by pipman
# Python package author: AISpace2 <info@aispace.org>
pkgname=python-aispace2
pkgver=0.6.9
pkgrel=1
pkgdesc="A Jupyter extension for the next-generation of AISpace"
arch=(any)
url="https://aispace2.github.io/AISpace2/"
license=('GPLv3')
depends=("nodejs-lts-carbon")
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="aispace2" aispace2==0.6.9
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/aispace2/* $pkgdir/"$sitepackages"
}
|