summaryrefslogtreecommitdiff
blob: 5b04ff1ea5e09ab769638604d923200add483741 (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-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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
}