summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 87f866bf76bc0ec984e4bcb787c20e51e772a175 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Oystein Sture <oysstu@gmail.com>
# Contributor: 
pkgname=python-check-shapes
pkgver=1.1.1
pkgrel=1
pkgdesc="Library for annotating and checking tensor shapes."
url="https://github.com/GPflow/check_shapes"
arch=('any')
license=('Apache')
depends=('python' 'python-lark-parser' 'python-dropstackframes')
makedepends=('python-build' 'python-installer' 'python-wheel')
source=("https://github.com/GPflow/check_shapes/archive/v${pkgver}.tar.gz")
sha256sums=('aa1acff5ea9fda0c91fd86284cef54c92bc604124494e208c845dcaae2e80753')

build() {
  cd "${srcdir}"/check_shapes-${pkgver}
  python -m build --wheel --no-isolation
}

package() {
  cd "${srcdir}"/check_shapes-${pkgver}
  python -m installer --destdir="$pkgdir" dist/*.whl
}