Lines Matching defs:patchdir
234 def makepatchname(path, patchdir = ''):
238 retval = os.path.join(patchdir, retval)
284 %s -u [-i] [patchfile|patchdir ...]
396 patchdir = os.path.dirname(self.fullpath)
397 if not os.path.isdir(patchdir):
398 os.mkdir(patchdir)
413 def __init__(self, patchdir, wrksrc, relpath):
414 self.fullpath = makepatchname(relpath, os.path.abspath(patchdir))
433 def adddir(self, patchdir, wrksrc):
434 if not os.path.isdir(patchdir):
435 raise IOError(errno.ENOENT, patchdir)
438 for filename in glob.glob(os.path.join(patchdir, Vars.PATCH_PREFIX + '*')):
561 patchdir = querymakevar('PATCHDIR', portdir, True)
563 if os.path.isdir(patchdir):
564 patches.adddir(patchdir, wrksrc)
573 patchobj = NewPatch(patchdir, wrksrc, relpath)
644 patchdir = querymakevar('PATCHDIR', portdir, True)
646 if os.path.isdir(patchdir):
647 patches.adddir(patchdir, wrksrc)