New package: python3-pytest-trio-0.8.0
This commit is contained in:
parent
c177e647be
commit
2637b27bed
1 changed files with 26 additions and 0 deletions
26
srcpkgs/python3-pytest-trio/template
Normal file
26
srcpkgs/python3-pytest-trio/template
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'python3-pytest-trio'
|
||||||
|
pkgname=python3-pytest-trio
|
||||||
|
version=0.8.0
|
||||||
|
revision=1
|
||||||
|
build_style=python3-pep517
|
||||||
|
hostmakedepends="python3-setuptools python3-wheel"
|
||||||
|
depends="python3-trio python3-outcome python3-pytest"
|
||||||
|
checkdepends="$depends python3-hypothesis"
|
||||||
|
short_desc="Pytest plugin for trio"
|
||||||
|
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
|
||||||
|
license="MIT, Apache-2.0"
|
||||||
|
homepage="https://github.com/python-trio/pytest-trio"
|
||||||
|
changelog="https://raw.githubusercontent.com/python-trio/pytest-trio/master/docs/source/history.rst"
|
||||||
|
distfiles="${PYPI_SITE}/p/pytest-trio/pytest-trio-${version}.tar.gz"
|
||||||
|
checksum=8363db6336a79e6c53375a2123a41ddbeccc4aa93f93788651641789a56fb52e
|
||||||
|
make_check_pre="env PYTHONPATH=."
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
# Defining 'pytest_plugins' in a non-top-level conftest is no
|
||||||
|
# longer supported in pytest
|
||||||
|
mv pytest_trio/_tests/conftest.py .
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue