blob: e19a040517532b35d9f71621f3b1a99f7ad6bd16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright 2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
from _emerge.AbstractEbuildProcess import AbstractEbuildProcess
import portage
from portage import os
class EbuildSpawnProcess(AbstractEbuildProcess):
"""
Spawns misc-functions.sh with an existing ebuild environment.
"""
_spawn_kwarg_names = AbstractEbuildProcess._spawn_kwarg_names + \
('fakeroot_state',)
__slots__ = ('fakeroot_state', 'spawn_func')
def _start(self):
AbstractEbuildProcess._start(self)
def _spawn(self, args, **kwargs):
return self.spawn_func(args, **kwargs)
|