x11-libs/libdrm: fix missing dev-python/docutils dependency (BDEPEND)

May cause issues when e.g. upgrading an older system
because Portage doesnt' realise it can't schedule
libdrm before the needed Python upgrades.

Used for rst2man.py.

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2021-10-11 00:02:42 +01:00
parent d19a7f9d9b
commit b098e9acbc
2 changed files with 18 additions and 2 deletions
+9 -1
View File
@@ -4,12 +4,13 @@
EAPI=7
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git"
PYTHON_COMPAT=( python3_{8..10} )
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
fi
inherit ${GIT_ECLASS} meson-multilib
inherit ${GIT_ECLASS} python-any-r1 meson-multilib
DESCRIPTION="X.Org libdrm library"
HOMEPAGE="https://dri.freedesktop.org/ https://gitlab.freedesktop.org/mesa/drm"
@@ -34,6 +35,13 @@ RDEPEND="
video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
valgrind? ( dev-util/valgrind )"
BDEPEND="${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')"
python_check_deps() {
has_version -b "dev-python/docutils[${PYTHON_USEDEP}]"
}
multilib_src_configure() {
local emesonargs=(
+9 -1
View File
@@ -4,12 +4,13 @@
EAPI=7
EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/drm.git"
PYTHON_COMPAT=( python3_{8..10} )
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-r3"
fi
inherit ${GIT_ECLASS} meson-multilib
inherit ${GIT_ECLASS} python-any-r1 meson-multilib
DESCRIPTION="X.Org libdrm library"
HOMEPAGE="https://dri.freedesktop.org/ https://gitlab.freedesktop.org/mesa/drm"
@@ -34,6 +35,13 @@ RDEPEND="
video_cards_intel? ( >=x11-libs/libpciaccess-0.13.1-r1:=[${MULTILIB_USEDEP}] )"
DEPEND="${RDEPEND}
valgrind? ( dev-util/valgrind )"
BDEPEND="${PYTHON_DEPS}
$(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')"
python_check_deps() {
has_version -b "dev-python/docutils[${PYTHON_USEDEP}]"
}
multilib_src_configure() {
local emesonargs=(