# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-vine
_pyname=vine
pkgver=1.3.0
pkgrel=2
pkgdesc="Promises library for Python"
url="https://github.com/celery/vine"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py3-setuptools py3-case py3-pytest"
checkdepends="py3-nose"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --root="$pkgdir" --optimize=1
}
sha512sums="f7242378ebc9b591b6e0a7b6263514f32cee4b996bc6461313221b9a391dd0dd1d833591d6e9ca72ae003f6ce5c4204856d49bb5e57c69a125072cac25758688 vine-1.3.0.tar.gz"