[dev-python/python-bugzilla] use the eclass correctly

This commit is contained in:
Sławomir Nizio
2012-10-30 14:03:21 +01:00
parent 4c74bbefaa
commit a98f58258b
@@ -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"