summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-04-23 05:02:12 +0200
committerMichał Górny <mgorny@gentoo.org>2023-04-23 05:09:33 +0200
commitca2e23ee949cc736de91744328d0643f63ca8ce9 (patch)
tree573bbc4d391998488a1cf74ed3f03f9904141fc6 /dev-python
parentdev-python/importlib-metadata: Bump to 6.6.0 (diff)
downloadgentoo-ca2e23ee949cc736de91744328d0643f63ca8ce9.tar.gz
gentoo-ca2e23ee949cc736de91744328d0643f63ca8ce9.tar.bz2
gentoo-ca2e23ee949cc736de91744328d0643f63ca8ce9.zip
dev-python/mkdocs-material: Bump to 9.1.7
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.1.7.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest
index 3a515f8cce0d..d9636ff8551d 100644
--- a/dev-python/mkdocs-material/Manifest
+++ b/dev-python/mkdocs-material/Manifest
@@ -1,2 +1,3 @@
DIST mkdocs-material-9.1.5.gh.tar.gz 10887648 BLAKE2B c0e1c905765c1a127e467c25c3988b64eec0c79e2d554e30e39cd5e9c65d748b5198b973027337a3530beeb4e9f3a16d2e0b41925ef44698dc011501b5bb6f14 SHA512 cbd89c66dfda2554a9466f2dda16baac4a7328de1dc1d4549861395d0cd6adea9f841f04e0ac1fcd8685937954dad82aaa01be69faac86c79e28466d5aba9c61
DIST mkdocs-material-9.1.6.gh.tar.gz 10906175 BLAKE2B d99564b40c1add79164fbc339ea1c2a1b531ba9ac442cc1cb65c65696e5391acf7718d6f9c681223e2dcab1bca1d423ed1825bfba342d81b69511fbf3bda6e5d SHA512 7f8c41d525d16a967efcd34073a89f36d91c70425890d63aa152246c7672c983e64fe82723e032bef31445d1d0f6e926203573e3036fdc79d001db78e2ae2bfb
+DIST mkdocs-material-9.1.7.gh.tar.gz 10913301 BLAKE2B d9a1bc2e2d4b1d1719d78bb38cbb63f1ed49d78437b632c3d88ef068bc3511dc99e2011b58ff6b2e4db5b8d3ed9564ca2ecfb80634102d8371dd3eba393ffbfd SHA512 b99ac378120cebb75a99746659bebcf1db6d330fe9aa1243fb8699ae8d309992ac69fc4aa3abb0d7f80ab0d3e555745b47024af8c6353bb0163ff773084f45b5
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.7.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.7.ebuild
new file mode 100644
index 000000000000..84fada34a024
--- /dev/null
+++ b/dev-python/mkdocs-material/mkdocs-material-9.1.7.ebuild
@@ -0,0 +1,56 @@
+# 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_{9..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"
+
+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}]
+"
+
+# 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
+}