dev-tcltk/tclpython: Fix test

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
This commit is contained in:
Tupone Alfredo
2018-10-30 20:34:48 +01:00
parent e89ffdb47b
commit a3d8dbad0c

View 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)