Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[portage] fixes in versions module
  • Loading branch information
Tatsh committed Mar 18, 2026
commit 98f9c49c8a1fd6f35bc14b9f5a3be1c39269b268
34 changes: 17 additions & 17 deletions stubs/portage/portage/versions.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,36 @@ class _pkg_str(str):
cls,
cpv: str,
metadata: dict[str, Incomplete] | None = ...,
settings: config = ...,
eapi=...,
repo: str | None = ...,
slot: str | None = ...,
build_time: int | None = ...,
build_id: str | None = ...,
file_size: int | None = ...,
mtime: int | None = ...,
settings: config | None = None,
eapi: str | None = None,
repo: str | None = None,
slot: str | None = None,
build_time: int | None = None,
build_id: str | None = None,
file_size: int | None = None,
mtime: int | None = None,
db=...,
repoconfig=...,
) -> Self: ...
def __init__(
self,
cpv: str,
metadata: dict[str, Incomplete] | None = ...,
settings: config = ...,
eapi=...,
repo: str | None = ...,
slot: str | None = ...,
build_time: int | None = ...,
build_id: str | None = ...,
file_size: int | None = ...,
mtime: int | None = ...,
settings: config | None = None,
eapi: str | None = None,
repo: str | None = None,
slot: str | None = None,
build_time: int | None = None,
build_id: str | None = None,
file_size: int | None = None,
mtime: int | None = None,
db=...,
repoconfig=...,
) -> None: ...
@staticmethod
def _long(var, default: int) -> int: ...

def catpkgsplit(
mydata: str | _pkg_str, silent: Literal[0, 1] = ..., eapi: str | None = ...
mydata: str | _pkg_str, silent: Literal[0, 1] = 1, eapi: str | None = None
) -> tuple[str | None, str, str, str] | None: ...
def __getattr__(name: str) -> Incomplete: ... # incomplete module
Loading