c44d7070a4
Make xbps_pkg_{name,version} return NULL if next character after the last '-' character is not a digit, and if there's a digit make sure that there exists a '_' character too. Added more tests to the testsuite to catch this. With these changes 'python-e_dbus' is properly detected and validated.