While in HQB today I dropped in on one of the enclosure booths. They had the extrusion you're looking for. The guy wasn't there, so I couldn't ask about the end caps. It might not be the best for you since there are no PCB support slots. I'll follow up with photos and contact info when I get back to my computer. Photos attached.
Let me know if I understand your needs. You are looking for an off-the-shelf enclosure that can house a PCB. The enclosure must have openings for one USB-A male connector and one USB-A female connector. Is that right? If so, maybe a USB power bank enclosure would better suit you. Do you have more details?