summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-20 21:39:38 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-20 21:41:51 +1300
commit2ab873b0e20d50402d79860d9d6ea8f07f684535 (patch)
treef1b598f7d7810c16c50afe9869a808243fcadc3e /dev-perl/DBIx-Class-InflateColumn-IP
parentdev-util/kbuild: Removed old. (diff)
downloadgentoo-2ab873b0e20d50402d79860d9d6ea8f07f684535.tar.gz
gentoo-2ab873b0e20d50402d79860d9d6ea8f07f684535.tar.bz2
gentoo-2ab873b0e20d50402d79860d9d6ea8f07f684535.zip
dev-perl/DBIx-Class-InflateColumn-IP: Fix missing test dep on DBD-SQLite
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/DBIx-Class-InflateColumn-IP')
-rw-r--r--dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r1.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r1.ebuild b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r1.ebuild
index 479c54e5bac4..ef520397ac63 100644
--- a/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r1.ebuild
+++ b/dev-perl/DBIx-Class-InflateColumn-IP/DBIx-Class-InflateColumn-IP-0.20.30-r1.ebuild
@@ -11,13 +11,15 @@ DESCRIPTION="Auto-create NetAddr::IP objects from columns"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
RDEPEND="
dev-perl/NetAddr-IP
>=dev-perl/DBIx-Class-0.81.70
"
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+ test? ( dev-perl/DBD-SQLite )
+"
src_prepare() {
sed -i -e 's/use inc::Module::Install /use lib q[.];\nuse inc::Module::Install /' Makefile.PL ||