Skip to content

Commit

Permalink
dev-tcltk/tclpython: Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Alfredo Tupone <[email protected]>
Package-Manager: Portage-2.3.49, Repoman-2.3.11
  • Loading branch information
atupone committed Oct 30, 2018
1 parent e89ffdb commit a3d8dba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dev-tcltk/tclpython/tclpython-5.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down

0 comments on commit a3d8dba

Please sign in to comment.