summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2023-05-08 22:07:03 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2023-05-08 22:31:00 +0300
commit4da0853f6c1851fa2fb3a11de0d9eed101982000 (patch)
tree7728d8b48ff33c830d326672ce1a2ba57f76ea3a
parentdev-python/cfn-lint: add 0.77.5 (diff)
downloadgentoo-4da0853f6c1851fa2fb3a11de0d9eed101982000.tar.gz
gentoo-4da0853f6c1851fa2fb3a11de0d9eed101982000.tar.bz2
gentoo-4da0853f6c1851fa2fb3a11de0d9eed101982000.zip
dev-python/mkdocs-material: add 9.1.10
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r--dev-python/mkdocs-material/Manifest1
-rw-r--r--dev-python/mkdocs-material/mkdocs-material-9.1.10.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material/Manifest b/dev-python/mkdocs-material/Manifest
index af0798f8656f..0654044f1224 100644
--- a/dev-python/mkdocs-material/Manifest
+++ b/dev-python/mkdocs-material/Manifest
@@ -1 +1,2 @@
+DIST mkdocs-material-9.1.10.gh.tar.gz 14174187 BLAKE2B 632f2855945575edc45719472e15c855b95d52a47f52b04f235b1096af336346cdcee0a05930b9a9eb5d244a0897cba4d00404daea62cd1b3cb44fdfe1d25adb SHA512 e8b3cd2f66576020c86774ee896c8b03fcd35eaa6871aec46df52fa06baacc2fd059a03b97f41a25b1f823727144f8ad16819645665b4e5b2133ad503a55089c
DIST mkdocs-material-9.1.9.gh.tar.gz 10937664 BLAKE2B ebb893deecbd545496542f714976337b6c57ab0b7413f53ec0e8635e3d3a668ce3b7dbd46ea2517855e077d271f147d1df7c9d838d80a3954ff8a9f63f7f7bce SHA512 0b2a42e8f035375f34ca23a1489d4d76c9733cd28e1dc98f25c8f5461a337ff533eb85c72d9b22a8d2af4694b1e0c74ea61bb62da91827562b1ecb4cf4e8867c
diff --git a/dev-python/mkdocs-material/mkdocs-material-9.1.10.ebuild b/dev-python/mkdocs-material/mkdocs-material-9.1.10.ebuild
new file mode 100644
index 000000000000..9e6f1d493b88
--- /dev/null
+++ b/dev-python/mkdocs-material/mkdocs-material-9.1.10.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_{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"
+
+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
+}