When you select ppc and stable at the top of the page, it shows also ppc64 stable packages which don't have any ppc keyword.
Looks like a bad regex.
Ugly regular expression fix. Speed up execution a bit as well. gentoo.py: 297,302c297,299 < stable_extra = ('ebuild.arch REGEXP "^%s| %s" ' < ' AND ebuild.prevarch NOT REGEXP"^%s| %s"' < % (arch,arch,arch,arch)) < testing_extra = ('ebuild.arch REGEXP "^~%s| ~%s" ' < ' AND ebuild.prevarch NOT REGEXP "^~%s| ~%s"' < % (arch,arch,arch,arch)) --- > stable_extra = ('ebuild.arch REGEXP "^%s[[:>:]]|[[:blank:]]%s[[:>:]]" ' > % (arch,arch)) > testing_extra = ('ebuild.arch REGEXP "[~]%s[[:>:]]" ' % arch)
Yep, works now as it should. Thanks for the fix :-)