summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6313f5fbdf37819f0dea1c1f3adcf2a5f0fa1997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Felipe Bartelt <fbartelt at ufmg dot br>
pkgname='python-uaibot'
_name=${pkgname#python-}
pkgver=0.0.2
pkgrel=1
pkgdesc="A browser-based robotic simulator"
arch=('any')
url="https://uaibot.github.io/"
license=('MIT')
depends=(
  python
  python-numpy
  python-httplib2
  python-cvxopt
  python-pywavefront
  python-numpy-stl
  python-plotly
  python-scipy
  python-colour
  python-setuptools
  python-collada
  ipython
)
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
sha256sums=(2860efb2a099af1498a65d2ec89c46f6fdffdbcabc19879bfae70916204f90c4)

build() {
    cd $_name-$pkgver
    python -m build --wheel --no-isolation
}

package() {
    cd $_name-$pkgver
    python -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}