diff options
author | Brian Harring <ferringb@gmail.com> | 2023-12-25 13:42:12 -0800 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-26 19:43:58 +0200 |
commit | f9b39f8d7a18859450c6351ef77e72ef032621be (patch) | |
tree | 69b1f8d540d0e310c6c778f59eb64a6fa7573018 /tests | |
parent | start work on 0.12.25 (diff) | |
download | pkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.tar.gz pkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.tar.bz2 pkgcore-f9b39f8d7a18859450c6351ef77e72ef032621be.zip |
Fix: parsing bug that allows a revision to be part of a package
The previous logic was just checking for a trailing version component;
it wasn't checking for a trailing revision.
Relates to issue: #419
Signed-off-by: Brian Harring <ferringb@gmail.com>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ebuild/test_cpv.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ebuild/test_cpv.py b/tests/ebuild/test_cpv.py index e014d751d..1a778a936 100644 --- a/tests/ebuild/test_cpv.py +++ b/tests/ebuild/test_cpv.py @@ -52,6 +52,7 @@ class TestCPV: "+dfa", "timidity--9f", "ormaybe---13_beta", + "bar-11-r3", ) good_cp = ( |