blob: 1bf26686ce97aac118c2698e693362571f6c0503 (
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: Aditya Dua <adityadua24@gmail.com>
pkgname=python-robopy
pkgver=1.0.8
pkgrel=1
pkgdesc="A Python 3 implementation of Peter Corke's Robotics Toolbox"
arch=(any)
url="https://github.com/adityadua24/robopy"
license=(MIT)
makedepends=("python" "python-pip")
build() {
pip install --no-deps --target="robopy" robopy==1.0.8
}
package() {
sitepackages=$(python -c "import site; print(site.getsitepackages()[0])")
mkdir -p $pkgdir/"$sitepackages"
cp -r $srcdir/robopy/* $pkgdir/"$sitepackages"
}
|