summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-10-10 20:06:10 +0200
committerMichał Górny <mgorny@gentoo.org>2023-10-10 20:11:01 +0200
commit41075e3df8aa723e64bbb3576f248cede5f6447d (patch)
tree81404331a2e305c7f7b81bbd80bc23f18a96c119 /dev-python
parentdev-python/google-api-python-client: Bump to 2.103.0 (diff)
downloadgentoo-41075e3df8aa723e64bbb3576f248cede5f6447d.tar.gz
gentoo-41075e3df8aa723e64bbb3576f248cede5f6447d.tar.bz2
gentoo-41075e3df8aa723e64bbb3576f248cede5f6447d.zip
dev-python/mkdocs-material: Bump to 9.4.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/mkdocs-material/Manifest1
-rw-r--r--dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest
index 6630d0ae2e9b..5ba605ca1074 100644
--- a/dev-python/mkdocs-material/Manifest
+++ b/dev-python/mkdocs-material/Manifest
@@ -1,2 +1,3 @@
DIST mkdocs-material-9.4.2.gh.tar.gz 14501913 BLAKE2B a822b1bb54ffffccca7d3f41b10b2e76e2ada99b0a113c18695753558421049425a2eaf5be79fd3433861b746be303ca6a87e6c45de596038680a3e3974114d8 SHA512 f837f20de15415473f6e260330a8189b252e176a8a3dceebc9536fbad51662ade8e1760149f97ce3b95f9b9c0c2b0902600c33219accd0b3efaf1fec51c23efa
DIST mkdocs-material-9.4.4.gh.tar.gz 14508575 BLAKE2B a7c3440cfa26d6654d56a3cfe39ba1b301b2f3166b6b5f26518ef568d5bdafce45f791539d2f1e7518a73fd94cc105b88745c054dbc1c82769346aa07cbdf525 SHA512 7241680a3bccd22d355993e4d23af384ec6304722430560311ce74c5786566c64cd9cfd65d80b515b4795e550e9b165e8f207a62468b3a0eb35c7fa7ca8e85e4
+DIST mkdocs-material-9.4.5.gh.tar.gz 14526442 BLAKE2B 40ec29db7d072ee11ff8468c4780548c26dab59baa1616cf0f4ae260d1feefa2764e895cde83c7e66e27ec758991f518633a0f743dd9996acddff795099f5fc2 SHA512 69f0f019ba0de019e5f0d895ed4adb07bd4d9c57d64e54bbe055be98571755b94d3fcaed8bd0c5dc1e025deb0e5620c096a1250aeebf5443f6a26ba1d8e5eed6
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild
new file mode 100644
index 000000000000..491714f2ee3b
--- /dev/null
+++ b/dev-python/mkdocs-material/mkdocs-material-9.4.5.ebuild
@@ -0,0 +1,65 @@
+# 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/Babel-2.10.3[${PYTHON_USEDEP}]
+ >=dev-python/colorama-0.4[${PYTHON_USEDEP}]
+ >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}]
+ >=dev-python/lxml-4.6[${PYTHON_USEDEP}]
+ >=dev-python/markdown-3.2[${PYTHON_USEDEP}]
+ >=dev-python/mkdocs-1.5.3[${PYTHON_USEDEP}]
+ >=dev-python/paginate-0.5.6[${PYTHON_USEDEP}]
+ >=dev-python/pygments-2.16[${PYTHON_USEDEP}]
+ >=dev-python/pymdown-extensions-10.2[${PYTHON_USEDEP}]
+ >=dev-python/readtime-2.0[${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.2[${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
+}