blob: 1916cb0edf7dc9b7022234a6b4327731115a1e60 (
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
|
# Maintainer: Martin Rys <https://rys.rs/contact> | Toss a coin on https://rys.rs/donate
pkgname=python-elevenlabs
_reponame=elevenlabs
pkgver=1.13.0
pkgrel=1
pkgdesc="ElevenLabs API module - generate realistic, captivating speech in a wide range of languages"
url="https://pypi.org/project/elevenlabs/"
arch=(any)
license=('MIT')
depends=(
'python'
'python-httpx'
'python-pydantic'
'python-websockets'
)
makedepends=(
'git'
'python-poetry'
)
source=("https://pypi.org/packages/source/${_reponame::1}/${_reponame}/${_reponame}-${pkgver}.tar.gz")
sha256sums=('665a6acffccb7e3329b93cbec4ebb0eecb8741fa2dd4b3ddcb88b753d2dc403d')
build() {
cd "${srcdir}/${_reponame}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_reponame}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
install -d "${pkgdir}/usr/share/licenses/${pkgname}/"
cp ./LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/"
}
|