aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pykka/APKBUILD
blob: 60654f129d759b9ddf662487016c24c1894d2018 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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="python"
depends_dev=""
makedepends="python-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"