summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-24 15:06:36 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-24 15:06:36 +1300
commitad9d08df98248d3f8455d7cb85b6c929e77abcfb (patch)
treefa0db52cfa01017dced5c231761268cba3761eb7 /dev-perl/Gtk2-Unique
parentdev-perl/Gtk2-SourceView2: Virtualxify tests (diff)
downloadgentoo-ad9d08df98248d3f8455d7cb85b6c929e77abcfb.tar.gz
gentoo-ad9d08df98248d3f8455d7cb85b6c929e77abcfb.tar.bz2
gentoo-ad9d08df98248d3f8455d7cb85b6c929e77abcfb.zip
dev-perl/Gtk2-Unique: Enable tests
- EAPI6 - Enable X tests - add USE=examples Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/Gtk2-Unique')
-rw-r--r--dev-perl/Gtk2-Unique/Gtk2-Unique-0.50.0-r2.ebuild31
-rw-r--r--dev-perl/Gtk2-Unique/metadata.xml24
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 000000000000..782aba3410f2
--- /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 33b3c194520b..3a9e1ff13cd2 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>hwoarang@gentoo.org</email>
-<name>Markos Chandras</name>
-</maintainer>
-<maintainer type="project">
-<email>perl@gentoo.org</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>hwoarang@gentoo.org</email>
+ <name>Markos Chandras</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>perl@gentoo.org</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>