Did I find the right examples for you? yes no

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)

src/p/o/portage-funtoo-HEAD/pym/portage/_sets/base.py   portage-funtoo(Download)
# Copyright 2007-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
import sys
from portage.dep import Atom, ExtendedAtomDict, best_match_to_list, match_from_list
			else:
				rev_transform[Atom(atom.replace(atom.cp, pkg.cp, 1), allow_wildcard=True, allow_repo=True)] = atom
		best_match = best_match_to_list(pkg, iter(rev_transform))
		if best_match:
			return rev_transform[best_match]

src/p/o/portage-HEAD/pym/portage/_sets/base.py   portage(Download)
# Copyright 2007-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
 
import sys
from portage.dep import Atom, ExtendedAtomDict, best_match_to_list, match_from_list
			else:
				rev_transform[Atom(atom.replace(atom.cp, pkg.cp, 1), allow_wildcard=True, allow_repo=True)] = atom
		best_match = best_match_to_list(pkg, iter(rev_transform))
		if best_match:
			return rev_transform[best_match]

src/p/o/portage-HEAD/pym/_emerge/depgraph.py   portage(Download)
from portage.dbapi.dep_expand import dep_expand
from portage.dbapi._similar_name_search import similar_name_search
from portage.dep import Atom, best_match_to_list, extract_affecting_use, \
	check_required_use, human_readable_required_use, match_from_list, \
	_repo_separator
			# will be correctly handled by the code that handles later
			# packages in the dep chain.
			best_match = best_match_to_list(node.cpv, start_node_parent_atoms)
 
			child = node

src/p/o/portage-funtoo-HEAD/pym/_emerge/depgraph.py   portage-funtoo(Download)
from portage.dbapi.dep_expand import dep_expand
from portage.dbapi._similar_name_search import similar_name_search
from portage.dep import Atom, best_match_to_list, extract_affecting_use, \
	check_required_use, human_readable_required_use, match_from_list, \
	_repo_separator
			# will be correctly handled by the code that handles later
			# packages in the dep chain.
			best_match = best_match_to_list(node.cpv, start_node_parent_atoms)
 
			child = node

src/p/o/portage-funtoo-HEAD/pym/portage/package/ebuild/_config/helper.py   portage-funtoo(Download)
 
from _emerge.Package import Package
from portage.dep import best_match_to_list, _repo_separator
 
def ordered_by_atom_specificity(cpdict, pkg, repo=None):
 
	while keys:
		bestmatch = best_match_to_list(pkg, keys)
		if bestmatch:
			keys.remove(bestmatch)

src/p/o/portage-HEAD/pym/portage/package/ebuild/_config/helper.py   portage(Download)
 
from _emerge.Package import Package
from portage.dep import best_match_to_list, _repo_separator
 
def ordered_by_atom_specificity(cpdict, pkg, repo=None):
 
	while keys:
		bestmatch = best_match_to_list(pkg, keys)
		if bestmatch:
			keys.remove(bestmatch)

src/p/o/portage-funtoo-HEAD/pym/portage/tests/dep/test_best_match_to_list.py   portage-funtoo(Download)
 
from portage.tests import TestCase
from portage.dep import Atom, best_match_to_list
 
class Test_best_match_to_list(TestCase):
		mylist = list(mylist)
		while mylist:
			m = best_match_to_list(mypkg, mylist)
			if m is not None:
				ret.append(m)

src/p/o/portage-HEAD/pym/portage/tests/dep/test_best_match_to_list.py   portage(Download)
 
from portage.tests import TestCase
from portage.dep import Atom, best_match_to_list
 
class Test_best_match_to_list(TestCase):
		mylist = list(mylist)
		while mylist:
			m = best_match_to_list(mypkg, mylist)
			if m is not None:
				ret.append(m)