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 xdebug-handler-3.0.5.tar.gz 15390 BLAKE2B 2af7d6d6dac3d6181b6e0f8960065c6fc28735ad7bd81f216325916d1c53057b5c1719691ba9b7988f0ab5623a3cf8c40760ae64ba488ea758f7a9de07fbad04 SHA512 334509606265e0914ee33551e02c264fc98a88469856a129b8885767ecf6334807ba1526c182b9ebe25f20f88870adf9da8a3c4dfff69b36f3aed3babbddb793
EBUILD xdebug-handler-3.0.5.ebuild 1048 BLAKE2B ca8b21c69fd91a7aea22e34fea95cc443b56806edf7a39f45b51f2aee0ab0cb7d7e196380c3eb9c04a8496e90ae8bb4b975723594aea8fc84d668417075ccf0e SHA512 b787b6161a74ecba733d496616316f4fc37ca7939eee8701dfd3b2b8b6915621d40b78e659cf41cfdee9549e770deaceeeba6efd90249682dce519b6f61b2cb8
MISC metadata.xml 232 BLAKE2B 30c32095adddca941529a5473edece32d82f98052b445cededcc3b28fdc6d7b6e59e5340141db2cd932ec38a50ec9553ed65db8d6f0ab893599d6360b6763d36 SHA512 9dbce2f49375e6c29394d934d53b115f035138427aa2b8c41d5fc9cfc880f39608b911695fdf78b289f7f34def35ddca2e19edd773afd8e4562b5f3bf3e0d148
+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">composer/xdebug-handler</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,49 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Restarts a process without Xdebug."
HOMEPAGE="https://github.com/composer/xdebug-handler"
SRC_URI="https://github.com/composer/xdebug-handler/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/xdebug-handler-${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/pcre
dev-php/psr-log
"
src_prepare() {
default
phpab \
--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}/Composer/Pcre/autoload.php",
"${VENDOR_DIR}/Psr/Log/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Composer/XdebugHandler"
doins -r *.php src/*
}