repo.py: s/ver/version/ and use pyalpm for list