From 2637b27bed119f1db9dc2a69dd3dbc93777f2859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Mon, 5 Jun 2023 02:54:48 -0300 Subject: [PATCH] New package: python3-pytest-trio-0.8.0 --- srcpkgs/python3-pytest-trio/template | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/python3-pytest-trio/template diff --git a/srcpkgs/python3-pytest-trio/template b/srcpkgs/python3-pytest-trio/template new file mode 100644 index 00000000000..4009a6de72c --- /dev/null +++ b/srcpkgs/python3-pytest-trio/template @@ -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 " +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 +}