summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKent Fredric <kentnl@gentoo.org>2017-10-20 21:40:39 +1300
committerKent Fredric <kentnl@gentoo.org>2017-10-20 21:41:51 +1300
commitc54b47fbe2c2bfa3decdbf69c4950d2b4b86663b (patch)
tree2a967edb254f54c1704c5a1ffb47dc733be79047 /dev-perl/DBIx-Class-UserStamp
parentdev-perl/DBIx-Class-InflateColumn-IP: Fix missing test dep on DBD-SQLite (diff)
downloadgentoo-c54b47fbe2c2bfa3decdbf69c4950d2b4b86663b.tar.gz
gentoo-c54b47fbe2c2bfa3decdbf69c4950d2b4b86663b.tar.bz2
gentoo-c54b47fbe2c2bfa3decdbf69c4950d2b4b86663b.zip
dev-perl/DBIx-Class-UserStamp: Fix missing test dep on DBD-SQLite
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/DBIx-Class-UserStamp')
-rw-r--r--dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r1.ebuild b/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r1.ebuild
index 4c00151cbba8..3aa030c495d2 100644
--- a/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r1.ebuild
+++ b/dev-perl/DBIx-Class-UserStamp/DBIx-Class-UserStamp-0.110.0-r1.ebuild
@@ -11,12 +11,14 @@ DESCRIPTION="Automatically set update and create user id fields"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="test"
-DEPEND="dev-perl/Class-Accessor-Grouped
+RDEPEND="dev-perl/Class-Accessor-Grouped
dev-perl/DBIx-Class-DynamicDefault
dev-perl/DBIx-Class"
-RDEPEND="${DEPEND}"
+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 ||