blob: 0993c5bc44e3c035a6c79a4ced4f94d36fbd7581 (
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
|
# Maintainer: Stick <stick@stma.is>
# Contributer: Sherlock Holo <Sherlockya@gmail.com>
pkgname=python-locust
_name=${pkgname#python-}
pkgver=2.16.1
pkgrel=1
pkgdesc="Developer friendly load testing framework"
arch=('any')
url='https://locust.io/'
license=('MIT')
depends=(
'python-gevent'
'python-flask'
'python-werkzeug'
'python-requests'
'python-msgpack'
'python-pyzmq'
'python-geventhttpclient'
'python-configargparse'
'python-psutil'
'python-flask-basicauth'
'python-flask-cors'
'python-roundrobin'
'python-typing_extensions'
)
makedepends=(
'python-cryptography'
'python-mock'
'python-pyquery'
'python-setuptools'
'python-setuptools-scm'
)
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('cd54f179b679ae927e9b3ffd2b6a7c89c1078103cfbe96b4dd53c7872774b619')
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
}
|