diff --git a/net-p2p/deluge/deluge-2.1.1-r6.ebuild b/net-p2p/deluge/deluge-2.1.1-r6.ebuild index 0cbe8012ae63c..22a52989ba5ca 100644 --- a/net-p2p/deluge/deluge-2.1.1-r6.ebuild +++ b/net-p2p/deluge/deluge-2.1.1-r6.ebuild @@ -29,11 +29,6 @@ REQUIRED_USE=" BDEPEND=" dev-util/intltool - test? ( - $(python_gen_cond_dep ' - >=dev-python/pytest-twisted-1.13.4-r1[${PYTHON_USEDEP}] - ') - ) " RDEPEND=" @@ -69,6 +64,7 @@ PATCHES=( "${FILESDIR}/${P}-email-module-replace.patch" ) +EPYTEST_PLUGINS=( pytest-twisted ) distutils_enable_tests pytest python_prepare_all() { @@ -110,8 +106,7 @@ python_test() { 'deluge/tests/test_core.py::TestCore::test_pause_torrent' ) - # dev-python/pytest-twisted has disabled autoloading - epytest -m "not (todo or gtkui)" -p pytest_twisted -v + epytest -m "not (todo or gtkui)" -v } python_install_all() { diff --git a/net-p2p/deluge/deluge-2.1.1-r7.ebuild b/net-p2p/deluge/deluge-2.1.1-r7.ebuild index c7a066a57f8c6..262cb6b6bdc8a 100644 --- a/net-p2p/deluge/deluge-2.1.1-r7.ebuild +++ b/net-p2p/deluge/deluge-2.1.1-r7.ebuild @@ -30,11 +30,6 @@ REQUIRED_USE=" BDEPEND=" dev-util/intltool - test? ( - $(python_gen_cond_dep ' - >=dev-python/pytest-twisted-1.13.4-r1[${PYTHON_USEDEP}] - ') - ) " RDEPEND=" @@ -73,6 +68,7 @@ PATCHES=( "${FILESDIR}/${P}-email-module-replace.patch" ) +EPYTEST_PLUGINS=( pytest-twisted ) distutils_enable_tests pytest python_prepare_all() { @@ -114,8 +110,7 @@ python_test() { 'deluge/tests/test_core.py::TestCore::test_pause_torrent' ) - # dev-python/pytest-twisted has disabled autoloading - epytest -m "not (todo or gtkui)" -p pytest_twisted -v + epytest -m "not (todo or gtkui)" -v } python_install_all() { diff --git a/net-p2p/deluge/deluge-2.2.0.ebuild b/net-p2p/deluge/deluge-2.2.0.ebuild index 9193bc68f4155..366624b35706b 100644 --- a/net-p2p/deluge/deluge-2.2.0.ebuild +++ b/net-p2p/deluge/deluge-2.2.0.ebuild @@ -30,11 +30,6 @@ REQUIRED_USE=" BDEPEND=" dev-util/intltool - test? ( - $(python_gen_cond_dep ' - >=dev-python/pytest-twisted-1.13.4-r1[${PYTHON_USEDEP}] - ') - ) " RDEPEND=" @@ -64,6 +59,7 @@ RDEPEND=" ) " +EPYTEST_PLUGINS=( pytest-twisted ) distutils_enable_tests pytest python_prepare_all() { @@ -105,8 +101,7 @@ python_test() { 'deluge/tests/test_core.py::TestCore::test_pause_torrent' ) - # dev-python/pytest-twisted has disabled autoloading - epytest -m "not (todo or gtkui)" -p pytest_twisted -v + epytest -m "not (todo or gtkui)" -v } python_install_all() { diff --git a/net-p2p/deluge/deluge-9999.ebuild b/net-p2p/deluge/deluge-9999.ebuild index 9193bc68f4155..366624b35706b 100644 --- a/net-p2p/deluge/deluge-9999.ebuild +++ b/net-p2p/deluge/deluge-9999.ebuild @@ -30,11 +30,6 @@ REQUIRED_USE=" BDEPEND=" dev-util/intltool - test? ( - $(python_gen_cond_dep ' - >=dev-python/pytest-twisted-1.13.4-r1[${PYTHON_USEDEP}] - ') - ) " RDEPEND=" @@ -64,6 +59,7 @@ RDEPEND=" ) " +EPYTEST_PLUGINS=( pytest-twisted ) distutils_enable_tests pytest python_prepare_all() { @@ -105,8 +101,7 @@ python_test() { 'deluge/tests/test_core.py::TestCore::test_pause_torrent' ) - # dev-python/pytest-twisted has disabled autoloading - epytest -m "not (todo or gtkui)" -p pytest_twisted -v + epytest -m "not (todo or gtkui)" -v } python_install_all() {