Added a lot of PHP packages for the defunct volkszaehler ebuild

This commit is contained in:
Torsten Kurbad
2025-10-09 12:09:31 +02:00
parent cba6641bde
commit 69cb537d3d
417 changed files with 8637 additions and 53 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST illuminate-collections-12.33.0.tar.gz 36378 BLAKE2B 40ba4caef6ef5cd2b7d954bdd2c79099d7caa19764b957446ba6fc0ba090fd56c0f7ebdcfd13da0c1f58f5cc501ef258b91d0735e9b8de5b086cd5bdad0afc82 SHA512 8a9d1b2cccb248646f69f4366bd79f9ecc20e730f5a52a1c93989d1f04fab71bc39c6cc2e73d3bf0c42b891565e3a57c85a2d63338784f022416a612f71dfe67
EBUILD illuminate-collections-12.33.0.ebuild 1580 BLAKE2B 29b4f93ea398bdf8390c5f03afe5ef76355c8a56b52de327e0bc4355f2c6f697931f8d420e7035373f9bc31fde3ed7744d72c4170a69f49b3e0ded335a1b78f9 SHA512 faf9769fb1620405ceb808ab77e74351cf13f67cb846bdcb2012b57f598e7ee2692e5d07a371819201a429cb674add233e23a34a0b45eb515ead07e1417c22b7
MISC metadata.xml 231 BLAKE2B ffbd4db5d40ec9af9396465e2f4fc64586b283f44e97fea2ae0bbe9808d6f0c236b7b6e0c7a147a98970811a0060202d0cadf2390603ae9968a36584cf0f85d6 SHA512 63cb406481048dad54c6c41ac0d07e6b279ead5b404923e63736424bdad5a71605da28d84a0ebeeae7e6cfaa95600715d95acfc2383a19dbf697a5d8003cc5af
@@ -0,0 +1,63 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The Illuminate Collections package."
HOMEPAGE="https://github.com/illuminate/collections"
SRC_URI="https://github.com/illuminate/collections/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/collections-${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/illuminate-conditionable
dev-php/illuminate-contracts
dev-php/illuminate-macroable
dev-php/symfony-polyfill-php84
dev-php/symfony-polyfill-php85
"
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}/Illuminate/Support/autoload.php",
"${VENDOR_DIR}/Illuminate/Contracts/autoload.php",
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
"${VENDOR_DIR}/Psr/Container/autoload.php",
"${VENDOR_DIR}/Psr/SimpleCache/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php84/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php85/autoload.php"
]);
EOF
echo "require_once __DIR__ . \"/functions.php\";" >> autoload.php
echo "require_once __DIR__ . \"/helpers.php\";" >> autoload.php
}
src_install() {
insinto "/usr/share/php/Illuminate/Support"
doins -r *.php Traits
}
@@ -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">illuminate/collections</remote-id>
</upstream>
</pkgmetadata>