# Maintainer: Antoine Pierlot-Garcin <antoine at bokbox dot com>
pkgname=python2-pykka
pkgver=1.1.0
pkgrel=1
pkgdesc="Easy to use concurrency abstractions for Python using the actor model"
arch=('any')
url="http://pykka.readthedocs.org/"
license=('Apache')
depends=('python2')
#makedepends=('')
optdepends=('python2-gevent: Use gevent based actors from pykka.gevent')
provides=('python2-pykka')
conflicts=('python2-pykka-git')
source=("http://pypi.python.org/packages/source/P/Pykka/Pykka-$pkgver.tar.gz")
sha256sums=('3cfe14a37a3a755797a2ad6acb668ac2f9337a9e51f1d09a12b9747faa0db444')
package() {
cd "$srcdir/Pykka-$pkgver"
python2 setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}