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-cache-7.3.4.tar.gz 89518 BLAKE2B 290997e6774c91368b9ca71d0e4e73514fdedaff41a13a5677e19a570b5c1a8105cfb4fd25fbd2d6d9ebabeac0866d245d9459063527be7174383b00bda64894 SHA512 76e2564e284859170742e653a7d858e2c929d58b25918304236801a3b385592eb531abff9aae7a1d2a576597a33ad1b4bc7e5b04fbda8e115b7efaa660b68ca8
EBUILD symfony-cache-7.3.4.ebuild 1562 BLAKE2B d99dfaaa78b87cdafe4db53f07318f01a393adef5bb06d1786414632d62d1ed8218557a430b410ca6e72a0285742f1c00eedd17fd73437add789efd062508d65 SHA512 61946f815bf0ae24ca7b1c445d3f417b8535f6375fa6f28c6efb668ac0606a702cab7a7c395930ce541081a1e24bf3a7e2448c9b3bedcd5f37988aa1a975959e
MISC metadata.xml 222 BLAKE2B 4b8bcee21fdf2d8dd2d730029b598b4ac93f99b5cd532d44d12cc0f1734cb322a2b1fdae2d0a5969aa8f97b114477a9a3cf97f9b7162fd05c06011af0d1c1fc1 SHA512 5d6c276538fb675927cbce68157ba34aba7666daf5b19f3527451ba348a5b089e103be146b7c2841be9e894fe26442b5d7976f5760d1485a4c7a80d15d0be614
+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">symfony/cache</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,60 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Provides extended PSR-6, PSR-16 (and tags) implementations"
HOMEPAGE="https://github.com/symfony/cache"
SRC_URI="https://github.com/symfony/cache/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/cache-${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-cache
dev-php/psr-log
dev-php/symfony-cache-contracts
dev-php/symfony-deprecation-contracts
dev-php/symfony-service-contracts
dev-php/symfony-var-exporter
"
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/Cache/autoload.php",
"${VENDOR_DIR}/Psr/Container/autoload.php",
"${VENDOR_DIR}/Psr/Log/autoload.php",
"${VENDOR_DIR}/Symfony/Contracts/Cache/autoload.php",
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
"${VENDOR_DIR}/Symfony/Contracts/Service/autoload.php",
"${VENDOR_DIR}/Symfony/Component/VarExporter/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Symfony/Component/Cache"
doins -r *.php Adapter DataCollector DependencyInjection Exception LICENSE Marshaller Messenger Traits
}