commit: 545ae8944fe940a934a9d75f325309cca2b26963 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Jul 31 06:36:39 2020 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Jul 31 06:38:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545ae894
dev-python/jupyter_console: Fix installing entry points Closes: https://bugs.gentoo.org/734786 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> ...jupyter_console-6.1.0.ebuild => jupyter_console-6.1.0-r1.ebuild} | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dev-python/jupyter_console/jupyter_console-6.1.0.ebuild b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild similarity index 86% rename from dev-python/jupyter_console/jupyter_console-6.1.0.ebuild rename to dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild index 1ef4cd71b97..a17d1256538 100644 --- a/dev-python/jupyter_console/jupyter_console-6.1.0.ebuild +++ b/dev-python/jupyter_console/jupyter_console-6.1.0-r1.ebuild @@ -37,6 +37,12 @@ PATCHES=( "${FILESDIR}"/${P}-py39.patch ) +src_prepare() { + # use setuptools unconditionally + sed -i -e 's:distutils\.core:setuptools:' setup.py || die + distutils-r1_src_prepare +} + python_test() { script -eqc "nosetests -v" || die }