|
| 1 | +from typing import Any, Literal |
| 2 | + |
| 3 | +from portage.dbapi.porttree import portdbapi |
| 4 | +from .config import config |
| 5 | + |
| 6 | + |
| 7 | +def doebuild( |
| 8 | + myebuild: str, |
| 9 | + mydo: Literal['clean', 'cleanrm', 'compile', 'config', 'configure', 'depend', 'digest', 'fetch', |
| 10 | + 'fetchall', 'help', 'info', 'install', 'instprep', 'manifest', 'merge', 'nofetch', |
| 11 | + 'package', 'postinst', 'postrm', 'preinst', 'prepare', 'prerm', 'pretend', |
| 12 | + 'qmerge', 'rpm', 'setup', 'test', 'unmerge', 'unpack'], |
| 13 | + settings: config | None = ..., |
| 14 | + debug: Literal[0, 1] = ..., |
| 15 | + listonly: Literal[0, 1] = ..., |
| 16 | + fetchonly: Literal[0, 1] = ..., |
| 17 | + cleanup: Literal[0, 1] = ..., |
| 18 | + use_cache: Literal[0, 1] = ..., |
| 19 | + fetchall: Literal[0, 1] = ..., |
| 20 | + tree: Literal['vartree', 'porttree', 'bintree'] = ..., |
| 21 | + mydbapi: portdbapi | None = ..., |
| 22 | + vartree: Any = ..., |
| 23 | + prev_mtimes: dict[str, Any] | None = ..., |
| 24 | + fd_pipes: dict[str, str] | None = ..., |
| 25 | + returnproc: int | bool = ... |
| 26 | +) -> Literal[0, 1] | bool | list[int]: # Missing portage.process.MultiprocessingProcess |
| 27 | + ... |
0 commit comments