[dak/master] 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 6a1acd8..21defe9 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.1.4
Reply to: