From 3e1c3a8a79c1e4690099821c62b91cd7cb78fc45 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx Date: Thu, 4 Nov 2010 00:39:44 -0700 Subject: [PATCH] setup: fix gen-package-table to allow the "_r$REV" version numbers of packages --- misc/build_helpers/gen-package-table.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/build_helpers/gen-package-table.py b/misc/build_helpers/gen-package-table.py index 06ac6efd..5c674717 100644 --- a/misc/build_helpers/gen-package-table.py +++ b/misc/build_helpers/gen-package-table.py @@ -1,4 +1,4 @@ -#!python +#!/usr/bin/env python # This script generates a table of dependencies in HTML format on stdout. # It expects to be run in the tahoe-lafs-dep-eggs directory. @@ -8,8 +8,8 @@ extensions = ('.egg', '.tar.bz2', '.tar.gz', '.exe') platform_aliases = [('i686','x86'), ('i386','x86'), ('i86pc','x86'), ('win32','windows-x86'), ('win-amd64','windows-x86_64'), ('amd64','x86_64')] python_versions = ((2,4), (2,5), (2,6), (2,7)) -FILENAME_RE = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.]*)(-py[0-9\.]*)?(-.*)?') -FILENAME_RE2 = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.]*)(win32|win-amd64)?(-py[0-9\.]*)?') +FILENAME_RE = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.r_]*)(-py[0-9\.]*)?(-.*)?') +FILENAME_RE2 = re.compile(r'([a-zA-Z_0-9]*)-([0-9\.r_]*)(win32|win-amd64)?(-py[0-9\.]*)?') matrix = {} -- 2.45.2