From: Pacho Ramos Date: Sat, 24 Oct 2015 09:10:45 +0000 (+0200) Subject: dev-perl/wxperl: Support wxGTK:3.0 (#563340) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fd33aeef3515a18d6821407c3f491412fe6fe214;p=gentoo.git dev-perl/wxperl: Support wxGTK:3.0 (#563340) Package-Manager: portage-2.2.23 --- diff --git a/dev-perl/wxperl/wxperl-0.992.700-r1.ebuild b/dev-perl/wxperl/wxperl-0.992.700-r1.ebuild new file mode 100644 index 000000000000..15f91eec134b --- /dev/null +++ b/dev-perl/wxperl/wxperl-0.992.700-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +MY_PN=Wx +WX_GTK_VER="3.0" +MODULE_AUTHOR=MDOOTSON +MODULE_VERSION=0.9927 +inherit wxwidgets virtualx perl-module + +DESCRIPTION="Perl bindings for wxGTK" +HOMEPAGE="http://wxperl.sourceforge.net/ ${HOMEPAGE}" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-perl/Alien-wxWidgets-0.670.0 + x11-libs/wxGTK:${WX_GTK_VER} + >=virtual/perl-File-Spec-0.820.0 +" +DEPEND="${RDEPEND} + >=virtual/perl-ExtUtils-MakeMaker-6.480.0 + >=virtual/perl-ExtUtils-ParseXS-3.150.0 + >=dev-perl/ExtUtils-XSpp-0.160.200 + >=virtual/perl-if-0.30.0 + test? ( + >=virtual/perl-Test-Harness-2.260.0 + >=virtual/perl-Test-Simple-0.430.0 + ) +" + +src_prepare() { + need-wxwidgets base-unicode + perl-module_src_prepare +} + +src_test() { + VIRTUALX_COMMAND=perl-module_src_test + virtualmake +} + +SRC_TEST="do"