Diff phar-io-manifest-1.0.3 with a phar-io-manifest-2.0.1

/usr/portage/dev-php/phar-io-manifest/phar-io-manifest-2.0.1.ebuild 2023-10-09 14:52:30.240368369 +0300
9 9

  
10 10
LICENSE="BSD"
11 11
SLOT="0"
12
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
12
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
13 13
IUSE="examples"
14 14

  
15
CDEPEND="dev-php/fedora-autoloader
16
	>=dev-php/phar-io-version-3.0.1
17
	>=dev-lang/php-7.2:*[phar,xml(-),xmlwriter(-)]"
18

  
19
BDEPEND="dev-php/theseer-Autoload"
20

  
21
RDEPEND="${CDEPEND}"
22

  
15 23
S="${WORKDIR}/manifest-${PV}"
16 24

  
17
RDEPEND="dev-php/fedora-autoloader
18
	>=dev-php/phar-io-version-2
19
	dev-lang/php:*[phar]"
25
src_prepare() {
26
	default
27

  
28
	phpab \
29
		--output src/autoload.php \
30
		--template fedora2 \
31
		--basedir src \
32
		src \
33
		|| die
34

  
35
	cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
36

  
37
// Dependencies
38
\Fedora\Autoloader\Dependencies::required([
39
	'/usr/share/php/PharIo/Version/autoload.php'
40
]);
41
EOF
42
}
20 43

  
21 44
src_install() {
22 45
	insinto /usr/share/php/PharIo/Manifest
23 46
	doins -r src/*
24
	doins "${FILESDIR}/autoload.php"
25 47
	dodoc README.md
26 48
	use examples && dodoc -r examples
27 49
}
Thank you!