Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST doctrine-annotations-2.0.2.tar.gz 27314 BLAKE2B 292d6d89cd65810f7d2ad83748fced3f797363d2263b46d3cb28cca5c8839e9660776d5bab86f04a059e81b043d44408f12d32aefd2475cedb8b5a319795df60 SHA512 5ce56dad06fc2f73e63d3cafa6ecdb8dd07f113dc31845dd02269451ed27c2e08ecc92e0f66f79e7afd2f59623257b0bf8f807fe3036817a8af9ba8cfdd4aa18
|
||||
EBUILD doctrine-annotations-2.0.2.ebuild 1079 BLAKE2B e662486c2df0a187b2955d10df4195d272739778d0ca0ebb230b72b2c40c0ef8cac0b270013e3584ef96e7088374ea280f5ea3f3b70b35970d8338648f517b2f SHA512 c9460019177dfcedac7de5caea3e08c32a23933554a7c3827e259a5e85a5347d6f049556f4fd5cd77ea102a3c185ceb942888d05a17336271e272338149f04c7
|
||||
MISC metadata.xml 229 BLAKE2B e3d7ae86d5bf544b97e349508a93a3d9d2d9f9a65b0510fd952b4703e040fe06742e5255adc86306a9e7704973703711c5713bb5b0f0457c81519b94cb913c37 SHA512 328f2c3d9b5bd9b34f2fc33569ef553beb420d8d6844173fcd189a3bf6a3cb4633c5d4b1551cf22d3707a44e38e8b54d30ff1ea770c7a5fb3d1594cb27427a97
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Docblock Annotations Parser"
|
||||
HOMEPAGE="https://github.com/doctrine/annotations"
|
||||
SRC_URI="https://github.com/doctrine/annotations/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/annotations-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-7.4:*
|
||||
dev-php/fedora-autoloader
|
||||
dev-php/doctrine-lexer
|
||||
dev-php/psr-cache
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--quiet \
|
||||
--output autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir . \
|
||||
. \
|
||||
|| die
|
||||
|
||||
VENDOR_DIR="${EPREFIX}/usr/share/php"
|
||||
cat >> autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
"${VENDOR_DIR}/Fedora/Autoloader/autoload.php",
|
||||
"${VENDOR_DIR}/Doctrine/Common/Lexer/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Cache/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Doctrine/Common/Annotations"
|
||||
doins -r *.php LICENSE docs lib
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<upstream>
|
||||
<remote-id type="github">doctrine/annotations</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user