Lines Matching defs:version

51 import pkg.version
423 also be the newest version of the package.
427 be in descending version order. If False, results will be
428 in a ascending version order on a per-publisher, per-stem
489 if entry["version"] == ver:
501 entry["version"] = ver
536 also be the newest version of the package.
540 be in descending version order. If False, results will be
541 in a ascending version order on a per-publisher, per-stem
547 Results are always in catalog version order on a per-
554 version=entry["version"])
559 """A generator function that produces tuples of (version,
574 sver = entry["version"]
576 version=sver)
578 versions[sver] = pfmri.version
593 also be the newest version of the package.
600 be in descending version order. If False, results will be
601 in a ascending version order on a per-publisher, per-stem
607 Results are always in catalog version order on a per-
614 version=entry["version"])
620 stem, entry["version"])
624 """A generator function that produces tuples of (version,
626 version.
641 sver = entry["version"]
643 version=sver)
645 versions[sver] = pfmri.version
675 if entry["version"] == ver:
794 ver = str(pfmri.version)
797 if entry["version"] == ver:
802 # When all version entries for a
840 """Re-sorts the contents of the CatalogPart such that version
857 return pkg.version.Version(item["version"])
891 this will also be the newest version of the package.
895 be in descending version order. If False, results will be
896 in a ascending version order on a per-publisher, per-stem
903 (pub, stem, entry["version"])
910 stem, version), entry) as it iterates over the contents of the
925 also be the newest version of the package.
929 be in descending version order. If False, results will be
930 in a ascending version order on a per-publisher, per-stem
936 Results are always in catalog version order on a per-publisher,
941 t = (pub, stem, entry["version"])
1024 entry["version"] = str(pfmri.version)
1094 version=entry["version"])
1139 "package-version-count": 0,
1142 "version": 1,
1175 return self.__data["package-version-count"]
1184 return self.__data["version"]
1199 self.__data["package-version-count"] = value
1211 self.__data["version"] = value
1217 # Use a copy to prevent the in-memory version from being
1351 version = property(__get_version, __set_version)
1460 """Private version; caller responsible for locking."""
1500 plist.add(f.version)
1542 f.version in d[f.publisher][f.pkg_name]:
1584 elif k != "version":
1604 elif k != "version":
1623 elif k != "version":
1674 publisher=pub, version=ver)
1745 return self._attrs.version
1810 must match exactly and the version (if provided)
1816 must be a proper subset and the version (if
1823 style wildcards) and that the version can either
1857 npat.version = \
1858 pkg.version.MatchingVersion(pat_ver)
1860 npat.version = \
1861 pkg.version.Version(pat_ver)
1863 except (fmri.FmriError, pkg.version.VersionError) as e:
2012 self._attrs.version = value
2060 the newest version of the package.
2067 be in descending version order. If False, results will be
2068 in a ascending version order on a per-publisher, per-stem
2333 version of each unique package in the catalog on a per-
2437 the newest version of the package.
2444 be in descending version order. If False, results will be
2445 in a ascending version order on a per-publisher, per-stem
2458 (version, entries) as it iterates over the contents of the
2525 elif k != "version":
2546 ((pub, stem, version), entry, actions) as it iterates over
2583 the newest version of the package.
2590 be in descending version order. If False, results will be
2591 in a ascending version order on a per-publisher, per-stem
2621 version entries are in the correct order and sets the package
2643 the newest version of the package.
2650 be in descending version order. If False, results will be
2651 in a ascending version order on a per-publisher, per-stem
2669 """A generator function that produces tuples of (version,
2671 version, for the given package name.
2725 elif k != "version":
2879 version - (string) the version of the package
2886 descending version order.
2934 if getattr(pfmri.version, "match_latest", None):
2964 # A newer version has already been listed, so
3013 # version object more
3016 ever = pkg.version.Version(ver)
3018 pkg.version.CONSTRAINT_AUTO):
3029 # version.
3147 version=ver)
3233 if getattr(pfmri.version, "match_latest", None):
3250 version = pfmri.version
3255 if version and not ver.is_successor(
3256 version,
3257 pkg.version.CONSTRAINT_AUTO):
3258 continue # version doesn't match
3268 # Discard all but the newest version of each match.
3270 # Rebuild ret based on latest version of every package.
3284 if nver > f.version:
3287 if nver == f.version:
3290 # latest version.
3295 latest[f.pkg_name] = f.version
3298 # Assign new version of ret and discard latest list.
3469 # this version of the API knows how to use that the client
3685 this will also be the newest version of the package.
3689 be in descending version order. If False, results will be
3690 in a ascending version order on a per-publisher, per-stem
3709 ((pub, stem, version), entry, actions) as it iterates over
3741 the newest version of the package.
3748 be in descending version order. If False, results will be
3749 in a ascending version order on a per-publisher, per-stem
3782 'ver' is the version string of the package.
3794 version=ver)
3803 version=ver)
3863 version = property(__get_version, __set_version)