Mercurial > treepkg
changeset 197:bd887d02068a
Make the version detection for the gnupg recipes more tolerant to deal
with version numbers like e.g. 1.4.2rc1.
author | Bernhard Herzog <bh@intevation.de> |
---|---|
date | Wed, 20 Aug 2008 12:58:20 +0000 |
parents | 86ea689eda5f |
children | edd20598be27 |
files | recipes/gnupg/base.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/recipes/gnupg/base.py Fri Aug 01 19:54:58 2008 +0000 +++ b/recipes/gnupg/base.py Wed Aug 20 12:58:20 2008 +0000 @@ -28,7 +28,7 @@ # Matches lines like # m4_define(my_version, [1.1.7]) # used by most of the gnupg packages - match = re.match(r"m4_define\(\[?my_version\]?, \[([0-9.]+)\]\)", + match = re.match(r"m4_define\(\[?my_version\]?, \[([^]]+)\]\)", line) if match: return match.group(1)