aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-greenlet/APKBUILD
blob: 0cf668ddfba60aa7bd4b6e2961d7f8c5e7728267 (plain)
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
# Maintainer: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
# Contributor: Elizabeth Jennifer Myers <elizabeth@sporksirc.net>
pkgname=py-greenlet
_pkgname=greenlet
pkgver=0.4.0
pkgrel=0
pkgdesc="Lightweight in-process concurrent programming"
url="http://pypi.python.org/pypi/greenlet"
arch="all"
license="MIT"
depends=""
makedepends="python-dev py-setuptools"
source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.zip"

_builddir="$srcdir"/$_pkgname-$pkgver
build ()
{
	cd "$_builddir"
	python setup.py build || return 1
}

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

md5sums="87887570082caadc08fb1f8671dbed71  greenlet-0.4.0.zip"
sha256sums="3f52af03bf8a89045fc159c6a76d5642349b30fb41c3df1a22b12bbd3920b1ee  greenlet-0.4.0.zip"
sha512sums="c072ceb83b3040448f0f7c8596aa134837fcc2ada5513b12fbeada4f5ae2ca5e4d4c5814c317a9270e4a0a65a02e2525dce7edad678978782013da7caa188d19  greenlet-0.4.0.zip"