blob: 5a3911e39daa72f1a1466e2f4d33323a68fc8324 (
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: Carl Smedstad <carsme@archlinux.org>
pkgname=python-mirakuru
_pkgname=${pkgname#python-}
pkgver=2.5.3
pkgrel=1
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/v$pkgver.tar.gz")
sha256sums=('f736d029c6716d3326a2f5178dc68344e41719a8a25237f55eb6579487791bcf')
_archive="$_pkgname-$pkgver"
build() {
cd "$_archive"
python -m build --wheel --no-isolation
}
check() {
cd "$_archive"
pytest
}
package() {
cd "$_archive"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|