# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-kthread pkgver=0.2.3 pkgrel=2 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 " subpackages="$pkgname-pyc" 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 "