summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-08-10 14:39:29 +0200
committerMax Kellermann <max@musicpd.org>2021-08-10 15:00:58 +0200
commitbd9e449b69e09f309f26d97ede0e363458e163c0 (patch)
treef9e55605cbea70c2f9c87647ee02f5376bc0f649 /python
parentf3d67115d7ce6843632b04498fa2140354ed90e3 (diff)
python/project: re-add support for version suffix
Got lost in commit 0f56ddb80554e014714b9d0385a0bf175521a61d
Diffstat (limited to 'python')
-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)