1 |
commit: d159cc5387388f5f8b1575a76311dc2c586a67b2 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 6 13:31:33 2018 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 6 13:35:38 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d159cc53 |
7 |
|
8 |
dev-tcltk/tktreectrl: Bump to EAPI=6 |
9 |
|
10 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch | 4 ++-- |
14 |
dev-tcltk/tktreectrl/tktreectrl-2.4.1.ebuild | 30 ++++++++++++------------ |
15 |
2 files changed, 17 insertions(+), 17 deletions(-) |
16 |
|
17 |
diff --git a/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch b/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch |
18 |
index 8b6dcea48ac..07a1e36f931 100644 |
19 |
--- a/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch |
20 |
+++ b/dev-tcltk/tktreectrl/files/2.2.9-as-needed.patch |
21 |
@@ -1,5 +1,5 @@ |
22 |
---- Makefile.in 2008-02-24 23:22:10.000000000 +0100 |
23 |
-+++ Makefile.in.new 2009-07-11 23:54:48.000000000 +0200 |
24 |
+--- a/Makefile.in 2008-02-24 23:22:10.000000000 +0100 |
25 |
++++ b/Makefile.in.new 2009-07-11 23:54:48.000000000 +0200 |
26 |
@@ -107,7 +107,7 @@ |
27 |
RANLIB = @RANLIB@ |
28 |
RANLIB_STUB = @RANLIB_STUB@ |
29 |
|
30 |
diff --git a/dev-tcltk/tktreectrl/tktreectrl-2.4.1.ebuild b/dev-tcltk/tktreectrl/tktreectrl-2.4.1.ebuild |
31 |
index 24e9f19a4e3..bd20b2a3182 100644 |
32 |
--- a/dev-tcltk/tktreectrl/tktreectrl-2.4.1.ebuild |
33 |
+++ b/dev-tcltk/tktreectrl/tktreectrl-2.4.1.ebuild |
34 |
@@ -1,9 +1,9 @@ |
35 |
-# Copyright 1999-2012 Gentoo Foundation |
36 |
+# Copyright 1999-2018 Gentoo Foundation |
37 |
# Distributed under the terms of the GNU General Public License v2 |
38 |
|
39 |
-EAPI=4 |
40 |
+EAPI=6 |
41 |
|
42 |
-inherit eutils virtualx |
43 |
+inherit virtualx |
44 |
|
45 |
DESCRIPTION="A flexible listbox widget for Tk" |
46 |
HOMEPAGE="http://tktreectrl.sourceforge.net/" |
47 |
@@ -14,28 +14,28 @@ SLOT="0" |
48 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
49 |
IUSE="X debug shellicon threads" |
50 |
|
51 |
-RDEPEND=">=dev-lang/tk-8.4" |
52 |
+RDEPEND=">=dev-lang/tk-8.4:0=" |
53 |
DEPEND="${RDEPEND}" |
54 |
|
55 |
-src_prepare() { |
56 |
- epatch "${FILESDIR}"/2.2.9-as-needed.patch |
57 |
-} |
58 |
+PATCHES=( "${FILESDIR}"/2.2.9-as-needed.patch ) |
59 |
|
60 |
src_configure() { |
61 |
econf \ |
62 |
- $(use_enable threads) \ |
63 |
- $(use_enable shellicon) \ |
64 |
- $(use_enable amd64 64bit) \ |
65 |
- $(use_enable debug symbols) \ |
66 |
- $(use_enable X x) \ |
67 |
- --enable-shared |
68 |
+ $(use_enable threads) \ |
69 |
+ $(use_enable shellicon) \ |
70 |
+ $(use_enable amd64 64bit) \ |
71 |
+ $(use_enable debug symbols) \ |
72 |
+ $(use_enable X x) \ |
73 |
+ --enable-shared |
74 |
} |
75 |
|
76 |
src_test() { |
77 |
- Xemake test |
78 |
+ virtx emake test |
79 |
} |
80 |
|
81 |
src_install() { |
82 |
default |
83 |
- mv "${ED}"/usr/lib*/treectrl${PV}/htmldoc "${ED}"/usr/share/doc/${P}/ |
84 |
+ mv \ |
85 |
+ "${ED}"/usr/lib*/treectrl${PV}/htmldoc \ |
86 |
+ "${ED}"/usr/share/doc/${P}/ || die |
87 |
} |