You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-perl/DBIx-Safe/DBIx-Safe-1.2.5-r1.ebuild

30 lines
675 B

# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DIST_AUTHOR=TURNSTEP
DIST_VERSION=1.2.5
inherit perl-module eutils
DESCRIPTION="Safer access to your database through a DBI database handle"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
LICENSE="BSD-2"
RDEPEND="dev-perl/DBI
dev-perl/DBD-Pg"
DEPEND="${RDEPEND}"
src_test() {
perl_rm_files t/02perlcritic.t
if [[ -z "${DBI_DSN}" ]]; then
ewarn "Comprehensive testing of this package requires some manual configuration."
ewarn "For details, see:"
ewarn "https://wiki.gentoo.org/wiki/Project:Perl/maint-notes/dev-perl/DBIx-Safe"
fi
perl-module_src_test
}