Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-http-kernel-7.3.4.tar.gz 115723 BLAKE2B 9fa8a3964913d0485e318530e05445bd506cf3875b8d19b557d3384b7e2d0305712d2db15f9f2f756b87a5d8b75ba137d2ba7af2993dd2821d30e4bb8b85bb05 SHA512 3c757d190b9e436f525cb62b936a77cc9823878ca58e22b25039af8aa06427c0f2d146511e131000daef29bd3328a57a2b522f97775b67ce5d9f958798844c27
|
||||
EBUILD symfony-http-kernel-7.3.4.ebuild 1993 BLAKE2B 4bc8c44ca1310de012c9c40fd75db76de17bd0987a635e96c8494c7d6904086d1084881fd904acb85fc65e28c5e1b79e5c8477fc2d0ca5d0effacdc5db8b94f2 SHA512 d50d5f6d1ac14955c8cbb732bdea34607bda345a43fc234d13e4214833c863f434b94cba410147fe0be538c7ea26ceb25b044f3501a09458c75bf6ec91d935a4
|
||||
MISC metadata.xml 228 BLAKE2B 55f303a026e372514601cf2d8a4f24beb2863900a77fb34119894e4b3d9b9d1057448b89ac0e898beb618440a6475cd824d867704ff1805f5fed2e75e451f6a0 SHA512 55dfa0d36890274d198033e62089c56b283b02b16cc9a2cfdde3321651f2879f4a4a66d73aeeb2c0838b716a773f3b9921889f2e187ac30663695ac27fcc6d50
|
||||
@@ -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-kernel</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,64 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Provides a structured process for converting a Request into a Response"
|
||||
HOMEPAGE="https://github.com/symfony/http-kernel"
|
||||
SRC_URI="https://github.com/symfony/http-kernel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/http-kernel-${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/psr-log
|
||||
dev-php/symfony-deprecation-contracts
|
||||
dev-php/symfony-error-handler
|
||||
dev-php/symfony-event-dispatcher
|
||||
dev-php/symfony-http-foundation
|
||||
dev-php/symfony-polyfill-ctype
|
||||
"
|
||||
|
||||
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}/Psr/EventDispatcher/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Log/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/Polyfill/Ctype/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/VarDumper/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/HttpKernel"
|
||||
doins -r *.php Attribute Bundle CacheClearer CacheWarmer Config Controller ControllerMetadata DataCollector Debug DependencyInjection Event EventListener Exception Fragment HttpCache LICENSE Log Profiler Resources
|
||||
}
|
||||
Reference in New Issue
Block a user