blob: af21c96aadcce835720150c95d8bb22d9c88db3c (
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
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-qq-botpy
_name=${pkgname#python-}
pkgver=1.2.1
pkgrel=0
epoch=
pkgdesc="qq-botpy 是基于机器人开放平台API 实现的机器人框架,目的提供一个易使用、开发效率高的开发框架。"
arch=('any')
url="https://pypi.org/project/qq-botpy"
license=(MIT)
groups=()
provides=(${_name})
conflicts=(${_name})
_py_deps=(
apscheduler
'aiohttp>=3.7.4'
pyyaml)
depends=(
pre-commit
python
"${_py_deps[@]/#/python-}")
makedepends=(python-build
python-installer
python-wheel
python-setuptools)
# checkdepends=(python-pytest)
options=('!strip')
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/${_name}-$pkgver.tar.gz")
noextract=()
sha256sums=('442172a0557a9b43d2777d1c5e072090a9d1a54d588d1c5da8d3efc014f4887f')
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|