From a98f58258b1eef5e6e94a1bf84b41350e8d1b0bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20Nizio?= Date: Tue, 30 Oct 2012 14:03:21 +0100 Subject: [PATCH] [dev-python/python-bugzilla] use the eclass correctly --- .../python-bugzilla/python-bugzilla-0.7.0_p20121019.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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"