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-support-12.33.0.tar.gz 100612 BLAKE2B 5a4e7097270011aaaa89474abbee0332b18d4e2c69bed90102d892175b3c013675554f01e1426e2585fbdb4ecb839e835233736aa15e57c8fc946ea9b1e4280c SHA512 0ca7275c8287904f2fa007f35cf84c22e7babc113589dc3a6646031c12b58625d6a113af4afc1236b4424c8fe4a3b6cffa541cbf7465f32f6e482bd4f5699ca8
EBUILD illuminate-support-12.33.0.ebuild 2329 BLAKE2B e78a01f535b68bbe42578de8159a60d498596e0d73a8abea745c1bb8870d794f92a0c478eebe4eab4539d83ed1af218e7ec9310f5905ab7b970fb8b3c92b9aec SHA512 e1c270ef06a7c766c0ffcbd522fda90263e3bf7890ffa0a51bfd1a58ab143a2c50e959ec6c201921a7f5044934f0eb3b3abb8db6aafeae42ba572d869ecb176d
MISC metadata.xml 227 BLAKE2B e3bb3f5e5bddf2e2de7527a1591758b55f4b72490ea27c587cc12e522acd3109803106e31439c60041e082ae7dbd5492901c62c10fa1402cb618f95d5fbff9ef SHA512 b5a4e4ca9223f5fe0da6e873ad03435871976418fa54a19a2b23eca0ecb2543cea0f7c0a54acfca1e30e0a197f9605cc8bc68098b84319ac487ba2ae307d56ba
@@ -0,0 +1,79 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The Illuminate Support package."
HOMEPAGE="https://github.com/illuminate/support"
SRC_URI="https://github.com/illuminate/support/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/support-${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-inflector
dev-php/illuminate-collections
dev-php/illuminate-conditionable
dev-php/illuminate-contracts
dev-php/illuminate-macroable
dev-php/nesbot-carbon
dev-php/symfony-polyfill-php83
dev-php/symfony-polyfill-php85
dev-php/voku-portable-ascii
"
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}/Carbon/Doctrine/autoload.php",
"${VENDOR_DIR}/Doctrine/Inflector/autoload.php",
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
"${VENDOR_DIR}/Illuminate/Contracts/autoload.php",
"${VENDOR_DIR}/Illuminate/Support/autoload.php",
"${VENDOR_DIR}/Carbon/autoload.php",
"${VENDOR_DIR}/Psr/Clock/autoload.php",
"${VENDOR_DIR}/Psr/Container/autoload.php",
"${VENDOR_DIR}/Psr/SimpleCache/autoload.php",
"${VENDOR_DIR}/Symfony/Component/Clock/autoload.php",
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php84/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php85/autoload.php",
"${VENDOR_DIR}/Symfony/Component/Translation/autoload.php",
"${VENDOR_DIR}/Symfony/Contracts/Translation/autoload.php",
"${VENDOR_DIR}/voku/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 Defer Exceptions Facades Testing Traits
}
+7
View File
@@ -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/support</remote-id>
</upstream>
</pkgmetadata>