blob: bf302c97237dc9bf1c90186244a7d78a7c955b9d (
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
49
|
# Maintainer: Stick <stick@stma.is>
# Contributer: Sherlock Holo <Sherlockya@gmail.com>
pkgname=python-locust
_name=${pkgname#python-}
pkgver=2.42.6
pkgrel=1
pkgdesc="Developer friendly load testing framework"
arch=('any')
url='https://locust.io/'
license=('MIT')
depends=(
'python-flask'
'python-werkzeug'
'python-requests'
'python-msgpack'
'python-pyzmq'
'python-geventhttpclient'
'python-configargparse'
'python-tomli'
'python-typing_extensions'
'python-psutil'
'python-flask-login'
'python-flask-cors'
'python-socketio'
'python-engineio'
'python-pytest'
)
makedepends=(
'python-hatch'
'python-hatch-vcs'
'python-cryptography'
'python-pyquery'
'python-retry'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('fa603f4ac1c48b9ac56f4c34355944ebfd92590f4197b6d126ea216bd81cc036')
provides=("$pkgname")
conflicts=("$pkgname")
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|