Did I find the right examples for you? yes no

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

src/p/o/portage-funtoo-HEAD/pym/_emerge/resolver/circular_dependency.py   portage-funtoo(Download)
import logging
 
from portage.dep import use_reduce, extract_affecting_use, check_required_use, get_required_use_flags
from portage.exception import InvalidDependString
from portage.output import colorize
			#other flags in REQUIRED_USE to affecting_use, to not lose any solution.
			required_use_flags = get_required_use_flags(
				parent._metadata.get("REQUIRED_USE", ""),
				eapi=parent.eapi)
 

src/p/o/portage-HEAD/pym/_emerge/resolver/circular_dependency.py   portage(Download)
import logging
 
from portage.dep import use_reduce, extract_affecting_use, check_required_use, get_required_use_flags
from portage.exception import InvalidDependString
from portage.output import colorize
			#other flags in REQUIRED_USE to affecting_use, to not lose any solution.
			required_use_flags = get_required_use_flags(
				parent._metadata.get("REQUIRED_USE", ""),
				eapi=parent.eapi)
 

src/p/o/portage-HEAD/pym/portage/tests/dep/test_get_required_use_flags.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 get_required_use_flags
 
		for required_use, expected in test_cases:
			result = get_required_use_flags(required_use)
			expected = set(expected)
			self.assertEqual(result, expected, \

src/p/o/portage-funtoo-HEAD/pym/portage/tests/dep/test_get_required_use_flags.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 get_required_use_flags
 
		for required_use, expected in test_cases:
			result = get_required_use_flags(required_use)
			expected = set(expected)
			self.assertEqual(result, expected, \