dev-python/mkdocs-material: Bump to 9.1.16

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-06-16 05:41:42 +02:00
parent 18cbb15777
commit 15580d3ea3
2 changed files with 62 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST mkdocs-material-9.1.15.gh.tar.gz 14217712 BLAKE2B 316d19f8e3c8f8edd57481c692b7b1cb136c3b914a5fd12fcbf68b9a11d268b0965874c3657b1f9bc766713426e2873597ca387942f610d98f2e8ce88b1bf52a SHA512 29ee4d859a54fcfa627eebc3e88f2269c2f1cb6dbea6180a02216bf9c64bccc628ca45f6136725d1af41a532cc5d209dca4f862f62f79a89f2026b24a1e55b7d
DIST mkdocs-material-9.1.16.gh.tar.gz 14243340 BLAKE2B 73d89f310150a6f411b173497a33349e98e6cf0930781747a26321bec9834cbf1e3482e9a002d9db35ef69257ee2d125b43d776a6b05d91517ff22174ecfea86 SHA512 d4979ba567eadb26071e4a49bebaad196e80f292a870b3dc94484c9b59a7b061c9cf40a5c258725cb0a7cd7ca3f5d1a8de657518c4e806926fc059c40f37af9b

View File

@@ -0,0 +1,61 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{10..11} )
DOCS_BUILDER="mkdocs"
DOCS_DEPEND="
dev-python/mkdocs-material-extensions
dev-python/mkdocs-minify-plugin
dev-python/mkdocs-redirects
"
inherit distutils-r1 docs
DESCRIPTION="A Material Design theme for MkDocs"
HOMEPAGE="
https://github.com/squidfunk/mkdocs-material/
https://pypi.org/project/mkdocs-material/
"
SRC_URI="
https://github.com/squidfunk/${PN}/archive/${PV}.tar.gz
-> ${P}.gh.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="social"
RDEPEND="
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
>=dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
>=dev-python/markdown-3.2[${PYTHON_USEDEP}]
>=dev-python/mkdocs-1.4.2[${PYTHON_USEDEP}]
>=dev-python/pygments-2.14[${PYTHON_USEDEP}]
>=dev-python/pymdown-extensions-9.9.1[${PYTHON_USEDEP}]
>=dev-python/regex-2022.4.24[${PYTHON_USEDEP}]
>=dev-python/requests-2.26[${PYTHON_USEDEP}]
social? (
>=dev-python/pillow-9.0[${PYTHON_USEDEP}]
>=media-gfx/cairosvg-2.5[${PYTHON_USEDEP}]
)
"
# mkdocs-material-extensions depends on mkdocs-material creating a circular dep
PDEPEND="
>=dev-python/mkdocs-material-extensions-1.1.0[${PYTHON_USEDEP}]
"
PATCHES=(
# simplify pyproject to remove extra deps for metadata
"${FILESDIR}/${PN}-8.5.7-simplify-build.patch"
)
src_prepare() {
echo "__version__ = '${PV}'" > gentoo_version.py || die
distutils-r1_src_prepare
}