I would split this into 2 parts that would also more clearly express how it is parsing:

````
package_info = parse_package_info_from(output)
consume_until_end_of_description_from(output)
````