New package: python3-outcome-1.1.0

This commit is contained in:
Arjan Mossel 2021-01-28 01:01:37 +01:00 committed by Érico Nogueira Rolim
parent 1c034ff93f
commit 3813d16dd0

View file

@ -0,0 +1,23 @@
# Template file for 'python3-outcome'
pkgname=python3-outcome
version=1.1.0
revision=1
wrksrc="outcome-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio"
short_desc="Capture the outcome of Python function calls"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="Apache-2.0, MIT"
homepage="https://github.com/python-trio/outcome"
distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz"
checksum=e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967
do_check() {
PYTHONPATH=$(cd build/lib* && pwd) pytest
}
post_install() {
vlicense LICENSE
}