summaryrefslogtreecommitdiff
path: root/python/build/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/build/project.py')
-rw-r--r--python/build/project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/build/project.py b/python/build/project.py
index e0868b27b..521736333 100644
--- a/python/build/project.py
+++ b/python/build/project.py
@@ -20,7 +20,7 @@ class Project:
self.base = base
if name is None or version is None:
- m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*(?:-(?:alpha|beta)\d+)?)$', self.base)
+ m = re.match(r'^([-\w]+)-(\d[\d.]*[a-z]?[\d.]*(?:-(?:alpha|beta)\d+)?)(\+.*)?$', self.base)
if name is None: name = m.group(1)
if version is None: version = m.group(2)