1 |
commit: 6fe8bf9da54c13357bfa31345dcd41cb62be63b2 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 18:11:50 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 31 19:59:34 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe8bf9d |
7 |
|
8 |
dev-tcltk/tktray: EAPI-7 bump, drop useless virtualx and src_test() |
9 |
|
10 |
Xemake did nothing at all in this case and by that hid the fact that tests |
11 |
are indeed (still) impossible to run for us, see also the ancient bug. |
12 |
|
13 |
Bug: https://bugs.gentoo.org/284919 |
14 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
15 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
16 |
|
17 |
dev-tcltk/tktray/tktray-1.3.9.ebuild | 27 +++++++++------------------ |
18 |
1 file changed, 9 insertions(+), 18 deletions(-) |
19 |
|
20 |
diff --git a/dev-tcltk/tktray/tktray-1.3.9.ebuild b/dev-tcltk/tktray/tktray-1.3.9.ebuild |
21 |
index 3cb9eb4b38a..cdfa53b8e12 100644 |
22 |
--- a/dev-tcltk/tktray/tktray-1.3.9.ebuild |
23 |
+++ b/dev-tcltk/tktray/tktray-1.3.9.ebuild |
24 |
@@ -1,21 +1,20 @@ |
25 |
-# Copyright 1999-2019 Gentoo Authors |
26 |
+# Copyright 1999-2021 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
-EAPI=5 |
30 |
- |
31 |
-inherit eutils virtualx |
32 |
- |
33 |
-MY_P="${PN}${PV}" |
34 |
+EAPI=7 |
35 |
|
36 |
DESCRIPTION="System Tray Icon Support for Tk on X11" |
37 |
HOMEPAGE="https://code.google.com/p/tktray/" |
38 |
-SRC_URI="https://tktray.googlecode.com/files/${MY_P}.tar.gz" |
39 |
+SRC_URI="https://tktray.googlecode.com/files/${PN}${PV}.tar.gz" |
40 |
+S="${WORKDIR}/${PN}${PV}" |
41 |
|
42 |
LICENSE="tcltk" |
43 |
SLOT="0" |
44 |
KEYWORDS="amd64 ~ppc ~sparc x86" |
45 |
-IUSE="debug threads test" |
46 |
-RESTRICT="!test? ( test )" |
47 |
+IUSE="debug threads" |
48 |
+ |
49 |
+# tests need actual X server with user interaction, bug #284919 |
50 |
+RESTRICT="test" |
51 |
|
52 |
DEPEND=" |
53 |
>=dev-lang/tcl-8.4:0= |
54 |
@@ -23,11 +22,7 @@ DEPEND=" |
55 |
x11-libs/libXext" |
56 |
RDEPEND="${DEPEND}" |
57 |
|
58 |
-S="${WORKDIR}/${MY_P}" |
59 |
- |
60 |
-src_prepare() { |
61 |
- epatch "${FILESDIR}"/1.1-ldflags.patch |
62 |
-} |
63 |
+PATCHES=( "${FILESDIR}"/1.1-ldflags.patch ) |
64 |
|
65 |
src_configure() { |
66 |
source /usr/lib/tclConfig.sh |
67 |
@@ -36,7 +31,3 @@ src_configure() { |
68 |
$(use_enable debug symbols) \ |
69 |
$(use_enable threads) |
70 |
} |
71 |
- |
72 |
-src_test() { |
73 |
- Xemake |
74 |
-} |