blob: d9a08199394f7952ab8104bc807c148d5a32c1ce (
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
|
# Maintainer: Yufan You <ouuansteve at gmail>
pkgname=yutto
pkgver=2.1.1
pkgrel=1
pkgdesc='一个可爱且任性的 B 站视频下载器'
arch=('any')
url='https://github.com/yutto-dev/yutto'
license=('GPL-3.0-only')
# same order as https://github.com/yutto-dev/yutto/blob/main/pyproject.toml
depends=(
'python-aiofiles'
'python-biliass'
'python-typing_extensions'
'python-dict2xml'
'python-httpx'
'python-h2'
'python-socksio'
'python-pydantic'
'python-returns'
'ffmpeg'
)
optdepends=(
'python-fastmcp: Model Context Protocol support'
)
makedepends=(python-build python-installer python-wheel python-uv-build)
source=("https://pypi.io/packages/source/${pkgname:0:1}/$pkgname/$pkgname-$pkgver.tar.gz")
sha256sums=('da452b2d7c00adb913451f99c33c6b3a011a26a7593aec223133efa5b1151df9')
build() {
cd "$pkgname-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$pkgname-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|