PVC can't be used for supply lines.
They can be CPVC though. You would use a Male adapter either threaded into the valve, or is the valve is a sweat type, you will need to solder on some female adapters.
Plastic fittings should be male.
Female adapters can crack.