mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-23 18:38:08 -07:00
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>
32 lines
697 B
Bash
32 lines
697 B
Bash
# 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
|