aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-async_generator/APKBUILD
blob: c6586990315e159cf59454e6fff518a9cc24c3f8 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="py3-async_generator"
_pkgname=async_generator
pkgver=1.10
pkgrel=1
pkgdesc="Async generators and context managers for Python 3.5+"
url="https://pypi.org/project/async_generator/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="python3-dev py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --root="$pkgdir"
}

sha512sums="3874b4e474cc7febec981f704672e233512a999e00e1672e46fe3a18e45168373fabc83142926763b7c6fcaf16948e031702d5854694aab4b5cae96b9b1ef819  py3-async_generator-1.10.tar.gz"