Сравнение jsonlint-1.8.2 с jsonlint-1.8.3-r1

/usr/portage/dev-php/jsonlint/jsonlint-1.8.3-r1.ebuild 2023-10-09 14:52:30.236368369 +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
......
9 9

  
10 10
LICENSE="MIT"
11 11
SLOT="0"
12
KEYWORDS="~amd64 ~x86"
13
IUSE="test"
14
RESTRICT="!test? ( test )"
15

  
16
RDEPEND="
17
	dev-lang/php:*
18
	dev-php/fedora-autoloader"
19
DEPEND="
20
	test? (
21
		${RDEPEND}
22
		dev-php/phpunit
23
	)"
12
KEYWORDS="amd64 x86"
13
IUSE=""
14

  
15
BDEPEND="dev-php/theseer-Autoload"
16

  
17
RDEPEND="dev-php/fedora-autoloader
18
	dev-lang/php:*"
24 19

  
25 20
src_prepare() {
26 21
	default
27
	if use test; then
28
		cp "${FILESDIR}"/autoload.php "${S}"/autoload-test.php || die
29
		sed -i -e "s:__DIR__:'${S}/src/Seld/JsonLint':" "${S}"/autoload-test.php || die
30
	fi
22

  
23
	phpab \
24
		--output src/Seld/JsonLint/autoload.php \
25
		--template fedora2 \
26
		--basedir src/Seld/JsonLint \
27
		src \
28
		|| die
31 29
}
32 30

  
33 31
src_install() {
34 32
	insinto "/usr/share/php/Seld/JsonLint"
35
	doins -r src/Seld/JsonLint/. "${FILESDIR}"/autoload.php
36
	dodoc README.md
37
}
33
	doins -r src/Seld/JsonLint/.
38 34

  
39
src_test() {
40
	phpunit --bootstrap "${S}"/autoload-test.php || die "test suite failed"
35
	einstalldocs
41 36
}
Спасибо!