Net-p2p/deluge depends on dev-python/twisted-core and dev-python/twisted-web, while net-proxy/mitmproxy depends on dev-python/twisted. You cannot have both dev-python/twisted and dev-python/twisted-{core,web}. Is there a way around it? * Error: The above package list contains packages which cannot be * installed at the same time on the same system. (dev-python/twisted-core-15.2.1:0/0::gentoo, installed) pulled in by >=dev-python/twisted-core-13.0[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] (>=dev-python/twisted-core-13.0[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (net-p2p/deluge-1.3.13:0/0::gentoo, installed) =dev-python/twisted-core-15.2*[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] (=dev-python/twisted-core-15.2*[python_targets_python2_7(-),-python_single_target_python2_7(-)]) required by (dev-python/twisted-web-15.2.1:0/0::gentoo, installed) (dev-python/twisted-16.4.1:0/0::gentoo, ebuild scheduled for merge) pulled in by >=dev-python/twisted-16.0.0[python_targets_python2_7(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] (>=dev-python/twisted-16.0.0[python_targets_python2_7(-),python_targets_python3_4(-),-python_single_target_python2_7(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)]) required by (www-servers/tornado-4.4.2-r1:0/0::gentoo, ebuild scheduled for merge) (dev-python/twisted-web-15.2.1:0/0::gentoo, installed) pulled in by >=dev-python/twisted-web-13.0[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] (>=dev-python/twisted-web-13.0[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (net-p2p/deluge-1.3.13:0/0::gentoo, installed)
I've removed dev-python/twisted-{core,web} and installed net-proxy/mitmproxy with dev-python/twisted. And deluge seems to be working fine with dev-python/twisted.
I'll fix dependencies in deluge unstable ebuild to require: || ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] >=dev-python/twisted-web-13.0[${PYTHON_USEDEP}] ) as twisted-core is required by twisted-web anyway. Stable deluge is going to stay as it is (I dare not touch it) as it will be superseded by 1.3.13 as soon as possible. Kristian, is this fine for you? Does it look correct?
(In reply to Paolo Pedroni from comment #2) > I'll fix dependencies in deluge unstable ebuild to require: > || ( >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] > >=dev-python/twisted-web-13.0[${PYTHON_USEDEP}] ) > as twisted-core is required by twisted-web anyway. > > Stable deluge is going to stay as it is (I dare not touch it) as it will be > superseded by 1.3.13 as soon as possible. > > Kristian, is this fine for you? Does it look correct? optional dep itself is correct, not sure how closely tied twisted-web and twisted-core is, it might still make sense to have a dep on both if there is uncertainty (just use an additional parenthesis) , but these are possibly so closely linked it is OK anyways.
(In reply to Kristian Fiskerstrand from comment #3) > optional dep itself is correct, not sure how closely tied twisted-web and > twisted-core is, it might still make sense to have a dep on both if there is > uncertainty (just use an additional parenthesis) , but these are possibly so > closely linked it is OK anyways. From twisted-web ebuild: DEPEND=" =dev-python/twisted-core-${TWISTED_RELEASE}*[${PYTHON_USEDEP}] so it looks good to me.
Created attachment 456288 [details, diff] 0001-net-p2p-deluge-Fix-dependecy-on-dev-python-twisted-f.patch Patch to fix dependencies on twisted monolithic ebuilds. k_f, please review and apply.
Kristian, is everything all right? Is there some problem with the patch?
(In reply to Paolo Pedroni from comment #6) > Kristian, is everything all right? Is there some problem with the patch? I made a few changes, commited as: commit c0c490b40ca22da7024d320bf6248b09ed72db92 Author: Kristian Fiskerstrand <k_f@gentoo.org> Date: Thu Dec 22 16:19:19 2016 +0100 net-p2p/deluge: Clean up old testing versions Package-Manager: Portage-2.3.3, Repoman-2.3.1 commit 95fa09d1a3f307d7dda0bec6391153b7aa11eee4 Author: Kristian Fiskerstrand <k_f@gentoo.org> Date: Thu Dec 22 16:18:25 2016 +0100 net-p2p/deluge: Optional dep on monolithic or modular twisted Gentoo-Bug: 602424 Package-Manager: Portage-2.3.3, Repoman-2.3.1