use new spec_from_line() to parse requirements