commit:     30c4e128e0c8231b54d0a41c9fbe3237cf3808a2
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 01:58:24 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 01:58:24 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30c4e128

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(+)

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 00000000000..2042b5ad212
--- /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 2b9a936fc0a..4febf45a1ab 100644
--- a/dev-perl/Gtk2-SourceView2/metadata.xml
+++ b/dev-perl/Gtk2-SourceView2/metadata.xml
@@ -5,4 +5,8 @@
     <email>[email protected]</email>
     <name>Gentoo Perl Project</name>
   </maintainer>
+  <upstream>
+    <remote-id type="cpan">Gtk2-SourceView</remote-id>
+    <remote-id type="cpan-module">Gtk2::SourceView2</remote-id>
+  </upstream>
 </pkgmetadata>

Reply via email to