diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-07-08 23:19:50 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-07-09 00:39:15 +0100 |
commit | 4490fdae0d510034ebe30925c0e72d6a9e951f0e (patch) | |
tree | 2ca002f54b96bc103539a151b1e6e27d1f1ba22f /app-admin/ansible-molecule | |
parent | sys-firmware/sof-firmware: Stabilize 2.2.5 amd64, #910057 (diff) | |
download | gentoo-4490fdae0d510034ebe30925c0e72d6a9e951f0e.tar.gz gentoo-4490fdae0d510034ebe30925c0e72d6a9e951f0e.tar.bz2 gentoo-4490fdae0d510034ebe30925c0e72d6a9e951f0e.zip |
app-admin/ansible-molecule: make mkdocs stop trying to download fonts
This should probably be addressed more generally at the level of
dev-python/mkdocs-material, as that is what defaults to downloading
typefaces from Google Fonts [1].
[1] https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/
Closes: https://bugs.gentoo.org/906141
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-admin/ansible-molecule')
-rw-r--r-- | app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild | 4 | ||||
-rw-r--r-- | app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild index 12b1245c52d6..0a8afdb32b5f 100644 --- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild +++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild @@ -60,6 +60,10 @@ BDEPEND="$(python_gen_cond_dep ' ) ')" +PATCHES=( + "${FILESDIR}"/${PN}-5.1.0-mkdocs_google_fonts.patch +) + # test_role.py doesn't play nicely with FEATURES=usersandbox. As for test_command.py: # - quite a few of these tests use the network; # - test_command_dependency[shell] only works if Molecule has previously been installed; diff --git a/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch b/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch new file mode 100644 index 000000000000..2b3f6af82dcc --- /dev/null +++ b/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch @@ -0,0 +1,10 @@ +--- a/mkdocs.yml ++++ b/mkdocs.yml +@@ -19,6 +19,7 @@ + - navigation.indexes + - navigation.tracking + - toc.integrate ++ font: false + palette: + - media: "(prefers-color-scheme: light)" + primary: teal |