mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 05:57:07 -08:00
Tests pass for me with python 3.14 and pytest-9.0.2 (looking at Debian package, it seems that there was a transient regression with pytest-8.2 that broke some tests...) Closes: https://bugs.gentoo.org/973897 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
35 lines
827 B
Bash
35 lines
827 B
Bash
# Copyright 1999-2026 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
PYTHON_COMPAT=( python3_{11..14} )
|
|
DISTUTILS_USE_PEP517=setuptools
|
|
|
|
inherit distutils-r1
|
|
|
|
DESCRIPTION="A pytest plugin for testing Twisted framework consumers"
|
|
HOMEPAGE="
|
|
https://github.com/pytest-dev/pytest-twisted/
|
|
https://pypi.org/project/pytest-twisted/
|
|
"
|
|
SRC_URI="
|
|
https://github.com/pytest-dev/pytest-twisted/archive/v${PV}.tar.gz
|
|
-> ${P}.gh.tar.gz
|
|
"
|
|
|
|
LICENSE="BSD"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
|
|
|
|
RDEPEND="
|
|
dev-python/decorator[${PYTHON_USEDEP}]
|
|
dev-python/greenlet[${PYTHON_USEDEP}]
|
|
>=dev-python/pytest-2.3[${PYTHON_USEDEP}]
|
|
dev-python/twisted[${PYTHON_USEDEP}]
|
|
"
|
|
EPYTEST_PLUGIN_LOAD_VIA_ENV=1
|
|
EPYTEST_PLUGINS=( "${PN}" hypothesis )
|
|
EPYTEST_XDIST=1
|
|
distutils_enable_tests pytest
|