summaryrefslogtreecommitdiff
path: root/dev-python/pytest-twisted
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-05 07:14:28 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2026-04-05 07:14:28 +0000
commit3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b (patch)
tree6f557e790667e96e8b85eea50c54fb4182cc83b8 /dev-python/pytest-twisted
parenteb879137397b2780739bdbeddd7ea01439186c1c (diff)
downloadbaldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.tar.gz
baldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.tar.xz
baldeagleos-repo-3f9f4e97c1ac6ba1b1d0590e4c70afeb592c172b.zip
Adding metadata
Diffstat (limited to 'dev-python/pytest-twisted')
-rw-r--r--dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild56
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild b/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild
deleted file mode 100644
index 4db83cf9888a..000000000000
--- a/dev-python/pytest-twisted/pytest-twisted-1.14.3.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..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}]
-"
-BDEPEND="
- test? (
- dev-python/hypothesis[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_prepare() {
- # If we let pytest-twisted autoload everywhere, it breaks tests in
- # packages that don't expect it. Apply a similar hack as for bug
- # #661218.
- sed -e 's/"pytest11": \[[^]]*\]//' -i setup.py || die
-
- # https://github.com/pytest-dev/pytest/issues/9280
- sed -e '/^pytest_plugins =/d' -i testing/conftest.py || die
-
- distutils-r1_src_prepare
-}
-
-python_test() {
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- local -x PYTEST_PLUGINS=pytest_twisted
-
- epytest -p pytester
-}