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-contracts-3.6.0.tar.gz 4376 BLAKE2B 7e33ce004719a9cdef718939a2e1c3fc82a9e2be51ad7f8c5097c5e29172c8ee5e373fc9307bf65b5f83b76a68ed97e10b758d48c5971082bdd6fa03a2600aeb SHA512 51b4c574a2657144761f158fe008c27737a19857b199e7923f3bef657e4710363b047173e2e5360fb54d0b87790b18b273a44a0bf05b3a7658917f3f2f40bdca
EBUILD symfony-cache-contracts-3.6.0.ebuild 1012 BLAKE2B 8edf5d48bdbe443d6f3c475bcff8644c8a3cb3c38080bc1e0ea8351189122df7d4a1e1e13aaf6cf112da8e3754ef5b4af1b2114eead03fbf76aa94d844db3335 SHA512 92363f0b0e83da52deb67e02c9ad72d6edca4960a5d6bda5656adabefc424201ec8760a451f6b8e73c13c1568328d629c58cd2e7b916071d0bbe4c1ce593e9ae
MISC metadata.xml 232 BLAKE2B df81223a82f600cf969644248e662ed6c3e919bc2ad591fc5f0d864a5ccd04b7006b109119937c5ef7d7f55f2c98822c4d69a1b91a747ad2bcffe5c0188f044e SHA512 9786af774ff8ec956f06db2d667d5baa176d8fcf3b9c64e54ffc5bd9d5dc4550242ee7e366980583c3d63dab1318f114cbe70b2a07c3b407aa4cc9fe8205fb47
@@ -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-contracts</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="Generic abstractions related to caching"
HOMEPAGE="https://github.com/symfony/cache-contracts"
SRC_URI="https://github.com/symfony/cache-contracts/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/cache-contracts-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-8.1:*
dev-php/fedora-autoloader
dev-php/psr-cache
"
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"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Symfony/Contracts/Cache"
doins -r *.php LICENSE
}