blob: 651693eccefce972243d48c8a7d46393282d2357 (
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
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-kthread
pkgver=0.2.3
pkgrel=1
pkgdesc="Killable threads in Python!"
url="https://github.com/munshigroup/kthread"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
checkdepends="
py3-nose
py3-pytest
"
source="https://pypi.python.org/packages/source/k/kthread/kthread-$pkgver.tar.gz"
options="!check" # No tests in PyPi package and no Github releases
builddir="$srcdir/kthread-$pkgver"
build() {
python3 setup.py build
}
check() {
pytest
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
16032fb6fe503612e80115b721fa4afdba07bc217bb04d11f63a0f3f585dee927050bd7a8c997afb75a45f85c1bb9391a25ed22e54fdc101fda1bbe259e98196 kthread-0.2.3.tar.gz
"
|