But PPC32 Linux support is quickly falling off. Gentoo isn't just used because it's fun to leave your lampshade iMac G4 compiling a kernel for days, but because it's one of the few distros still supporting the platform. There's unsupported testing repos for Debian (and maybe Ubuntu?) plus the up-and-coming Adelie. Otherwise your best bet is OpenBSD - FreeBSD and NetBSD usually lack precompiled ports, and FreeBSD has announced the next major release will almost definitely drop 32 bit PPC.
The 64 bit G5 systems are much better supporte. I'm pretty sure they can boot ppc64le that many distros target. They're also even more modern - the final models had PCIe, SATA, and up to 16GB of DDR2 RAM. Sadly there's nothing modern about the power efficiency, nor the self-destructing water cooling system.