dev-tcltk/tclpython: Fix test
authorTupone Alfredo <tupone@gentoo.org>
Tue, 30 Oct 2018 19:34:48 +0000 (20:34 +0100)
committerTupone Alfredo <tupone@gentoo.org>
Tue, 30 Oct 2018 19:34:48 +0000 (20:34 +0100)
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11

dev-tcltk/tclpython/tclpython-5.0.ebuild

index e4a170a603e85f1cbbf7d845c96c4e5a54527bc6..f7c6efb3ea78b30a970d8e77b23e2a17d11aa19e 100644 (file)
@@ -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)