3.12: import capes from 3.8 asis...

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>