gentoo-ebuilds/dev-python/pytest-twisted/pytest-twisted-1.14.3-r1.ebuild
Arthur Zamarin 3b9a2db45e
dev-python/pytest-twisted: Stabilize 1.14.3-r1 ALLARCHES, #962364
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-05 10:54:59 +03:00

36 lines
951 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# mgorny: py3.14 fails on hypothesis tests for me (inside crash)
# I suppose we can skip them but let's test a revdep first
PYTHON_COMPAT=( python3_{11..13} )
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