aboutsummaryrefslogblamecommitdiffstats
path: root/testing/py-pykka/APKBUILD
blob: 874c1ecde8d887ae30c0e0d4f30c5995aaedf2bc (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                               
                 
              
                         

              
                                                                                    
























                                                                                                                                                                 
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-pykka
pkgver=1.2.0
pkgrel=0
pkgdesc="Easy to use concurrency abstractions for Python using the actor model"
url="http://pykka.readthedocs.org/"
arch="noarch"
license="Apache"
depends="python2"
depends_dev=""
makedepends="python2-dev"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/P/Pykka/Pykka-$pkgver.tar.gz"

_builddir="$srcdir"/Pykka-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="27cb69507f89e34dc1ff34636c4bc165  Pykka-1.2.0.tar.gz"
sha256sums="01cfbfc5a9a32c01ee68303614269b5b1c6e3d698270c92be7488f8c1edb5885  Pykka-1.2.0.tar.gz"
sha512sums="9fd6537d3ee8a6ef1882737bdcb8542aa411a857adbe1c4464a825baf1d30f9b000f523abd947b89bcf9e08437eaa589b10aaeb16cc78aa5f41ca40e531ecb34  Pykka-1.2.0.tar.gz"