I know that gentoo has support for local repositories, and emerge is built on python so...this would make sense. But there is a difference between rpms and ebuilds..