X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fregexes.py;h=8b548ce96259ee7d056439fe8d380869cccbc3cb;hb=41a349d2ea5eb48af50e1e672ce4333594a9ffe5;hp=ae8fd91de66acf7cd39aedf6ce09f91cbf3ded22;hpb=1183fa884283447de21bfc223704faa4a073342a;p=dak.git diff --git a/daklib/regexes.py b/daklib/regexes.py index ae8fd91d..8b548ce9 100644 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -141,6 +141,10 @@ re_file_source = re.compile(_re_file_prefix + r'(?:(?:\.orig(?:-[a-zA-Z0-9-]+)?| # Groups: package, version re_file_orig = re.compile(_re_file_prefix + r'\.orig(?:-[a-zA-Z0-9-]+)?(?:\.tar\.(?:bz2|gz|xz)|\.asc)') +# Match buildinfo file +# Groups: package, version, suffix +re_file_buildinfo = re.compile(_re_file_prefix + r'_(?P[a-zA-Z0-9+]+)\.buildinfo$') + ###################################################################### # Patterns matching fields # ######################################################################