From 4911282cbf231b116872a6f16eb838f7862ebc36 Mon Sep 17 00:00:00 2001 From: Ansgar Burchardt Date: Tue, 18 Aug 2015 22:20:06 +0200 Subject: [PATCH] Allow *.asc to be part of source packages The patch in 9a1cfa782b2147f017debea6819d71707ff5ab7d is not enough to start accepting *.asc. Bug: https://bugs.debian.org/759401 --- daklib/regexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daklib/regexes.py b/daklib/regexes.py index 6a1acd82..21defe93 100644 --- a/daklib/regexes.py +++ b/daklib/regexes.py @@ -135,11 +135,11 @@ re_file_dsc = re.compile(_re_file_prefix + r'\.dsc$') # Match other source files # Groups: package, version -re_file_source = re.compile(_re_file_prefix + r'(?:(?:\.orig(?:-[a-zA-Z0-9-]+)?|\.debian)?\.tar\.(?:bz2|gz|xz)|\.diff\.gz)$') +re_file_source = re.compile(_re_file_prefix + r'(?:(?:\.orig(?:-[a-zA-Z0-9-]+)?|\.debian)?\.tar\.(?:bz2|gz|xz)|\.diff\.gz|\.asc)$') # Match upstream tarball # Groups: package, version -re_file_orig = re.compile(_re_file_prefix + r'\.orig(?:-[a-zA-Z0-9-]+)?\.tar\.(?:bz2|gz|xz)') +re_file_orig = re.compile(_re_file_prefix + r'\.orig(?:-[a-zA-Z0-9-]+)?(?:\.tar\.(?:bz2|gz|xz)|\.asc)') ###################################################################### # Patterns matching fields # -- 2.39.2