Diff sebastian-type-1.1.3 with a sebastian-type-1.1.4
/usr/portage/dev-php/sebastian-type/sebastian-type-1.1.4.ebuild 2023-10-09 14:52:30.240368369 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
MY_PN="type" |
|
6 |
MY_PN="${PN/sebastian-/}" |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="Collection of value objects that represent the types of the PHP type system" |
9 | 9 |
HOMEPAGE="https://phpunit.de" |
... | ... | |
14 | 14 |
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ppc64 ~s390 sparc x86" |
15 | 15 |
IUSE="" |
16 | 16 | |
17 |
S="${WORKDIR}/${MY_PN}-${PV}" |
|
17 |
BDEPEND="dev-php/theseer-Autoload" |
|
18 | 18 | |
19 | 19 |
RDEPEND="dev-php/fedora-autoloader |
20 | 20 |
>=dev-lang/php-7.2:*" |
21 | 21 | |
22 |
S="${WORKDIR}/${MY_PN}-${PV}" |
|
23 | ||
24 |
src_prepare() { |
|
25 |
default |
|
26 | ||
27 |
phpab \ |
|
28 |
--output src/autoload.php \ |
|
29 |
--template fedora2 \ |
|
30 |
--basedir src \ |
|
31 |
src \ |
|
32 |
|| die |
|
33 |
} |
|
34 | ||
22 | 35 |
src_install() { |
23 | 36 |
insinto /usr/share/php/SebastianBergmann/Type |
24 |
doins -r src/* |
|
25 |
doins "${FILESDIR}/autoload.php" |
|
37 |
doins -r src/. |
|
38 | ||
39 |
einstalldocs |
|
26 | 40 |
} |