summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6dfbd7c3a666b713544ec7a4b84fcec6f56d8556 (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
# Maintainer: Oliver Harley <oliver.r.harley+aur (at) gmail.com >

pkgbase=('python-tensorflow-lucid')
pkgname=('python-tensorflow-lucid')
_module=lucid
pkgver='0.3.8'
pkgrel=1
pkgdesc="Collection of infrastructure and tools for research in neural network interpretability."
url="https://github.com/tensorflow/lucid"
depends=('python' 'tensorflow')
makedepends=('python-setuptools')
license=('Apache')
arch=('any')

source=("$_module-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_module::1}/${_module}/${_module}-${pkgver}.tar.gz")
md5sums=('d94daf5c7fc9472d284296ba842f4e1b')

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

package() {
    depends+=()
    cd "${srcdir}/${_module}-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}