-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
26 lines (24 loc) · 904 Bytes
/
template
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
# Template file for 'python3-pytest-trio'
pkgname=python3-pytest-trio
version=0.8.0
revision=2
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
}