I'm trying to write a new ebuild to support an upcoming stable RC for the KiCad project. Unfortunately, the latest ebuild looks like this:
sci-electronics/kicad-20130518.ebuild
The KiCad developers have decided that the new stable release, the first in several years, will be called 4.0, resulting in an ebuild that should look like this:
sci-electronics/kicad-4.0.ebuild (or -rc1/2/etc)
20130518 is more than 4.0, meaning Portage thinks that the older KiCad ebuild is the newer one. How would I fix this? Does the old ebuild need to just be masked, and eventually removed from the tree?

