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
@@ -0,0 +1,3 @@
DIST php-pm-httpkernel-adapter-2.3.1.tar.gz 8597 BLAKE2B bba8d613455b2c7220c2e9f8bfa59af3d3524a936f488dad02cf0c79c3c5b29418a1a25e80751aa4cf0743ade8e73de96fe6d1e1efd10e69ad74035452b8cc87 SHA512 f127abd5243d8637fa6f12abf94b3b239a231da6dc4a4a1531ca4ce0222cf0338705cc6c846e8137c93db5479f5236c4b43eca4b3bb6a9541a7c6eca0eb01c21
EBUILD php-pm-httpkernel-adapter-2.3.1.ebuild 2922 BLAKE2B e566270e217d1ee06882d87aec67e806d13c0544ab62520445c98882d36d2934ebf03902dec7e38b9ead81cd0be64527b5eb553dd2c772415600d9b5e60a418c SHA512 4abbea7b082356b3172d3e637bc233fbd84d3c3b6bfef41defbe758ff231507c558aeb4379ea38d5747f7eb571373761c26e7f8e231ca7e0f181a921d962fb46
MISC metadata.xml 233 BLAKE2B 935394b0ba69a456b4cd3a4d5c80a4c445af58337ec400da91e11fe02a7ea7ff37de2d411121d256fd7760e6b0bf352e3eb27eb8be4741f96919db9eaa2154b3 SHA512 0ecfa59653a801cb727236b0cbeb90b038bccd8e20ddbdcaec270b7b00de05642a8c4b42a4c0f81663289dd357f1d255107e3a476ae96a0f5c6e16f8c59d17df
@@ -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">php-pm/php-pm-httpkernel</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,87 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PHP-PM adapter for Symfony HTTPKernel."
HOMEPAGE="https://github.com/php-pm/php-pm-httpkernel"
SRC_URI="https://github.com/php-pm/php-pm-httpkernel/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/php-pm-httpkernel-${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/guzzlehttp-psr7
dev-php/php-pm
dev-php/symfony-http-foundation
dev-php/symfony-http-kernel
"
src_prepare() {
default
phpab \
--quiet \
--output autoload.php \
--template fedora2 \
--basedir src \
src \
|| 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}/Evenement/autoload.php",
"${VENDOR_DIR}/Fig/Http/Message/autoload.php",
"${VENDOR_DIR}/GuzzleHttp/Psr7/autoload.php",
"${VENDOR_DIR}/PHPPM/autoload.php",
"${VENDOR_DIR}/Psr/Container/autoload.php",
"${VENDOR_DIR}/Psr/EventDispatcher/autoload.php",
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
"${VENDOR_DIR}/Psr/Http/Server/autoload.php",
"${VENDOR_DIR}/Psr/Log/autoload.php",
"${VENDOR_DIR}/Ralouphie-getallheaders/autoload.php",
"${VENDOR_DIR}/React/Cache/autoload.php",
"${VENDOR_DIR}/React/ChildProcess/autoload.php",
"${VENDOR_DIR}/React/Dns/autoload.php",
"${VENDOR_DIR}/React/EventLoop/autoload.php",
"${VENDOR_DIR}/React/Http/autoload.php",
"${VENDOR_DIR}/React/Promise/autoload.php",
"${VENDOR_DIR}/React/Socket/autoload.php",
"${VENDOR_DIR}/React/Stream/autoload.php",
"${VENDOR_DIR}/RingCentral/Psr7/autoload.php",
"${VENDOR_DIR}/Symfony/Component/Console/autoload.php",
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
"${VENDOR_DIR}/Symfony/Component/ErrorHandler/autoload.php",
"${VENDOR_DIR}/Symfony/Component/EventDispatcher/autoload.php",
"${VENDOR_DIR}/Symfony/Contracts/EventDispatcher/autoload.php",
"${VENDOR_DIR}/Symfony/Component/HttpFoundation/autoload.php",
"${VENDOR_DIR}/Symfony/Component/HttpKernel/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Ctype/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Grapheme/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Normalizer/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php",
"${VENDOR_DIR}/Symfony/Component/Process/autoload.php",
"${VENDOR_DIR}/Symfony/Contracts/Service/autoload.php",
"${VENDOR_DIR}/Symfony/Component/String/autoload.php",
"${VENDOR_DIR}/Symfony/Component/VarDumper/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/PHPPM"
doins -r *.php LICENSE src/*
}