commit:     ad9d08df98248d3f8455d7cb85b6c929e77abcfb
Author:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 24 02:06:36 2017 +0000
Commit:     Kent Fredric <kentnl <AT> gentoo <DOT> org>
CommitDate: Tue Oct 24 02:06:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9d08df

dev-perl/Gtk2-Unique: Enable tests

- EAPI6
- Enable X tests
- add USE=examples

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r2.ebuild | 31 +++++++++++++++++++++++
 dev-perl/Gtk2-Unique/metadata.xml                 | 24 +++++++++---------
 2 files changed, 43 insertions(+), 12 deletions(-)

diff --git a/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r2.ebuild 
b/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r2.ebuild
new file mode 100644
index 00000000000..782aba3410f
--- /dev/null
+++ b/dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DIST_AUTHOR=POTYL
+DIST_VERSION=0.05
+DIST_EXAMPLES=( "examples/*" )
+inherit perl-module virtualx
+
+DESCRIPTION="Perl binding for C libunique library"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+       dev-libs/libunique:1
+       dev-perl/Gtk2
+"
+DEPEND="${RDEPEND}
+       dev-perl/glib-perl
+       dev-perl/ExtUtils-Depends
+       dev-perl/ExtUtils-PkgConfig
+"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.05-implicit-pointer.patch )
+
+src_test() {
+       virtx perl-module_src_test
+}

diff --git a/dev-perl/Gtk2-Unique/metadata.xml 
b/dev-perl/Gtk2-Unique/metadata.xml
index 33b3c194520..3a9e1ff13cd 100644
--- a/dev-perl/Gtk2-Unique/metadata.xml
+++ b/dev-perl/Gtk2-Unique/metadata.xml
@@ -1,16 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
 <pkgmetadata>
-<maintainer type="person">
-<email>[email protected]</email>
-<name>Markos Chandras</name>
-</maintainer>
-<maintainer type="project">
-<email>[email protected]</email>
-<name>Gentoo Perl Project</name>
-</maintainer>
-<upstream>
-<remote-id type="cpan">Gtk2-Unique</remote-id>
-<remote-id type="cpan-module">Gtk2::Unique</remote-id>
-</upstream>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Markos Chandras</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Gentoo Perl Project</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="cpan">Gtk2-Unique</remote-id>
+    <remote-id type="cpan-module">Gtk2::Unique</remote-id>
+  </upstream>
 </pkgmetadata>

Reply via email to