From: Tupone Alfredo Date: Tue, 30 Oct 2018 19:34:48 +0000 (+0100) Subject: dev-tcltk/tclpython: Fix test X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a3d8dbad0c183b282a7184a76320a511afd54120;p=gentoo.git dev-tcltk/tclpython: Fix test Signed-off-by: Alfredo Tupone Package-Manager: Portage-2.3.49, Repoman-2.3.11 --- diff --git a/dev-tcltk/tclpython/tclpython-5.0.ebuild b/dev-tcltk/tclpython/tclpython-5.0.ebuild index e4a170a603e8..f7c6efb3ea78 100644 --- a/dev-tcltk/tclpython/tclpython-5.0.ebuild +++ b/dev-tcltk/tclpython/tclpython-5.0.ebuild @@ -25,7 +25,6 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) src_compile() { - local PKG_NAME if python_is_python3; then PKG_NAME=tclpython3 else @@ -34,6 +33,10 @@ src_compile() { emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) } +src_test() { + emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) test +} + src_install() { if python_is_python3; then insinto /usr/$(get_libdir)