aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-aiofiles/APKBUILD
blob: 4d2b72612a96db3aca64702d0d210e6abd034e25 (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
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="py3-aiofiles"
_pkgname=aiofiles
pkgver=0.4.0
pkgrel=1
pkgdesc="File support for asyncio"
url="https://pypi.org/project/aiofiles"
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" --optimize=1
}

sha512sums="ad41aed2151fc2adf01ddbaec7fcc772c2ee8e33609dff881d00e255412c2142b0594e70eca32e73accd120d13e1f112b20a627fae2fa343b96d18f59371c9da  py3-aiofiles-0.4.0.tar.gz"