blob: 0eb4f0ad206e077b2123c431be626c8aebc71d17 (
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: Carl Smedstad <carl.smedstad at protonmail dot com>
pkgname=python-mirakuru
_name=${pkgname#python-}
pkgver=2.5.2
pkgrel=4
pkgdesc="Start your subprocess and wait for a clear indication that it's running"
arch=(any)
url="https://github.com/ClearcodeHQ/mirakuru"
license=(LGPL-3.0-only)
depends=(
python
python-psutil
)
makedepends=(
python-build
python-installer
python-wheel
)
checkdepends=(
openbsd-netcat
procps-ng
python-daemon
python-pytest
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('41f01aae0fae2535292d9c6ac3f9f3980f5f96924c41d4d5f9687918788ff6c5')
_archive="$_name-$pkgver"
build() {
cd "$_archive"
python -m build --wheel --no-isolation
}
check() {
cd "$_archive"
pytest
}
package() {
cd "$_archive"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|