Gentoo Archives: gentoo-commits

From: Kent Fredric <kentnl@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/Wx/
Date: Wed, 21 Mar 2018 00:59:14
Message-Id: 1521593905.dae187f9846017f28fbbd0047db520cad0b4daa8.kentnl@gentoo
1 commit: dae187f9846017f28fbbd0047db520cad0b4daa8
2 Author: Kent Fredric <kentnl <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 21 00:57:47 2018 +0000
4 Commit: Kent Fredric <kentnl <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 21 00:58:25 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae187f9
7
8 dev-perl/Wx: Force newer Alien-wxWidgets to avoid wxgtk build issues
9
10 Older EAPI6 versions of Alien-wxWidgets could build against versions
11 of wxGTK that eventually lead to dev-perl/Wx failing to compile.
12
13 Also avoids using deprecated API of wxwidgets.eclass
14
15 Bug: https://bugs.gentoo.org/615246
16 Closes: https://bugs.gentoo.org/627180
17 Closes: https://bugs.gentoo.org/623042
18 Package-Manager: Portage-2.3.24, Repoman-2.3.6
19
20 dev-perl/Wx/Wx-0.993.200-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
21 1 file changed, 46 insertions(+)
22
23 diff --git a/dev-perl/Wx/Wx-0.993.200-r1.ebuild b/dev-perl/Wx/Wx-0.993.200-r1.ebuild
24 new file mode 100644
25 index 00000000000..b1d9866a7ae
26 --- /dev/null
27 +++ b/dev-perl/Wx/Wx-0.993.200-r1.ebuild
28 @@ -0,0 +1,46 @@
29 +# Copyright 1999-2018 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +
32 +EAPI=6
33 +
34 +WX_GTK_VER="3.0"
35 +DIST_AUTHOR=MDOOTSON
36 +DIST_VERSION=0.9932
37 +DIST_EXAMPLES=("samples/*")
38 +inherit wxwidgets virtualx perl-module
39 +
40 +DESCRIPTION="Perl bindings for wxGTK"
41 +HOMEPAGE="http://wxperl.sourceforge.net/ ${HOMEPAGE}"
42 +
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="test"
46 +
47 +RDEPEND="
48 + >=dev-perl/Alien-wxWidgets-0.690.0-r1
49 + x11-libs/wxGTK:${WX_GTK_VER}
50 + >=virtual/perl-File-Spec-0.820.0
51 +"
52 +DEPEND="${RDEPEND}
53 + >=virtual/perl-ExtUtils-MakeMaker-6.480.0
54 + >=virtual/perl-ExtUtils-ParseXS-3.150.0
55 + >=dev-perl/ExtUtils-XSpp-0.160.200
56 + >=virtual/perl-if-0.30.0
57 + test? (
58 + >=virtual/perl-Test-Harness-2.260.0
59 + >=virtual/perl-Test-Simple-0.430.0
60 + )
61 +"
62 +
63 +src_prepare() {
64 + setup-wxwidgets
65 + perl-module_src_prepare
66 +}
67 +
68 +src_test() {
69 + # the webview/t/03_threads.t test tends to hang or crash in weird
70 + # ways depending on local configuration. eg, backtraces involving
71 + # all of webkit-gtk, kpartsplugin and kdelibs...
72 + perl_rm_files t/12_pod.t ext/webview/t/03_threads.t
73 + virtx perl-module_src_test
74 +}