51 lines
1.4 KiB
Python
51 lines
1.4 KiB
Python
import decman
|
|
from decman.plugins import pacman
|
|
|
|
import config
|
|
|
|
|
|
class Latex(decman.Module):
|
|
def __init__(self):
|
|
"""Base packages that should never be uninstalled"""
|
|
super().__init__("latex")
|
|
|
|
@pacman.packages
|
|
def pkgs(self) -> set[str]:
|
|
return {
|
|
"biber",
|
|
"perl-yaml-tiny",
|
|
"perl-file-homedir",
|
|
"python-pygments",
|
|
"texlab",
|
|
"texlive-basic",
|
|
"texlive-bibtexextra",
|
|
"texlive-binextra",
|
|
"texlive-context",
|
|
"texlive-fontsextra",
|
|
"texlive-fontsrecommended",
|
|
"texlive-fontutils",
|
|
"texlive-formatsextra",
|
|
"texlive-games",
|
|
"texlive-humanities",
|
|
"texlive-latex",
|
|
"texlive-latexextra",
|
|
"texlive-latexrecommended",
|
|
"texlive-luatex",
|
|
"texlive-mathscience",
|
|
"texlive-metapost",
|
|
"texlive-music",
|
|
"texlive-pictures",
|
|
"texlive-plaingeneric",
|
|
"texlive-pstricks",
|
|
"texlive-publishers",
|
|
"texlive-xetex",
|
|
"texlive-langgerman",
|
|
}
|
|
|
|
def files(self) -> dict[str, decman.File]:
|
|
return {
|
|
f"/home/{config.user}.indentconfig.yaml": decman.File(
|
|
source_file="./linters/indentconfig.yaml"
|
|
)
|
|
}
|