sci-mathematics/alectryon: fix distutil calls

Closes: https://bugs.gentoo.org/851843
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-06-14 12:22:58 +02:00
parent 4f59fffef1
commit e3ead869f6
@@ -47,14 +47,14 @@ PATCHES=( "${FILESDIR}"/${P}-setup.cfg-version.patch )
SITEFILE="50${PN}-gentoo.el"
src_compile() {
python_foreach_impl distutils-r1_python_compile
distutils-r1_src_compile
use doc && emake -C ./recipes/sphinx latexpdf
use emacs && elisp-compile ./etc/elisp/alectryon.el
}
src_install() {
python_foreach_impl distutils-r1_python_install
distutils-r1_src_install
einstalldocs
if use doc ; then