Lines Matching defs:version

81         import pkg.version as version
174 "version"]
203 basic_usage["version"] = ""
261 adv_usage["verify"] = _("[-Hqv] [-p path]... [--parsable version]\n"
267 " [--accept] [--licenses] [--parsable version] [--unpackaged]\n"
305 " [-V <version>] [--no-be-activate]\n"
481 if isinstance(err, version.VersionError):
482 # For version errors, include the pattern so
562 entry["version"]
568 # Display full FMRI (without build version) for
574 short_ver = version.Version.split(ver)
589 # Default case; display short FMRI and version info.
590 sver = version.Version.split(ver)[-1]
798 # Only display timestamp if version is same and
800 sver = src.fmri.version
801 dver = dest.fmri.version
824 dest.fmri.version.get_short_version())
829 src.fmri.version.get_short_version())
976 """Display the parsable version of the plan."""
1102 "version": parsable_version,
2230 version."""
2318 """Display configured or available mediator version(s) and
2326 # of version and implementation indexed by mediator name.
2337 # Set minimum widths for mediator and version columns by using the
2346 med_version = values.get("version", "")
2366 med_impl_ver = mediation.get("implementation-version")
2372 "version": mediation.get("version"),
2373 "version-source": mediation.get("version-source"),
2377 "implementation-version": med_impl_ver,
2386 "version" : [("default", "json", "tsv"), _("VERSION"), ""],
2387 "version-source": [("default", "json", "tsv"), _("VER. SRC."), ""],
2392 "implementation-version" : [("json", "tsv"), _("IMPL. VER."), ""],
2427 """Set the version and/or implementation for the specified
2434 usage(_("a mediator version and/or implementation must be "
2440 # Now set version and/or implementation for all matching mediators.
2446 # Request reset of version.
2447 mediators[m]["version"] = None
2449 # Explicit selection of no version.
2450 mediators[m]["version"] = ""
2452 mediators[m]["version"] = med_version
2521 """Unset the version and/or implementation for the specified
2537 # Now unset version and/or implementation for all matching mediators.
2540 mediators[m]["version"] = None
2657 vertext = pfmri.version.get_short_version()
2658 ts = pfmri.version.get_timestamp()
2660 vertext += ":" + pfmri.version.timestr
2717 vertext = pfmri.version.get_short_version()
2718 ts = pfmri.version.get_timestamp()
2720 vertext += ":" + pfmri.version.timestr
4440 [--parsable-version=<version>]
4551 version = None
5081 usage(_("version: command does not take operands "
5082 "('{0}')").format(" ".join(pargs)), cmd="version")
5187 "med_version" : ("V", "version"),
5247 # placeholders in this lookup table for image-create, help and version
5299 "version" : [None],
5483 "version" : print_version,
5562 # when there is a short and a long version for the same option
5732 " provided\nby pkg:/package/pkg. The client version is "
5733 "{client} while the library\nAPI version is {api}.").format(