ayaports/user/py3-concurrent-log-handler/APKBUILD

27 lines
883 B
Text

# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
_pyname=concurrent-log-handler
pkgname="py3-$_pyname"
pkgver=0.9.20
pkgrel=0
arch="noarch"
pkgdesc="The lightning-fast ASGI server"
url="https://pypi.python.org/project/$_pyname"
license="Apache-2.0"
depends="python3 py3-portalocker"
makedepends="py3-setuptools"
options="!check" # No testsuite
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$pkgver
build() {
python3 setup.py build
}
package() {
python3 setup.py install --root="$pkgdir"/ --optimize=1 --skip-build --prefix=/usr
}
sha512sums="
fd9e66c713f6be675fd8aa8001254641ba354ba04b95fade4b101ce9cdddc66444de60c87832bd3270d004ef97c52a266a3345e9f9df8f5dea13d6ce80f05e57 py3-concurrent-log-handler-0.9.20.tar.gz
"