summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5dbb2730f984da1d7dc602d1b2e03fd106e6bbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pkgbase='python-torch-fidelity'
pkgname=('python-torch-fidelity')
_module='torch-fidelity'
pkgver='0.3.0'
pkgrel=1
pkgdesc="High-fidelity performance metrics for generative models in PyTorch"
url="https://www.github.com/toshas/torch-fidelity"
depends=('python')
makedepends=('python-installer')
license=('unknown')
arch=('any')
_py=py3
source=("https://files.pythonhosted.org/packages/$_py/${_module:0:1}/$_module/${_module//-/_}-$pkgver-$_py-none-any.whl")
sha256sums=('d01284825595feb7dc3eae3dc9a0d8ced02be764813a3483f109bc142b52a1d3')

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