summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTupone Alfredo <tupone@gentoo.org>2018-10-30 20:34:48 +0100
committerTupone Alfredo <tupone@gentoo.org>2018-10-30 20:34:48 +0100
commita3d8dbad0c183b282a7184a76320a511afd54120 (patch)
treefb5f76d45bc9ebfac9bc641999f8e6f7a0ac89f1 /dev-tcltk
parentmail-client/thunderbird: DOMi is gone, drop IUSE=mozdom (diff)
downloadgentoo-a3d8dbad0c183b282a7184a76320a511afd54120.tar.gz
gentoo-a3d8dbad0c183b282a7184a76320a511afd54120.tar.bz2
gentoo-a3d8dbad0c183b282a7184a76320a511afd54120.zip
dev-tcltk/tclpython: Fix test
Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.11
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/tclpython/tclpython-5.0.ebuild5
1 files changed, 4 insertions, 1 deletions
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)