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 symfony-http-foundation-7.3.4.tar.gz 98542 BLAKE2B 30e287e880b8fe25abb03c8dbada3bb072c302a41ce6d0aae2a1f5cf045277f901d6bc869e31d39a266ec267245115d103fdf275f5adc7330b955c59f83828d7 SHA512 e509512134422af3e089c6f3cfde15f1ce47947909fed2e5b7635c94342fc7332c4dbe6f94168767f22a891ad2dd0a456ebb6ea130b07951aedad94bcdf9a13a
EBUILD symfony-http-foundation-7.3.4.ebuild 1323 BLAKE2B f610d3ad7b24957a531ca0c4ab476ae7f467eddc61761386ca840897c0f131250f4ddb4049b9fe1b72fd6c724c5a1bd3e904601f0ccc6a1df8c19c2409c1073b SHA512 37b3dc56ce5a49e3ee7fa6b3bd40942c3050a2a7178eb0d38808446039183bc8bdee646df6c7b65f6eac4ada39271ffb954ac303faad848ec9ef724bced147e2
MISC metadata.xml 232 BLAKE2B 50f928173fb6ca160c75a8855a485c7af65acca4eb054e830bdf93427184d2523fefc3c7a4a084bc58714bfbb12f0ba879b52e6b777467a41260393481483441 SHA512 3bccc0437f0e640a4aa64e8b64a3b96a1d1f2b1e0339b451920fff9e712fd882cf2a4536f73d9058485f3f55f97d928263735aa4e2a019428129c2775af873b3
@@ -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">symfony/http-foundation</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Defines an object-oriented layer for the HTTP specification"
HOMEPAGE="https://github.com/symfony/http-foundation"
SRC_URI="https://github.com/symfony/http-foundation/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/http-foundation-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-8.2:*
dev-php/fedora-autoloader
dev-php/symfony-deprecation-contracts
dev-php/symfony-polyfill-mbstring
dev-php/symfony-polyfill-php83
"
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}/Symfony/Component/DeprecationContracts/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Symfony/Component/HttpFoundation"
doins -r *.php Exception File LICENSE RateLimiter RequestMatcher Session Test
}