mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
30 lines
790 B
Text
30 lines
790 B
Text
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
|
|
pkgname=py3-tenacity
|
|
_pkgname=tenacity
|
|
pkgver=8.2.1
|
|
pkgrel=0
|
|
pkgdesc="general-purpose retrying library"
|
|
url="https://tenacity.readthedocs.io/"
|
|
arch="noarch"
|
|
license="Apache-2"
|
|
depends="python3"
|
|
makedepends="py3-setuptools py3-pytest py3-setuptools_scm"
|
|
checkdepends="py3-tornado py3-typeguard"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest -v
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
43decc20206544165d7ad4ae67292388c45c70a126d3b1ba529529429897dafc1bf8df72a15b545a80cc1fe0eee766866e592d3f49ee6a24feddcb525dffaab8 tenacity-8.2.1.tar.gz
|
|
"
|