I was trying to emerge ansible and it kept trying to bring in Qt4 despite me hard masking it Seems qtconsole has the following dependency || ( dev-python/pyside[${PYTHON_USEDEP},svg] dev-python/PyQt5[${PYTHON_USEDEP},svg] dev-python/PyQt4[${PYTHON_USEDEP},svg] ) This prefers pyside and tries to pull in Qt4, is there a better way of splitting this up? Perhaps with qt4/5 use flags
Portage prefers the left-most option by default, so it shouldn't try to pull in pyside if you hard masked it (or did you just hard mask qt4 itself?) At a minimum, I'd suggest we reorder that clause to prefer PyQt5. I certainly won't complain if someone removes the Qt 4 pyside/PyQt4 options though.
I didn't hard mask no, it took a while for me to figure out what what pulling it in though. I wrongly suspected packages with qt4 in them as portage kept trying to add qt4 use flags to phonon in my package.use Ansible was pulling in 80+ packages
Just to me clear I had -qt4 in my make.conf
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f4fb102fc8fc1566475bdba737fe2a98b614a7 commit f6f4fb102fc8fc1566475bdba737fe2a98b614a7 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2017-09-13 12:06:35 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-09-13 12:06:54 +0000 dev-python/qtconsole: avoid pulling in deprecated Qt 4 Closes: https://bugs.gentoo.org/630786 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/qtconsole/qtconsole-4.3.0.ebuild | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/sync/gentoo.git/commit/?id=f6f4fb102fc8fc1566475bdba737fe2a98b614a7 commit f6f4fb102fc8fc1566475bdba737fe2a98b614a7 Author: Michael Palimaka <kensington@gentoo.org> AuthorDate: 2017-09-13 12:06:35 +0000 Commit: Michael Palimaka <kensington@gentoo.org> CommitDate: 2017-09-13 12:06:54 +0000 dev-python/qtconsole: avoid pulling in deprecated Qt 4 Closes: https://bugs.gentoo.org/630786 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-python/qtconsole/qtconsole-4.3.0.ebuild | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fbf21d7518946e76f4b937ee1b60136104d461b commit 9fbf21d7518946e76f4b937ee1b60136104d461b Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-11-23 23:06:57 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-11-23 23:08:11 +0000 dev-python/ipython: Drop USE=qt4, keep qt5 Follow-up to: Bug: https://bugs.gentoo.org/630786 Package-Manager: Portage-2.3.16, Repoman-2.3.6 dev-python/ipython/ipython-5.3.0.ebuild | 6 +++--- dev-python/ipython/ipython-5.4.1.ebuild | 3 +-- dev-python/ipython/ipython-6.1.0.ebuild | 3 +-- 3 files changed, 5 insertions(+), 7 deletions(-)}