mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
sys-apps/proot: handle docutils-0.21 dropping console scripts
Closes: https://bugs.gentoo.org/930449 Signed-off-by: Alfred Wingate <parona@protonmail.com> Closes: https://github.com/gentoo/gentoo/pull/36756 Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
committed by
Florian Schmaus
parent
e69eec6b24
commit
19698cdcc9
@@ -42,7 +42,14 @@ src_compile() {
|
||||
CHECK_VERSION="true" \
|
||||
CAREBUILDENV="ok" \
|
||||
proot $(use care && echo "care")
|
||||
emake -C doc SUFFIX=".py" proot/man.1
|
||||
|
||||
# Docutils >=0.21 dropped .py console scripts
|
||||
# bug #930449
|
||||
if has_version ">=dev-python/docutils-0.21" ; then
|
||||
emake -C doc proot/man.1
|
||||
else
|
||||
emake -C doc SUFFIX=".py" proot/man.1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -42,7 +42,14 @@ src_compile() {
|
||||
CHECK_VERSION="true" \
|
||||
CAREBUILDENV="ok" \
|
||||
proot $(use care && echo "care")
|
||||
emake -C doc SUFFIX=".py" proot/man.1
|
||||
|
||||
# Docutils >=0.21 dropped .py console scripts
|
||||
# bug #930449
|
||||
if has_version ">=dev-python/docutils-0.21" ; then
|
||||
emake -C doc proot/man.1
|
||||
else
|
||||
emake -C doc SUFFIX=".py" proot/man.1
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
Reference in New Issue
Block a user