New package: python3-outcome-1.1.0
This commit is contained in:
parent
1c034ff93f
commit
3813d16dd0
1 changed files with 23 additions and 0 deletions
23
srcpkgs/python3-outcome/template
Normal file
23
srcpkgs/python3-outcome/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue