euscan: fixed patched versions issue
The old code extracted version 0.8.6.1 from buildbot-0.8.6p1 instead of 0.8.6_p1 Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
7f8fb05c23
commit
373fba6e01
@ -153,7 +153,7 @@ def brute_force(cpv, url):
|
||||
components = helpers.split_version(ver)
|
||||
versions = helpers.gen_versions(components, CONFIG["brute-force"])
|
||||
|
||||
""" Remove unwanted versions """
|
||||
# Remove unwanted versions
|
||||
for v in versions:
|
||||
if helpers.vercmp(cp, ver, helpers.join_version(v)) >= 0:
|
||||
versions.remove(v)
|
||||
|
@ -126,7 +126,7 @@ def gentoo_mangle_version(up_pv):
|
||||
pv = up_pv = rev_match.group(1)
|
||||
replace_me = rev_match.group(2)
|
||||
rev = rev_match.group(3)
|
||||
additional_version = '.' + rev
|
||||
additional_version = '_p' + rev
|
||||
|
||||
for this_suf in suf_matches.keys():
|
||||
if rs_match:
|
||||
|
Loading…
Reference in New Issue
Block a user