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
This commit is contained in:
Kent Fredric
2017-10-24 14:58:24 +13:00
parent d3c1898934
commit 30c4e128e0
2 changed files with 34 additions and 0 deletions

View File

@@ -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
}

View File

@@ -5,4 +5,8 @@
<email>perl@gentoo.org</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>