2023-11-24 18:30:28 +00:00
|
|
|
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
2023-01-11 00:40:45 +00:00
|
|
|
pkgname=py3-vine
|
|
|
|
pkgver=5.0.0
|
2023-11-24 18:30:28 +00:00
|
|
|
pkgrel=2
|
2023-01-11 00:40:45 +00:00
|
|
|
pkgdesc="futures and promises implementation for python"
|
|
|
|
url="https://github.com/celery/vine"
|
|
|
|
arch="noarch"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
depends="python3"
|
|
|
|
makedepends="py3-setuptools"
|
|
|
|
checkdepends="py3-pytest py3-case py3-nose"
|
2023-11-24 18:30:28 +00:00
|
|
|
subpackages="$pkgname-pyc"
|
2023-01-11 00:40:45 +00:00
|
|
|
source="https://files.pythonhosted.org/packages/source/v/vine/vine-$pkgver.tar.gz"
|
|
|
|
builddir="$srcdir/vine-$pkgver"
|
|
|
|
|
|
|
|
replaces="py-vine" # Backwards compatibility
|
|
|
|
provides="py-vine=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
|
|
|
|
build() {
|
|
|
|
python3 setup.py build
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
python3 -m pytest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="
|
|
|
|
ff8f4b3f675220772ed0523e468eedbaec4aca793877b984e9a215603d1288cc3cc71dfeb152219d22f98de0ac7e9f9fa0cc35c2424ff36044cfc8f28192c159 vine-5.0.0.tar.gz
|
|
|
|
"
|