From 30c4e128e0c8231b54d0a41c9fbe3237cf3808a2 Mon Sep 17 00:00:00 2001 From: Kent Fredric Date: Tue, 24 Oct 2017 14:58:24 +1300 Subject: [PATCH] dev-perl/Gtk2-SourceView2: Virtualxify tests - Make tests work with virtualx - Add upstream remote-id's to metadata.xml Package-Manager: Portage-2.3.8, Repoman-2.3.3 --- .../Gtk2-SourceView2-0.100.0-r1.ebuild | 30 +++++++++++++++++++ dev-perl/Gtk2-SourceView2/metadata.xml | 4 +++ 2 files changed, 34 insertions(+) create mode 100644 dev-perl/Gtk2-SourceView2/Gtk2-SourceView2-0.100.0-r1.ebuild diff --git a/dev-perl/Gtk2-SourceView2/Gtk2-SourceView2-0.100.0-r1.ebuild b/dev-perl/Gtk2-SourceView2/Gtk2-SourceView2-0.100.0-r1.ebuild new file mode 100644 index 0000000000000..2042b5ad212a5 --- /dev/null +++ b/dev-perl/Gtk2-SourceView2/Gtk2-SourceView2-0.100.0-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DIST_AUTHOR=POTYL +DIST_VERSION=0.10 +DIST_A_EXT=tar.gz +inherit perl-module virtualx + +DESCRIPTION="Perl binding for the C library gtksourceview" + +SLOT="0" +LICENSE="|| ( GPL-2+ Artistic-2 )" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-perl/Gtk2 + >=dev-perl/glib-perl-1.160.0 +" +DEPEND="${RDEPEND} + dev-perl/ExtUtils-Depends + dev-perl/ExtUtils-PkgConfig + virtual/perl-ExtUtils-MakeMaker + x11-libs/gtksourceview:2.0 +" +src_test() { + virtx perl-module_src_test +} diff --git a/dev-perl/Gtk2-SourceView2/metadata.xml b/dev-perl/Gtk2-SourceView2/metadata.xml index 2b9a936fc0a19..4febf45a1ab1c 100644 --- a/dev-perl/Gtk2-SourceView2/metadata.xml +++ b/dev-perl/Gtk2-SourceView2/metadata.xml @@ -5,4 +5,8 @@ perl@gentoo.org Gentoo Perl Project + + Gtk2-SourceView + Gtk2::SourceView2 +