summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0a395a15bf02e2efce2762ee5ab0514aef50a0d4 (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
# Maintainer: envolution
# Contributor: Danny Waser (Waser Technologies) <waser@waser.tech>
# shellcheck shell=bash disable=SC2034,SC2154

pkgname=python-coqui-trainer
_pkgname=coqui-ai-Trainer
pkgver=0.2.0
pkgrel=2
pkgdesc='General purpose model trainer for PyTorch that is more flexible than it should be, by 🐸Coqui. - idiap fork'
arch=(any)
url="https://github.com/idiap/coqui-ai-Trainer"
license=(Apache-2.0)
depends=(python python-coqpit python-soundfile python-fsspec python-protobuf python-soundfile python-tensorboardx python-pytorch)
makedepends=(python-installer python-build python-wheel python-setuptools)
provides=(python-coqui-ai-trainer)
conflicts=(python-coqui-ai-trainer)
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/idiap/coqui-ai-Trainer/archive/refs/tags/v${pkgver}.tar.gz")
md5sums=('5006406a6f48c7dff05e8b9ce655fcde')

build() {
  cd $_pkgname-$pkgver
  python -m build --no-isolation --wheel
}
package() {
  cd $_pkgname-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
}
# vim:set ts=2 sw=2 et: