master cylinder has 4 ports on the 172 cup, non cups have 2 port as they distribute through the abs modulator valves,
172 cups have a rear axle compensator valve to reduce fluid pressure to the back brakes, non cups don't, they reduce pressure through the abs modulator.
some 172 (03 ish on) had the jc5 130 gearbox fitted that read its speedo signal from the abs sensor so more trouble than its worth if starting with these.
In short you'll need the:
cup master cylinder
cup brake pipes (or make your own)
rear compensator valve.