Ebuild should use distutils-r1.eclass instead of this: if use python; then pushd pjsip-apps/src/python python setup.py install --prefix="${D}/usr/" popd fi Also ebuild does not check exit codes of these commands and has missing dev-lang/python run time and build time depend and missing line: REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
removed