/dports/games/minilens/minilens-1.2/shared/ |
H A D | config.gd | 9 var version_parts = [ 16 var version = version_parts[0] + "." + version_parts[1] 17 if version_parts[2] != "0" and version_parts[2] != "": 18 version += "." + version_parts[2] 19 if version_parts[3] != "": 20 version += "-" + version_parts[3]
|
/dports/www/drupal9/drupal-9.2.10/core/lib/Drupal/Core/Extension/ |
H A D | ExtensionVersion.php | 69 $version_parts = explode('.', $version_string); 70 $major_version = $version_parts[0]; 71 $version_parts_count = count($version_parts); 76 $minor_version = $version_parts[1]; 78 $last_part_split = explode('-', $version_parts[count($version_parts) - 1]); 83 || ($version_parts_count === 3 && !is_numeric($version_parts[1]))
|
/dports/devel/libpeas/libpeas-1.26.0/loaders/lua5.1/ |
H A D | peas-lua-utils.c | 75 gint64 *version_parts; in peas_lua_utils_check_version() local 85 version_parts = g_newa (gint64, n_version_parts); in peas_lua_utils_check_version() 91 version_parts[i] = g_ascii_strtoll (version_str_parts[i], &end, 10); in peas_lua_utils_check_version() 94 version_parts[i] < 0 || in peas_lua_utils_check_version() 95 version_parts[i] == G_MAXINT64) in peas_lua_utils_check_version() 103 version_parts[0] != req_major || in peas_lua_utils_check_version() 104 version_parts[1] < req_minor || in peas_lua_utils_check_version() 105 (version_parts[1] == req_minor && version_parts[2] < req_micro)) in peas_lua_utils_check_version()
|
/dports/devel/py-libpeas/libpeas-1.26.0/loaders/lua5.1/ |
H A D | peas-lua-utils.c | 75 gint64 *version_parts; in peas_lua_utils_check_version() local 85 version_parts = g_newa (gint64, n_version_parts); in peas_lua_utils_check_version() 91 version_parts[i] = g_ascii_strtoll (version_str_parts[i], &end, 10); in peas_lua_utils_check_version() 94 version_parts[i] < 0 || in peas_lua_utils_check_version() 95 version_parts[i] == G_MAXINT64) in peas_lua_utils_check_version() 103 version_parts[0] != req_major || in peas_lua_utils_check_version() 104 version_parts[1] < req_minor || in peas_lua_utils_check_version() 105 (version_parts[1] == req_minor && version_parts[2] < req_micro)) in peas_lua_utils_check_version()
|
/dports/net-mgmt/observium/observium/includes/polling/os/ |
H A D | calix.inc.php | 47 unset($config['os'][$device['os']]['ifname'], $version_parts); 48 $version_parts = explode('.', $version); variable 49 if ($version_parts[0] > 2 || ($version_parts[0] == 2 && $version_parts[1] > 1))
|
/dports/russian/gd/libgd-2.3.1/config/ |
H A D | getver.pl | 14 my @version_parts = (); 32 push @version_parts, $lv if (!$key); 37 if (scalar @version_parts == 4) { 38 my $result = join(".", @version_parts[0..2]); 39 $result .= $version_parts[3];
|
/dports/ukrainian/gd/libgd-2.3.1/config/ |
H A D | getver.pl | 14 my @version_parts = (); 32 push @version_parts, $lv if (!$key); 37 if (scalar @version_parts == 4) { 38 my $result = join(".", @version_parts[0..2]); 39 $result .= $version_parts[3];
|
/dports/japanese/gd/libgd-2.3.1/config/ |
H A D | getver.pl | 14 my @version_parts = (); 32 push @version_parts, $lv if (!$key); 37 if (scalar @version_parts == 4) { 38 my $result = join(".", @version_parts[0..2]); 39 $result .= $version_parts[3];
|
/dports/graphics/gd/libgd-2.3.1/config/ |
H A D | getver.pl | 14 my @version_parts = (); 32 push @version_parts, $lv if (!$key); 37 if (scalar @version_parts == 4) { 38 my $result = join(".", @version_parts[0..2]); 39 $result .= $version_parts[3];
|
/dports/www/drupal8/drupal-8.9.20/core/modules/update/src/ |
H A D | ModuleVersion.php | 62 $version_parts = explode('.', $version_string); 63 $major_version = $version_parts[0]; 64 $version_parts_count = count($version_parts); 65 $last_part_split = explode('-', $version_parts[count($version_parts) - 1]); 69 || ($version_parts_count === 3 && !is_numeric($version_parts[1]))
|
/dports/www/drupal9/drupal-9.2.10/core/modules/update/src/ |
H A D | ModuleVersion.php | 70 $version_parts = explode('.', $version_string); 71 $major_version = $version_parts[0]; 72 $version_parts_count = count($version_parts); 73 $last_part_split = explode('-', $version_parts[count($version_parts) - 1]); 77 || ($version_parts_count === 3 && !is_numeric($version_parts[1]))
|
/dports/devel/py-qtbuilder/PyQt-builder-1.9.1/doc/ |
H A D | conf.py | 58 version_parts = release.split('.') variable 59 if version_parts[-1].startswith('dev'): 60 del version_parts[-1] 61 version = '.'.join(version_parts) 62 del version_parts
|
/dports/devel/py-sip/sip-5.5.0/doc/ |
H A D | conf.py | 57 version_parts = release.split('.') variable 58 if version_parts[-1].startswith('dev'): 59 del version_parts[-1] 60 version = '.'.join(version_parts) 61 del version_parts
|
/dports/devel/py-oslo.messaging/oslo.messaging-12.11.0/oslo_messaging/ |
H A D | _utils.py | 49 version_parts = version.split('.') 52 rev = version_parts[2] 60 if int(version_parts[0]) != int(imp_version_parts[0]): # Major 62 if int(version_parts[1]) > int(imp_version_parts[1]): # Minor 64 if (int(version_parts[1]) == int(imp_version_parts[1]) and
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/ |
H A D | SConscript | 185 version_extra = version_parts[3] if version_parts[3] else "" 186 if version_parts[4] == 'rc': 187 version_parts[3] = int(version_parts[5]) + -50 188 elif version_parts[3]: 189 version_parts[2] = int(version_parts[2]) + 1 190 version_parts[3] = -100 192 version_parts[3] = 0 193 version_parts = [ int(x) for x in version_parts[:4]] 219 ('@mongo_version_major@', version_parts[0]), 220 ('@mongo_version_minor@', version_parts[1]), [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/buildscripts/ |
H A D | setup_multiversion_mongodb.py | 48 version_parts = re.split(r"\.|-", version) 50 if version_parts[-1] == "pre": 53 version_parts.pop() 55 if version_parts[-1].startswith("rc"): 59 version_parts[-1] = int(version_parts[-1][2:]) + RC_OFFSET 60 elif version_parts[0].startswith("v") and version_parts[-1] == "latest": 61 version_parts[0] = version_parts[0][1:] 64 version_parts[-1] = float("inf") 70 version_parts.append(0) 73 return [float(part) for part in version_parts]
|
H A D | generate_compile_expansions.py | 51 version_parts = match_verstr(version_line) 52 if not version_parts: 58 version_parts = match_verstr(version_line) 59 if not version_parts: 62 if version_parts[0]:
|
/dports/x11-toolkits/gtk30/gtk+-3.24.31/win32/ |
H A D | gen-gdkversionmacros-h.py | 22 version_parts = args.version.split('.') 24 gdkversionmacro_replace_items = {'@GTK_MAJOR_VERSION@': version_parts[0], 25 '@GTK_MINOR_VERSION@': version_parts[1], 26 '@GTK_MICRO_VERSION@': version_parts[2]}
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pipenv/pipenv/vendor/ |
H A D | semver.py | 52 version_parts = match.groupdict() 54 version_parts['major'] = int(version_parts['major']) 55 version_parts['minor'] = int(version_parts['minor']) 56 version_parts['patch'] = int(version_parts['patch']) 58 return version_parts
|
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/build/ |
H A D | release.py | 112 version_parts = version.split('.') variable 117 if len(version_parts) < 2: 120 if len(version_parts) > 4: 123 version_major = version_parts[0] + '.' + version_parts[1] 124 if len(version_parts) == 2: 128 version = version_major + '.' + version_parts[2] 130 if len(version_parts) == 4: 131 if version_parts[3] == 'beta': 136 print('Error: unexpected version part ' + version_parts[3])
|
/dports/audio/beets/beets-1.4.9/extra/ |
H A D | release.py | 75 version_parts = [int(p) for p in version.split('.')] 76 assert len(version_parts) == 3, "invalid version number" 77 minor = '{}.{}'.format(*version_parts) 78 major = '{}'.format(*version_parts) 93 assert version_parts > old_parts, \ 293 version_parts = [int(n) for n in cur_version.split('.')] 294 version_parts[-1] += 1 295 next_version = u'.'.join(map(str, version_parts))
|
/dports/devel/luv/luv-1.41.0-0/lib/ |
H A D | utils.lua | 176 local version_parts = {} 178 table.insert(version_parts, tonumber(part)) 180 assert(#version_parts == 3, "malformed version string: " .. min_version) 181 min_version_num = version_parts[1]*0x10000 + version_parts[2]*0x100 + version_parts[3]
|
/dports/misc/py-tqdm/tqdm-4.62.3/tests/ |
H A D | tests_version.py | 9 version_parts = re.split('[.-]', __version__) 11 assert 3 <= len(version_parts), "must have at least Major.minor.patch" 13 isinstance(literal_eval(i), int) for i in version_parts[:3]
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/ |
H A D | semver.py | 247 version_parts = { 253 for name, value in version_parts.items(): 255 version_parts[name] = value 261 self._major = version_parts["major"] 262 self._minor = version_parts["minor"] 263 self._patch = version_parts["patch"] 728 version_parts = match.groupdict() 730 version_parts["major"] = int(version_parts["major"]) 731 version_parts["minor"] = int(version_parts["minor"]) 732 version_parts["patch"] = int(version_parts["patch"]) [all …]
|
/dports/devel/py-semver/semver-2.13.0/ |
H A D | semver.py | 247 version_parts = { 253 for name, value in version_parts.items(): 255 version_parts[name] = value 261 self._major = version_parts["major"] 262 self._minor = version_parts["minor"] 263 self._patch = version_parts["patch"] 728 version_parts = match.groupdict() 730 version_parts["major"] = int(version_parts["major"]) 731 version_parts["minor"] = int(version_parts["minor"]) 732 version_parts["patch"] = int(version_parts["patch"]) [all …]
|