aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-gevent/APKBUILD
blob: 611cc6b648d54f1c97664b1ac3feaa0818c7cfaf (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
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
# Contributor: Michael Zhou <zhoumichaely@gmail.com>
pkgname=py3-gevent
_pkgname=gevent
pkgver=1.4.0
pkgrel=1
pkgdesc="Python3 library for seamless coroutine-based concurrency"
options="!check" # Requires unpackaged 'objgraph'
url="http://gevent.org/"
arch="all"
license="MIT"
depends="py3-greenlet"
makedepends="py3-setuptools python3-dev libevent-dev file cython3"
source="$pkgname-$pkgver.tar.gz::https://github.com/$_pkgname/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-gevent" # Backwards compatibility
provides="py-gevent=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="3cfc9de24a21f544c53aa78314641c8208fb9c7e9a8366a2310e8847982a44b09bee046a24a36fe6ec09aa060ba64c151b7c67bafd740cc510520b8dc6f3b570  py3-gevent-1.4.0.tar.gz"