summaryrefslogtreecommitdiff
blob: 4dd0af78925693f8f0f6edcdbab1039a953453e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit php-pear-r2

KEYWORDS="~alpha amd64 ~arm hppa ia64 ppc ppc64 ~s390 sparc x86"

DESCRIPTION="Validation class"
LICENSE="BSD"
SLOT="0"
IUSE="minimal test"
RESTRICT="!test? ( test )"

DEPEND="test? ( dev-php/PEAR-PEAR dev-php/PEAR-Date )"
RDEPEND="!minimal? ( dev-php/PEAR-Date )"
PATCHES=( "${FILESDIR}/0.8.5-fix-test-php7.patch" )
HTML_DOCS=( docs/Example_Locale.php docs/sample_multiple.php )

src_test() {
	peardev run-tests tests || die
}