1 |
commit: a3d8dbad0c183b282a7184a76320a511afd54120 |
2 |
Author: Tupone Alfredo <tupone <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 30 19:34:48 2018 +0000 |
4 |
Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 30 19:34:48 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d8dbad |
7 |
|
8 |
dev-tcltk/tclpython: Fix test |
9 |
|
10 |
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
12 |
|
13 |
dev-tcltk/tclpython/tclpython-5.0.ebuild | 5 ++++- |
14 |
1 file changed, 4 insertions(+), 1 deletion(-) |
15 |
|
16 |
diff --git a/dev-tcltk/tclpython/tclpython-5.0.ebuild b/dev-tcltk/tclpython/tclpython-5.0.ebuild |
17 |
index e4a170a603e..f7c6efb3ea7 100644 |
18 |
--- a/dev-tcltk/tclpython/tclpython-5.0.ebuild |
19 |
+++ b/dev-tcltk/tclpython/tclpython-5.0.ebuild |
20 |
@@ -25,7 +25,6 @@ RDEPEND="${DEPEND}" |
21 |
PATCHES=( "${FILESDIR}"/${P}-gentoo.patch ) |
22 |
|
23 |
src_compile() { |
24 |
- local PKG_NAME |
25 |
if python_is_python3; then |
26 |
PKG_NAME=tclpython3 |
27 |
else |
28 |
@@ -34,6 +33,10 @@ src_compile() { |
29 |
emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) |
30 |
} |
31 |
|
32 |
+src_test() { |
33 |
+ emake PKG_NAME=${PKG_NAME} CC=$(tc-getCC) test |
34 |
+} |
35 |
+ |
36 |
src_install() { |
37 |
if python_is_python3; then |
38 |
insinto /usr/$(get_libdir) |