def METHOD_NAME():
    assert DebianVersionParser().parse('1.1.2+foofoofoo') == ('1.1.2+foofoofoo', Pf.IGNORE | Pf.ANY_IS_PATCH)
    assert DebianVersionParser().parse('1.1.2+foofoofoo1') == ('1.1.2+foofoofoo1', Pf.IGNORE | Pf.ANY_IS_PATCH)
    assert DebianVersionParser(['foofoofoo']).parse('1.1.2+foofoofoo') == ('1.1.2', 0)
    assert DebianVersionParser(['foofoofoo']).parse('1.1.2+foofoofoo1') == ('1.1.2', 0)