mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
30 lines
986 B
Text
30 lines
986 B
Text
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Contributor: Antoine Fontaine <antoine.fontaine@epfl.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-async-timeout
|
|
_pkgname=async-timeout
|
|
pkgver=3.0.1
|
|
pkgrel=4
|
|
pkgdesc="Timeout context manager for asyncio programs"
|
|
url="https://pypi.python.org/pypi/async_timeout"
|
|
arch="noarch"
|
|
license="Apache-2.0"
|
|
depends="python3"
|
|
checkdepends="py3-pytest py3-pytest-cov py3-pytest-asyncio"
|
|
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 -m pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986 py3-async-timeout-3.0.1.tar.gz"
|