Сравнение awl-0.61 с awl-0.62
/usr/portage/dev-php/awl/awl-0.62.ebuild 2023-10-09 14:52:29.964368362 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2020 Gentoo Authors |
|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
... | ... | |
7 | 7 |
HOMEPAGE="https://gitlab.com/davical-project/awl" |
8 | 8 |
SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" |
9 | 9 | |
10 |
USE_PHP="php8.0" |
|
11 | ||
10 | 12 |
LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+" |
11 | 13 |
SLOT="0" |
12 | 14 |
KEYWORDS="~amd64 ~x86" |
... | ... | |
14 | 16 |
RESTRICT="!test? ( test )" |
15 | 17 | |
16 | 18 |
BDEPEND="test? ( dev-php/phpunit )" |
17 |
RDEPEND="dev-lang/php:*[pdo,postgres,xml]" |
|
19 |
RDEPEND="dev-lang/php:*[pdo,xml]" |
|
18 | 20 | |
19 | 21 |
S="${WORKDIR}" |
20 | 22 | |
... | ... | |
23 | 25 |
} |
24 | 26 | |
25 | 27 |
src_test() { |
26 |
phpunit --do-not-cache-result tests/ || die "test suite failed" |
|
28 |
local slot |
|
29 |
for slot in ${USE_PHP//-/.} ; do |
|
30 |
if [[ -x /usr/bin/${slot} ]] ; then |
|
31 |
${slot} "${EPREFIX}"/usr/bin/phpunit --verbose --do-not-cache-result tests/ \ |
|
32 |
|| die "test suite failed" |
|
33 |
fi |
|
34 |
done |
|
27 | 35 |
} |
28 | 36 | |
29 | 37 |
src_install() { |