commit:     a3d8dbad0c183b282a7184a76320a511afd54120
Author:     Tupone Alfredo <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 30 19:34:48 2018 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Oct 30 19:34:48 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d8dbad

dev-tcltk/tclpython: Fix test

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

 dev-tcltk/tclpython/tclpython-5.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-tcltk/tclpython/tclpython-5.0.ebuild 
b/dev-tcltk/tclpython/tclpython-5.0.ebuild
index e4a170a603e..f7c6efb3ea7 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)

Reply via email to