47 lines
1 KiB
Text
47 lines
1 KiB
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.24
|
|
pkgrel=0
|
|
arch="noarch"
|
|
pkgdesc="The lightning-fast ASGI server"
|
|
url="https://pypi.python.org/project/$_pyname"
|
|
license="Apache-2.0"
|
|
depends="
|
|
py3-portalocker
|
|
"
|
|
makedepends="
|
|
py3-setuptools
|
|
py3-installer
|
|
py3-gpep517
|
|
py3-wheel
|
|
"
|
|
checkdepends="
|
|
py3-pytest
|
|
py3-stresstest
|
|
"
|
|
options="!check" # Missing depend stresstest
|
|
source="$pkgname-$pkgver.tar.gz::https://pypi.io/packages/source/${_pyname:0:1}/$_pyname/$_pyname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pyname-$pkgver
|
|
subpackages="$pkgname-pyc"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
PYTHONPATH="$builddir" pytest
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
370003f3c3778f99ba85f8d1fa8331eeee39f76f7ecc6f30ce2cb809790a80cc288005098bbb1b4e737957f08e29b7dbec055bcd685ae50611f909b6c74f8d78 py3-concurrent-log-handler-0.9.24.tar.gz
|
|
"
|