(PUP-2802) add slot support for packages in portage.rb