in my desert village i seemed to only have one villager left. a butcher. all the doors were destroyed so i replaced all doors and spawned in one villager egg. then i fenced off the village and spammed torches everywhere. but these two villagers arent breeding, despite having 20+ empty houses with doors for them.
also has there been any mention on a simpler breeding system. having a swarm of pigs block you make its hard to breed them. i was thinking of like a hay bale made from wheat. sufficient for like 4 breeding before its depleted. that way you dont get swarmed by farm animals when breeding cos you could place it down and leave it --- R.I.P Ryan Dunn Proud to know my Great Grandfather was in the British SAS
Only having 2 villagers will make it hard to make them breed when they have the entire village to wander around in. You need to force them into a confined space together, like lock them into a single house. Then they will start procreating.
As for your pig situation, make a bigger pen with multiple entries? --- Like it or leave it. Hey, where are you going?