Lines Matching defs:version
97 import pkg.version
301 'version_id' indicates the version of the api the client is
527 """A dictionary of the mediators and their configured version
532 "version": mediator-version-string,
533 "version-source": (site|vendor|system|local),
539 'version' is an optional string that specifies the version
543 'version-source' is a string describing the source of the
544 selected version configuration. It indicates how the
545 version component of the mediation was selected.
549 instead of 'version'.
559 if "version" in ret[m]:
562 ret[m]["version"] = \
563 ret[m]["version"].get_short_version()
564 if "implementation-version" in ret[m]:
567 ret[m]["implementation-version"] = \
568 ret[m]["implementation-version"].get_short_version()
778 "version": mediator-version-string,
779 "version-source": (site|vendor|system|local),
785 'version' is an optional string that specifies the version
789 'version-source' is a string describing how the version
795 instead of 'version'.
803 and then by version and implementation. It does not include
822 val["version"] = \
834 val["version-source"] = ret_priority
1175 contains the pkg(7) packaging system and a newer version
1353 latest installable version of the pkg(7) packaging system is
1432 # sure the latest version of the ipkg
2085 Creates a plan to change the version and implementation values
2094 'mediators' is a dict of dicts of the mediators to set version
2103 "version": mediator-version-string
2109 instead of 'version'.
2111 'version' is an optional string that specifies the version
3069 the last version of each unique package in the catalog on a
3154 tver = tgt.version
3155 # incorporates without a version
3164 # use the newest version.
3194 # version as that which is
3199 # a newer version, so must be checked.
3411 if f.version > nver:
3412 newest[f.pkg_name] = (f.version,
3413 str(f.version))
3453 cat_ver = cat.version
3660 version - (string) the version of the package
3669 descending version order.
3791 # Mark that a pattern contained version
3795 if getattr(pfmri.version, "match_latest", None):
3838 # Keep track of when the newest version has been found for
3859 # Some other version of this package is
3881 # Attempt to find a suitable version to return.
3884 # return the newest successor version based on
3887 # Newest version already returned.
3896 # XXX version should not require build release.
3897 ever = pkg.version.Version(ver)
3899 # If the entry's version is a successor to
3900 # the incorporated version, then this is the
3901 # 'newest' version of this package since
3902 # entries are processed in descending version
3906 pkg.version.CONSTRAINT_AUTO):
3913 # A newer version has already been listed for
3930 # none of the patterns have version information and variants are
3968 # A newer version has already been listed, so
3974 # A different version from a higher-ranked
4000 # A different version from a
4036 # version object more
4039 ever = pkg.version.Version(ver)
4041 pkg.version.CONSTRAINT_AUTO):
4052 # version.
4078 # If omitting because of version, and
4189 # the terminal version entry for the stem and
4244 version=ver)
4356 pub, name, version = pfmri.tuple()
4360 pkg_pub_map[pub][name][str(version)]
4363 release = version.release
4364 build_release = version.build_release
4365 branch = version.branch
4367 version.get_timestamp().strftime(
4370 pub = name = version = None
4480 states=states, publisher=pub, version=release,
4730 """This function parses the string returned by a version 1
4732 (query_number, publisher, (version, return_type, (results)))
4870 pver = pfmri.version
4871 # Skip this package if a newer version
4872 # is already installed and version
4878 # Return this result if version pruning
4880 # incorporated, or the version of the
4884 pfmri.version.is_successor(
4886 pkg.version.CONSTRAINT_AUTO):
4901 version at which they are incorporated, if they are
4902 incorporated, and the version at which they are installed, if
4905 # This maps fmris to the version at which they're incorporated.
4916 inst_stems[pfmri.pkg_name] = pfmri.version
4923 tver = tgt.version
4924 # incorporates without a version should be
4933 # use the newest version.
5001 pfmri.pkg_name, {}).get(str(pfmri.version), None)
5455 must match exactly and the version (if provided)
5461 must be a proper subset and the version (if
5468 style wildcards) and that the version can either
5502 npat.version = \
5503 pkg.version.MatchingVersion(pat_ver)
5505 npat.version = \
5506 pkg.version.Version(pat_ver)
5508 except (fmri.FmriError, pkg.version.VersionError) as e:
5520 newest version. Returns a boolean indicating whether any action
5578 def write_syspub(self, path, prefixes, version):
5579 """Write the syspub/version response to the provided path."""
5580 if version != 0:
5581 raise apx.UnsupportedP5SVersion(version)
5673 'version_id' indicates the version of the api the client is