python-audible/PKGBUILD

49 lines
1.1 KiB
Text
Raw Normal View History

2025-09-03 21:18:24 +02:00
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Contributor: mattski <redmattski at gmail dot com>
# Maintainer: Winux <winux@winux.cc>
pkgname=python-audible
_name=${pkgname#python-}; _name=${_name^}
pkgver=0.10.0
pkgrel=3
2025-09-03 21:18:24 +02:00
pkgdesc='A(Sync) Interface for internal Audible API written in pure Python.'
arch=(any)
url="https://github.com/mkb79/audible"
license=(
AGPL-3.0-only
)
depends=(
python
python-beautifulsoup4
python-httpcore
python-httpx
python-pbkdf2
python-pillow
python-pyaes
python-rsa
python-questionary
)
makedepends=(
git
python-build
python-installer
python-poetry-core
python-wheel
)
source=(
"$pkgname-$pkgver::git+$url.git#tag=v$pkgver"
)
b26sums=('a993262970d0f10350a8ed46788b577826414c27c1c2556906eb6f334e5eadb8')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
b2sums=('1388c83501e883165a4dcbdd73c480e7542c725f2329c0d3db431293e65ba6cfa206c26cad7f32862869c16295b4c64d321969117c6ca7b4fa94b437a9841d68')