python-pykka/PKGBUILD

28 lines
963 B
Bash

# Maintainer: Qontinuum <qontinuum@artixlinux.org>
# Contributor: Sven-Hendrik Haase <svenstaro@gmail.com>
# Contributor: Antoine Pierlot-Garcin <antoine at bokbox dot com>
pkgname=python-pykka
pkgver=3.1.1
pkgrel=2
pkgdesc="Easy to use concurrency abstractions for Python using the actor model"
arch=('any')
url="http://pykka.readthedocs.org/"
license=('Apache')
depends=('python')
makedepends=('python-setuptools')
optdepends=('python-gevent: Use gevent based actors from pykka.gevent')
source=("https://pypi.python.org/packages/source/p/pykka/pykka-$pkgver.tar.gz")
sha512sums=('7ca7885664598ba31dd7180f2a365d2fbb225a6dac26d09911b6bf0cafc55ea87d7e6212c4fff297bf4ca8d5b14134c656ea929e0869978bcd661309e2442908')
build() {
cd "pykka-$pkgver"
python setup.py build
}
package() {
cd "pykka-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir"/ --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}