summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efdd12dfe043d589fe3dcd0222bc42e6151854c0 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Maintainer: envolution
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=python-auralis
_pkgname=auralis
pkgver=0.2.7.post1
pkgrel=1
pkgdesc="faster implementation for TTS models, to be used in highly async environment"
arch=('i686' 'x86_64')
url='https://github.com/astramind-ai/Auralis'
license=(Apache-2.0)
depends=(python python-safetensors python-numpy python-transformers python-tokenizers)
depends+=(
  python-sounddevice
  python-torchaudio
  python-langid
  python-librosa
  python-pyloudnorm
  python-vllm-bin
  python-mistral-common
  python-msgspec
  python-compressed-tensors
  python-gguf
  python-triton
  python-srsly-bin
  python-nvidia-ml-py
  pypinyin
  python-hangul-romanize
  python-num2words
  python-spacy-bin
  python-cutlet
  python-jaconv
  python-mecab
  python-fugashi
  python-mojimoji
)
makedepends=(python-build python-installer python-wheel)
source=("https://files.pythonhosted.org/packages/79/65/c179d587cdb16d7a598179527d4e637202085d10697d879fd7951ad5c95a/auralis-${pkgver}.tar.gz")

sha256sums=('d9dd5ba25b4fcc81378c83c6e57a8cd1e0609d78b71ee9a121996d55c4200cd2')

build() {
  cd $_pkgname-$pkgver
  python -m build --wheel --no-isolation
}

package() {
  cd $_pkgname-$pkgver
  python -m installer --destdir="$pkgdir" dist/*.whl
  install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md
}
# vim:set ts=2 sw=2 et: