diff --git a/dev-python/python-bugzilla/python-bugzilla-0.7.0_p20121019.ebuild b/dev-python/python-bugzilla/python-bugzilla-0.7.0_p20121019.ebuild index 4362715c6..21392550f 100644 --- a/dev-python/python-bugzilla/python-bugzilla-0.7.0_p20121019.ebuild +++ b/dev-python/python-bugzilla/python-bugzilla-0.7.0_p20121019.ebuild @@ -3,6 +3,7 @@ # $Header: $ EAPI=4 +PYTHON_DEPEND="2" inherit distutils eutils MY_P=${P%_*} @@ -24,6 +25,11 @@ src_prepare() { distutils_src_prepare } +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + pkg_postinst() { distutils_pkg_postinst elog "Automatic detection of file type of attachments"