summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ff664a5e2643582c99bc29a0f153f860668e009 (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
pkgname=python-tensap
pkgver=1.4
pkgrel=1
pkgdesc="A Python package for the approximation of functions and tensors"
url="https://github.com/anthony-nouy/tensap"
arch=(any)
license=('LGPL')
makedepends=('python-setuptools')
depends=('python-scipy' 'python-tensorflow')
source=("https://github.com/anthony-nouy/tensap/archive/v${pkgver}.tar.gz")
sha256sums=('ae1e47455043a8ac771839e333be62228dbfdb00944465ff3675ca2b114fd0fd')

prepare() {
  cd "${srcdir}"/tensap-$pkgver
}

build() {
  cd "${srcdir}"/tensap-$pkgver
  python setup.py build
}

package() {
  cd "${srcdir}/tensap-$pkgver"
  python setup.py install --root=${pkgdir} --optimize=1
}