_emerge.EbuildBuildDir module

class _emerge.EbuildBuildDir.EbuildBuildDir(**kwargs)

Bases: portage.util.SlotObject.SlotObject

exception AlreadyLocked(value)

Bases: portage.exception.PortageException

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

_assert_lock(async_lock)
_catdir
_lock_obj
async_lock()

Acquire the lock asynchronously. Notification is available via the add_done_callback method of the returned Future instance.

This raises an AlreadyLocked exception if async_lock() is called while a lock is already held. In order to avoid this, call async_unlock() or check whether the “locked” attribute is True or False before calling async_lock().

Returns

Future, result is None

async_unlock()

Release the lock asynchronously. Release notification is available via the add_done_callback method of the returned Future instance.

Returns

Future, result is None

clean_log()

Discard existing log. The log will not be be discarded in cases when it would not make sense, like when FEATURES=keepwork is enabled.

copy()

Create a new instance and copy all attributes defined from __slots__ (including those from inherited classes).

locked
scheduler
settings