summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-03-28 20:18:25 +0200
committerAndrew Ammerlaan <andrewammerlaan@gentoo.org>2022-03-28 20:21:21 +0200
commit97cc11f34507e09625b23756fe5b14a8485484f2 (patch)
treefef80ddc37121b66584e14460d8ff281dc86dead /dev-python/mkdocs-material-extensions
parentdev-python/mkdocs_pymdownx_material_extras: add 2.0.2 (diff)
downloadgentoo-97cc11f34507e09625b23756fe5b14a8485484f2.tar.gz
gentoo-97cc11f34507e09625b23756fe5b14a8485484f2.tar.bz2
gentoo-97cc11f34507e09625b23756fe5b14a8485484f2.zip
dev-python/mkdocs-material-extensions: switch around PDEPEND
This avoids doc building error in dev-python/mkdocs Mkdocs-material-extensiosn is required to build the docs, but if mkdocs-material is not already installed we cannot import all required modules in mkdocs-material-extensions Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Diffstat (limited to 'dev-python/mkdocs-material-extensions')
-rw-r--r--dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.3-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.3-r1.ebuild b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.3-r1.ebuild
new file mode 100644
index 000000000000..9d358fcc0d72
--- /dev/null
+++ b/dev-python/mkdocs-material-extensions/mkdocs-material-extensions-1.0.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Extension pack for Python Markdown"
+HOMEPAGE="
+ https://github.com/facelessuser/mkdocs-material-extensions
+ https://pypi.org/project/mkdocs-material-extensions
+"
+SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+RESTRICT="test"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv ~x86"
+
+RDEPEND=">=dev-python/mkdocs-material-5.0.0[${PYTHON_USEDEP}]"
+
+BDEPEND="
+ test? (
+ dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest