1*4882a593Smuzhiyun# This class ensures that the upstream version check only 2*4882a593Smuzhiyun# accepts even minor versions (i.e. 3.0.x, 3.2.x, 3.4.x, etc.) 3*4882a593Smuzhiyun# This scheme is used by Gnome and a number of other projects 4*4882a593Smuzhiyun# to signify stable releases vs development releases. 5*4882a593SmuzhiyunUPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar" 6