# lirc-setup Traceback (most recent call last): File "/usr/bin/lirc-setup", line 10, in <module> import mvc_control File "/usr/lib64/python3.3/site-packages/lirc/mvc_control.py", line 2, in <module> import gi ImportError: No module named 'gi' From mvc_control.py: '' Simple lirc setup tool - control part. ''' import gi gi.require_version('Gtk', '3.0') gi appears to be part of pygobject: /usr/lib64/python3.4/site-packages/gi [IP-] [ ] dev-python/pygobject-2.28.6-r55:2 [IP-] [ ] dev-python/pygobject-3.16.2:3 [IP-] [ ] x11-libs/gtk+-2.24.28-r1:2 [IP-] [ ] x11-libs/gtk+-3.16.7:3
Another issue occurs at line 12 of /usr/lib64/python3.3/site-packages/lirc/mvc_view.py: 12:gi.require_version('Vte', '2.91') File "/usr/lib64/python3.3/site-packages/lirc/mvc_view.py", line 12, in <module> gi.require_version('Vte', '2.91') File "/usr/lib64/python3.3/site-packages/gi/__init__.py", line 106, in require_version (namespace, version)) ValueError: Namespace Vte not available for version 2.91 Not sure what package this is referring. x11-libs/vte is from 0.28 to 0.42. Python-vte in Debian is of a similar level.
To make lirc-setup work, these dependencies need to be added: x11-libs/vte[introspection] dev-python/pygobject I'm handling this at https://github.com/gentoo/gentoo/pull/3150#pullrequestreview-14676737
Fixed in 0.9.4c
commit f6c5ac0de170ab7ad1b3701738c74e8c58c9c740 (HEAD -> master, origin/master, origin/HEAD) Author: Craig Andrews <candrews@integralblue.com> AuthorDate: Sat Dec 17 21:39:47 2016 -0500 Commit: Patrice Clement <monsieurp@gentoo.org> CommitDate: Fri Dec 30 22:54:51 2016 +0100 app-misc/lirc-0.9.4c: version bump. * Clean up dependencies. * Remove irman and iguanair use flags: these have been moved out of lirc upstream. * Use xdg-utils.eclass to cleanup XDG_* env causing sandbox violation. * Fix dependencies for lirc-setup. Gentoo-Bug: https://bugs.gentoo.org/602978 Gentoo-Bug: https://bugs.gentoo.org/587770 Gentoo-Bug: https://bugs.gentoo.org/591264 Closes: https://github.com/gentoo/gentoo/pull/3150 app-misc/lirc/Manifest | 1 + app-misc/lirc/lirc-0.9.4c.ebuild | 150 +++++++++++++++++++++++++++++++++++++++ app-misc/lirc/metadata.xml | 1 + 3 files changed, 152 insertions(+) create mode 100644 app-misc/lirc/lirc-0.9.4c.ebuild PR merged, thanks!