From ce4ce636a97a9a04448fd313292b4c2c2365d4af Mon Sep 17 00:00:00 2001 From: jessebot Date: Thu, 19 Oct 2023 09:35:17 +0200 Subject: [PATCH] add victor mono font, and update some dependencies --- onboardme/ide_setup.py | 13 ++++++++----- poetry.lock | 34 +++++++++++++++++----------------- pyproject.toml | 6 +++--- 3 files changed, 28 insertions(+), 25 deletions(-) diff --git a/onboardme/ide_setup.py b/onboardme/ide_setup.py index 004b6955..cff43fa8 100644 --- a/onboardme/ide_setup.py +++ b/onboardme/ide_setup.py @@ -26,9 +26,6 @@ def font_setup() -> None: """ if 'Linux' in OS: print_header('📝 [i]font[/i] installations') - # not sure if needed anymore - # mkdir -p ~/.local/share/fonts - fonts_dir = f'{HOME_DIR}/repos/nerd-fonts' # do a shallow clone of the repo @@ -57,12 +54,18 @@ def update(self, op_code, cur_count, max_count=None, Repo.clone_from(fonts_repo, fonts_dir, progress=CloneProgress(), multi_options=['--sparse', '--filter=blob:none']) - cmds = ["git sparse-checkout add patched-fonts/Mononoki"] + cmds = ["git sparse-checkout add patched-fonts/Mononoki", + "git sparse-checkout add patched-fonts/VictorMono", + "git sparse-checkout add patched-fonts/NerdFontsSymbolsOnly", + ] subproc(cmds, spinner=True, cwd=fonts_dir) else: subproc(["git pull"], spinner=True, cwd=fonts_dir) - subproc(['./install.sh Mononoki'], quiet=True, + subproc(['./install.sh Mononoki', + './install.sh VictorMono', + './install.sh NerdFontsSymbolsOnly'], + quiet=True, cwd=fonts_dir) print_msg('[i][dim]The fonts should be installed, however, you have ' + diff --git a/poetry.lock b/poetry.lock index 55358ef3..690147d3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -79,30 +79,30 @@ smmap = ">=3.0.1,<6" [[package]] name = "gitpython" -version = "3.1.37" +version = "3.1.40" description = "GitPython is a Python library used to interact with Git repositories" optional = false python-versions = ">=3.7" files = [ - {file = "GitPython-3.1.37-py3-none-any.whl", hash = "sha256:5f4c4187de49616d710a77e98ddf17b4782060a1788df441846bddefbb89ab33"}, - {file = "GitPython-3.1.37.tar.gz", hash = "sha256:f9b9ddc0761c125d5780eab2d64be4873fc6817c2899cbcb34b02344bdc7bc54"}, + {file = "GitPython-3.1.40-py3-none-any.whl", hash = "sha256:cf14627d5a8049ffbf49915732e5eddbe8134c3bdb9d476e6182b676fc573f8a"}, + {file = "GitPython-3.1.40.tar.gz", hash = "sha256:22b126e9ffb671fdd0c129796343a02bf67bf2994b35449ffc9321aa755e18a4"}, ] [package.dependencies] gitdb = ">=4.0.1,<5" [package.extras] -test = ["black", "coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mypy", "pre-commit", "pytest", "pytest-cov", "pytest-sugar"] +test = ["black", "coverage[toml]", "ddt (>=1.1.1,!=1.4.3)", "mock", "mypy", "pre-commit", "pytest", "pytest-cov", "pytest-instafail", "pytest-subtests", "pytest-sugar"] [[package]] name = "identify" -version = "2.5.29" +version = "2.5.30" description = "File identification library for Python" optional = false python-versions = ">=3.8" files = [ - {file = "identify-2.5.29-py2.py3-none-any.whl", hash = "sha256:24437fbf6f4d3fe6efd0eb9d67e24dd9106db99af5ceb27996a5f7895f24bf1b"}, - {file = "identify-2.5.29.tar.gz", hash = "sha256:d43d52b86b15918c137e3a74fff5224f60385cd0e9c38e99d07c257f02f151a5"}, + {file = "identify-2.5.30-py2.py3-none-any.whl", hash = "sha256:afe67f26ae29bab007ec21b03d4114f41316ab9dd15aa8736a167481e108da54"}, + {file = "identify-2.5.30.tar.gz", hash = "sha256:f302a4256a15c849b91cfcdcec052a8ce914634b2f77ae87dad29cd749f2d88d"}, ] [package.extras] @@ -159,13 +159,13 @@ setuptools = "*" [[package]] name = "platformdirs" -version = "3.10.0" +version = "3.11.0" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." optional = false python-versions = ">=3.7" files = [ - {file = "platformdirs-3.10.0-py3-none-any.whl", hash = "sha256:d7c24979f292f916dc9cbf8648319032f551ea8c49a4c9bf2fb556a02070ec1d"}, - {file = "platformdirs-3.10.0.tar.gz", hash = "sha256:b45696dab2d7cc691a3226759c0d3b00c47c8b6e293d96f6436f733303f77f6d"}, + {file = "platformdirs-3.11.0-py3-none-any.whl", hash = "sha256:e9d171d00af68be50e9202731309c4e658fd8bc76f55c11c7dd760d023bda68e"}, + {file = "platformdirs-3.11.0.tar.gz", hash = "sha256:cf8ee52a3afdb965072dcc652433e0c7e3e40cf5ea1477cd4b3b1d2eb75495b3"}, ] [package.extras] @@ -174,13 +174,13 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.4)", "pytest-co [[package]] name = "pre-commit" -version = "3.4.0" +version = "3.5.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." optional = false python-versions = ">=3.8" files = [ - {file = "pre_commit-3.4.0-py2.py3-none-any.whl", hash = "sha256:96d529a951f8b677f730a7212442027e8ba53f9b04d217c4c67dc56c393ad945"}, - {file = "pre_commit-3.4.0.tar.gz", hash = "sha256:6bbd5129a64cad4c0dfaeeb12cd8f7ea7e15b77028d985341478c8af3c759522"}, + {file = "pre_commit-3.5.0-py2.py3-none-any.whl", hash = "sha256:841dc9aef25daba9a0238cd27984041fa0467b4199fc4852e27950664919f660"}, + {file = "pre_commit-3.5.0.tar.gz", hash = "sha256:5804465c675b659b0862f07907f96295d490822a450c4c40e747d0b1c6ebcb32"}, ] [package.dependencies] @@ -265,13 +265,13 @@ files = [ [[package]] name = "rich" -version = "13.5.3" +version = "13.6.0" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" optional = false python-versions = ">=3.7.0" files = [ - {file = "rich-13.5.3-py3-none-any.whl", hash = "sha256:9257b468badc3d347e146a4faa268ff229039d4c2d176ab0cffb4c4fbc73d5d9"}, - {file = "rich-13.5.3.tar.gz", hash = "sha256:87b43e0543149efa1253f485cd845bb7ee54df16c9617b8a893650ab84b4acb6"}, + {file = "rich-13.6.0-py3-none-any.whl", hash = "sha256:2b38e2fe9ca72c9a00170a1a2d20c63c790d0e10ef1fe35eba76e1e7b1d7d245"}, + {file = "rich-13.6.0.tar.gz", hash = "sha256:5c14d22737e6d5084ef4771b62d5d4363165b403455a30a1c8ca39dc7b644bef"}, ] [package.dependencies] @@ -352,4 +352,4 @@ files = [ [metadata] lock-version = "2.0" python-versions = "^3.11" -content-hash = "e658614fb7baa88854df74d33e268f55dadb4afcf5521f678cdb86137dee117a" +content-hash = "1f6c5fe5ba26af565c05caa1b1c01693902615a59abbabaca3afea378dc75cc3" diff --git a/pyproject.toml b/pyproject.toml index 4bf0ff71..fa364ea5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "onboardme" -version = "1.6.1" +version = "1.7.0" description = "Install dot files and packages, including a base mode with sensible defaults to run on most computers running Debian based distros or macOS." authors = [ "Jesse Hitch ", @@ -24,14 +24,14 @@ include = ["onboardme/scripts/update_apt_sources.sh"] [tool.poetry.dependencies] python = "^3.11" click = "^8.1" -rich = "^13.4" +rich = "^13.6" PyYAML = "^6.0" GitPython = "^3.1" wget = "^3.2" xdg-base-dirs = "^6.0" [tool.poetry.group.dev.dependencies] -pre-commit = "^3.3" +pre-commit = "^3.5" [tool.poetry.plugins."onboardme.application.plugin"] "onboardme" = "onboardme:main"