# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DIST_AUTHOR=BPS
DIST_VERSION=1.76
DIST_EXAMPLES=("ex/*")
inherit perl-module

DESCRIPTION="Encapsulate SQL queries and rows in simple Perl objects"

SLOT="0"
KEYWORDS="amd64 ~hppa ~ppc ~riscv x86"

RDEPEND="
	>=dev-perl/Cache-Simple-TimedExpiry-0.210.0
	dev-perl/Class-Accessor
	>=dev-perl/Class-ReturnValue-0.400.0
	dev-perl/Clone
	dev-perl/DBI
	dev-perl/DBIx-DBSchema
	>=virtual/perl-Encode-1.990.0
	virtual/perl-Scalar-List-Utils
	dev-perl/Want
	>=dev-perl/capitalization-0.30.0
"
BDEPEND="
	${RDEPEND}
	>=virtual/perl-ExtUtils-MakeMaker-6.590.0
	test? (
		>=virtual/perl-Test-Simple-0.520.0
		dev-perl/DBD-SQLite
		virtual/perl-File-Temp
	)
"

PERL_RM_FILES=(
	t/pod.t
)