Did I find the right examples for you? yes no

All Samples(10)  |  Call(6)  |  Derive(0)  |  Import(4)

src/p/o/portage-HEAD/pym/_emerge/depgraph.py   portage(Download)
								higher_version_rejected = True
								break
							if portage.dep.cpvequal(rejected.cpv, pkg.cpv):
								# If version is identical then compare
								# repo priority (see bug #350254).
				bestmatch = portage.best([pkg.cpv for pkg in matched_packages])
			matched_packages = [pkg for pkg in matched_packages \
				if portage.dep.cpvequal(pkg.cpv, bestmatch)]
 
		# ordered by type preference ("ebuild" type is the last resort)

src/p/o/portage-funtoo-HEAD/pym/_emerge/depgraph.py   portage-funtoo(Download)
								higher_version_rejected = True
								break
							if portage.dep.cpvequal(rejected.cpv, pkg.cpv):
								# If version is identical then compare
								# repo priority (see bug #350254).
				bestmatch = portage.best([pkg.cpv for pkg in matched_packages])
			matched_packages = [pkg for pkg in matched_packages \
				if portage.dep.cpvequal(pkg.cpv, bestmatch)]
 
		# ordered by type preference ("ebuild" type is the last resort)

src/p/o/portage-funtoo-HEAD/pym/_emerge/resolver/output.py   portage-funtoo(Download)
from portage import os
from portage.dbapi.dep_expand import dep_expand
from portage.dep import cpvequal, _repo_separator, _slot_separator
from portage.eapi import _get_eapi_attrs
from portage.exception import InvalidDependString, SignatureException
			if myinslotlist:
				myoldbest = myinslotlist[:]
				if not cpvequal(pkg.cpv,
					best([pkg.cpv] + [x.cpv for x in myinslotlist])):
					# Downgrade in slot

src/p/o/portage-HEAD/pym/_emerge/resolver/output.py   portage(Download)
from portage import os
from portage.dbapi.dep_expand import dep_expand
from portage.dep import cpvequal, _repo_separator, _slot_separator
from portage.eapi import _get_eapi_attrs
from portage.exception import InvalidDependString, SignatureException
			if myinslotlist:
				myoldbest = myinslotlist[:]
				if not cpvequal(pkg.cpv,
					best([pkg.cpv] + [x.cpv for x in myinslotlist])):
					# Downgrade in slot

src/p/o/portage-HEAD/pym/portage/tests/dep/testStandalone.py   portage(Download)
# Copyright 2010-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
from portage.tests import TestCase
from portage.dep import cpvequal

src/p/o/portage-funtoo-HEAD/pym/portage/tests/dep/testStandalone.py   portage-funtoo(Download)
# Copyright 2010-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
from portage.tests import TestCase
from portage.dep import cpvequal