summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-05-13 06:10:17 +0200
committerMichał Górny <mgorny@gentoo.org>2023-05-13 06:46:09 +0200
commit300473682a0e0bd23a11ba964cda1139d07c5698 (patch)
tree8c7fc61936774764531ce85fe8c00f6eea160a88 /dev-python/mkdocs-material
parentdev-python/dask: Bump to 2023.5.0 (diff)
downloadgentoo-300473682a0e0bd23a11ba964cda1139d07c5698.tar.gz
gentoo-300473682a0e0bd23a11ba964cda1139d07c5698.tar.bz2
gentoo-300473682a0e0bd23a11ba964cda1139d07c5698.zip
dev-python/mkdocs-material: Bump to 9.1.12
Closes: https://bugs.gentoo.org/906126 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs-material')
-rw-r--r--dev-python/mkdocs-material/Manifest1
-rw-r--r--dev-python/mkdocs-material/metadata.xml5
-rw-r--r--dev-python/mkdocs-material/mkdocs-material-9.1.12.ebuild61
3 files changed, 67 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest
index 0ea0a85286b7..72d420324dec 100644
--- a/dev-python/mkdocs-material/Manifest
+++ b/dev-python/mkdocs-material/Manifest
@@ -1,3 +1,4 @@
DIST mkdocs-material-9.1.10.gh.tar.gz 14174187 BLAKE2B 632f2855945575edc45719472e15c855b95d52a47f52b04f235b1096af336346cdcee0a05930b9a9eb5d244a0897cba4d00404daea62cd1b3cb44fdfe1d25adb SHA512 e8b3cd2f66576020c86774ee896c8b03fcd35eaa6871aec46df52fa06baacc2fd059a03b97f41a25b1f823727144f8ad16819645665b4e5b2133ad503a55089c
DIST mkdocs-material-9.1.11.gh.tar.gz 14174425 BLAKE2B 8789f589d80a73d882b9140141f912d64b30879ee52b42cdab49f26ad09e7a1ca68d558d31ff3b2392736147c72a9d3d00f8aefea297f14170e8f4da143d935a SHA512 269ffd9a39431744fc4c6082cd34def57ae91dc6caaed236360c9149973f4ea69233bb28851e7d214f442329aa8bc362bf238d2cb6d0bed172c57d82555bcef0
+DIST mkdocs-material-9.1.12.gh.tar.gz 14175053 BLAKE2B 4d19e1a2360d4b60867973843a7d9d45f70410608053a751b4e169e0819ed33f7319f9df29471329268ec26e4db3f046fa7b5f254e88c4f5509f4ab3b1c278a4 SHA512 bb30a68986e2d29fce4c632f5aa72ed6ede3d7a1a8c6ce4725e11c7181ec41feda7d3446241dd3c253e2f6459fa083c948b482bfb43e6f7926103e273cea7375
DIST mkdocs-material-9.1.9.gh.tar.gz 10937664 BLAKE2B ebb893deecbd545496542f714976337b6c57ab0b7413f53ec0e8635e3d3a668ce3b7dbd46ea2517855e077d271f147d1df7c9d838d80a3954ff8a9f63f7f7bce SHA512 0b2a42e8f035375f34ca23a1489d4d76c9733cd28e1dc98f25c8f5461a337ff533eb85c72d9b22a8d2af4694b1e0c74ea61bb62da91827562b1ecb4cf4e8867c
diff --git a/dev-python/mkdocs-material/metadata.xml b/dev-python/mkdocs-material/metadata.xml
index 846ae50e8f9a..cb4251eddb7b 100644
--- a/dev-python/mkdocs-material/metadata.xml
+++ b/dev-python/mkdocs-material/metadata.xml
@@ -18,5 +18,10 @@
<remote-id type="github">squidfunk/mkdocs-material</remote-id>
<remote-id type="pypi">mkdocs-material</remote-id>
</upstream>
+ <use>
+ <flag name="social">
+ Install the dependencies of the "social" plugin.
+ </flag>
+ </use>
<stabilize-allarches/>
</pkgmetadata>
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.12.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.12.ebuild
new file mode 100644
index 000000000000..83cb29330a96
--- /dev/null
+++ b/dev-python/mkdocs-material/mkdocs-material-9.1.12.ebuild
@@ -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 ~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
+}