summaryrefslogtreecommitdiff
path: root/dev-php/PEAR-Validate/PEAR-Validate-0.8.6.ebuild
blob: 69ac1bf80769b3a427fdec757580291f0d64fa90 (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="amd64 ~arm ~hppa 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
}