Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(42)  |  Call(26)  |  Derive(0)  |  Import(16)

src/p/o/portage-funtoo-HEAD/pym/portage/dep/__init__.py   portage-funtoo(Download)
from portage.exception import InvalidAtom, InvalidData, InvalidDependString
from portage.localization import _
from portage.versions import catpkgsplit, catsplit, \
	vercmp, ververify, _cp, _cpv, _pkg_str, _slot, _unknown_repo, _vr
import portage.cache.mappings
 
	if not mycpv_cps:
		cat, pkg = catsplit(mycpv)
		ver      = None
		rev      = None

src/p/o/portage-HEAD/pym/portage/dep/__init__.py   portage(Download)
from portage.exception import InvalidAtom, InvalidData, InvalidDependString
from portage.localization import _
from portage.versions import catpkgsplit, catsplit, \
	vercmp, ververify, _cp, _cpv, _pkg_str, _slot, _unknown_repo, _vr
import portage.cache.mappings
 
	if not mycpv_cps:
		cat, pkg = catsplit(mycpv)
		ver      = None
		rev      = None

src/p/o/portage-funtoo-HEAD/pym/portage/package/ebuild/config.py   portage-funtoo(Download)
	writemsg, writemsg_level, _eapi_cache
from portage.util._path import exists_raise_eaccess, isdir_raise_eaccess
from portage.versions import catpkgsplit, catsplit, cpv_getkey, _pkg_str
 
from portage.package.ebuild._config import special_env_vars
		has_changed = False
		self.mycpv = mycpv
		cat, pf = catsplit(mycpv)
		cp = cpv_getkey(mycpv)
		cpv_slot = self.mycpv

src/p/o/portage-HEAD/pym/portage/package/ebuild/config.py   portage(Download)
	writemsg, writemsg_level, _eapi_cache
from portage.util._path import exists_raise_eaccess, isdir_raise_eaccess
from portage.versions import catpkgsplit, catsplit, cpv_getkey, _pkg_str
 
from portage.package.ebuild._config import special_env_vars
		has_changed = False
		self.mycpv = mycpv
		cat, pf = catsplit(mycpv)
		cp = cpv_getkey(mycpv)
		cpv_slot = self.mycpv

src/p/o/portage-funtoo-HEAD/pym/portage/dbapi/_similar_name_search.py   portage-funtoo(Download)
import difflib
 
from portage.versions import catsplit
 
def similar_name_search(dbs, atom):
 
	cp_lower = atom.cp.lower()
	cat, pkg = catsplit(cp_lower)
		pkg_to_cp = {}
		for other_cp in list(all_cp):
			other_pkg = catsplit(other_cp)[1]
			if other_pkg == pkg:
				# Check for non-identical package that
				# differs only by upper/lower case.
				identical = True
				for cp_orig in orig_cp_map[other_cp]:
					if catsplit(cp_orig)[1] != \
						catsplit(atom.cp)[1]:

src/p/o/portage-HEAD/pym/portage/dbapi/_similar_name_search.py   portage(Download)
import difflib
 
from portage.versions import catsplit
 
def similar_name_search(dbs, atom):
 
	cp_lower = atom.cp.lower()
	cat, pkg = catsplit(cp_lower)
		pkg_to_cp = {}
		for other_cp in list(all_cp):
			other_pkg = catsplit(other_cp)[1]
			if other_pkg == pkg:
				# Check for non-identical package that
				# differs only by upper/lower case.
				identical = True
				for cp_orig in orig_cp_map[other_cp]:
					if catsplit(cp_orig)[1] != \
						catsplit(atom.cp)[1]:

src/p/o/portage-funtoo-HEAD/pym/portage/package/ebuild/digestgen.py   portage-funtoo(Download)
from portage.package.ebuild.fetch import fetch
from portage.util import writemsg, writemsg_stdout
from portage.versions import catsplit
 
def digestgen(myarchives=None, mysettings=None, myportdb=None):
				# fetch() uses CATEGORY and PF to display a message
				# when fetch restriction is triggered.
				cat, pf = catsplit(cpv)
				mysettings["CATEGORY"] = cat
				mysettings["PF"] = pf
			if not fetch({myfile : uris}, mysettings):
				myebuild = os.path.join(mysettings["O"],
					catsplit(cpv)[1] + ".ebuild")
				spawn_nofetch(myportdb, myebuild)
				writemsg(_("!!! Fetch failed for %s, can't update Manifest\n")

src/p/o/portage-HEAD/pym/portage/package/ebuild/digestgen.py   portage(Download)
from portage.package.ebuild.fetch import fetch
from portage.util import writemsg, writemsg_stdout
from portage.versions import catsplit
 
def digestgen(myarchives=None, mysettings=None, myportdb=None):
				# fetch() uses CATEGORY and PF to display a message
				# when fetch restriction is triggered.
				cat, pf = catsplit(cpv)
				mysettings["CATEGORY"] = cat
				mysettings["PF"] = pf
			if not fetch({myfile : uris}, mysettings):
				myebuild = os.path.join(mysettings["O"],
					catsplit(cpv)[1] + ".ebuild")
				spawn_nofetch(myportdb, myebuild)
				writemsg(_("!!! Fetch failed for %s, can't update Manifest\n")

src/p/o/portage-funtoo-HEAD/pym/portage/_sets/dbapi.py   portage-funtoo(Download)
 
from portage import os
from portage.versions import best, catsplit, vercmp
from portage.dep import Atom
from portage.localization import _
	def load(self):
		myatoms = []
		for cp in self._db.cp_all():
			if catsplit(cp)[0] == self._category:
				if (not self._check) or len(self._db.match(cp)) > 0:

src/p/o/portage-HEAD/pym/portage/_sets/dbapi.py   portage(Download)
 
from portage import os
from portage.versions import best, catsplit, vercmp
from portage.dep import Atom
from portage.localization import _
	def load(self):
		myatoms = []
		for cp in self._db.cp_all():
			if catsplit(cp)[0] == self._category:
				if (not self._check) or len(self._db.match(cp)) > 0:

  1 | 2  Next