# Contributor: Fabian Affolter # Maintainer: Fabian Affolter pkgname=py3-transitions _pkgname=transitions pkgver=0.6.9 pkgrel=0 pkgdesc="A lightweight, object-oriented Python state machine implementation" url="https://github.com/tyarkoni/transitions" arch="noarch" license="MIT" depends="py3-six" makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver replaces=py-transitions # Backwards compatibility provides=py-transitions=$pkgver-r$pkgrel # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="0cef11d547ae631afcb3dad557ab81b425f825028639787337f700f19073d7cb4c69ba9b6284155b3be85fb3eac4c4abd5b0cf3104dff8d2098c219729de4352 transitions-0.6.9.tar.gz"