blob: e7100d620b6b7f0b913dc8db14b4b631a3197bfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Apple_QAQ <apple_qaq@outlook.com>
pkgname=python-bilibili-api-python
pkgver=13.1.1
pkgrel=1
pkgdesc="这是一个用 Python 写的调用 Bilibili 各种 API 的库, 范围涵盖视频、音频、直播、动态、专栏、用户、番剧等。"
arch=('any')
url="https://github.com/Nemo2011/bilibili-api"
license=('GPL3')
depends=('python-urllib3' 'python-aiohttp' 'python-beautifulsoup4' 'python-colorama' 'python-lxml' 'python-types-pyyaml' 'python-brotli' 'python-httpx' 'python-qrcode' 'python-requests' 'python-keyboard' 'python-apscheduler' 'python-rsa' 'python-pypng')
makedepends=('python-setuptools' 'python-pip')
source=("https://pypi.io/packages/source/b/bilibili-api-python/bilibili-api-python-$pkgver.tar.gz")
sha512sums=('af541701114364f419d910fea736cfce6b2656f8d98e3f4b5151dd9925973379efe7c00bb67553d4e498e21e8ffdf967e651df0d3399d359ec1319a9a437d414')
build() {
cd bilibili-api-python-$pkgver
python setup.py build
}
package() {
cd bilibili-api-python-$pkgver
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}
|