blob: e94e1e72cbd408d4300c2a8b3db45d04a83d9fab (
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
42
43
44
45
46
47
48
|
# Maintainer: taotieren <admin@taotieren.com>
pkgname=python-qsnctf
_name=${pkgname#python-}
pkgver=0.0.8.10
pkgrel=3
epoch=
pkgdesc="青少年 CTF 训练平台是一个公益、免费、供给全国青少年学习、训练的 CTF 在线平台。"
arch=('any')
url="https://pypi.org/project/qsnctf"
license=('MIT')
groups=()
depends=(python
python-pyexecjs
python-pybase62
python-base58
python-requests
python-beautifulsoup4
python-sympy
python-urllib3
python-rarfile)
makedepends=(python-build
python-installer
python-setuptools
python-wheel)
checkdepends=()
optdepends=()
provides=(qsnctf qsnctf-python)
conflicts=()
replaces=()
backup=()
options=('!strip')
install=
changelog=
source=("${_name}-${pkgver}.tar.gz::https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
noextract=()
sha256sums=('035976963aa96bb536c1f3d0d36d2d86a2186555b0ae18c4a37a1ec3b8429e74')
#validpgpkeys=()
build() {
cd "${srcdir}/${_name}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${_name}-${pkgver}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|