def provides_dep(package, other_package):
	""" Check if a package provides a dependency of another package. """
	for dep in other_package.alldepends():
		if package.providesName(dep.name): return True
	return False