blob: bdc6cbec076152725940ceb2d052591f8f36ccb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-outcome
pkgver=1.0.1
pkgrel=0
pkgdesc="Capture the outcome of Python function calls"
url="https://github.com/python-trio/outcome"
arch="noarch"
license="MIT OR Apache-2.0"
depends="python3 py3-attrs py3-async_generator"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://pypi.python.org/packages/source/o/outcome/outcome-$pkgver.tar.gz"
builddir="$srcdir/outcome-$pkgver"
build() {
python3 setup.py build
}
check() {
PYTHONPATH="$PWD/build/lib" pytest
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="891ce0a3154972e36eaaf4954866b6869f961d05d22bbecdfcbb8cf8b5352db22ee994cd67f6074e425c3a4f452c73013f421f67cd593ca831e8fe04c730b9d2 outcome-1.0.1.tar.gz"
|