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-clock-7.3.0.tar.gz 5733 BLAKE2B 55ac6711520604fa3a8654447b7245cc3560a283ba78ab4233084a86087cc14be44b18eab942fd53e215dfe9d68457c34d0852da3d21f0d8109a7fd6b272dd09 SHA512 30e85dec1fc8a1fd11109e7c3dbdf8778b25c0db6f12b2664e8bc7e8657a14950d9c26922987b451f9facc4ad88497592edbbff695240585e6c64c8c43090c47
EBUILD symfony-clock-7.3.0.ebuild 1160 BLAKE2B fa8e0a683212a8dca9e4dd680f2ed3b9a3c08fe77f483570da22995a641a6b0a40617e2f914ed0c4af387c8ccf0d56b65975e045df670ea38ed2a3c16b55b506 SHA512 192b5ad848687215ca3bfdb3e4c19137ca2cdea9d793be4f7567b37a0af707eb9a9e6eb4729f6c95810a7d6e1d37aea6c2306ec39615f2ace0d16bc0f03844ec
MISC metadata.xml 222 BLAKE2B 9a137af7a546429cfbcd03c51e8401d57b38f4b70ebe852388e2c0280c074bb23963c439bd27822c439844326c7023c6443b2fe634133e3e94b1915cb9683b0a SHA512 3fafd110244df1483c6e5ce69faaeda0f8e77be81c1d616516afb52593451b161cb51f95d3c899fdde0d6a668e96119181a2e62d44e27cb313d6dfecec1bb76f
+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/clock</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="Decouples applications from the system clock"
HOMEPAGE="https://github.com/symfony/clock"
SRC_URI="https://github.com/symfony/clock/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/clock-${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-clock
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}/Psr/Clock/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php83/autoload.php"
]);
EOF
echo "require_once __DIR__ . \"/Resources/now.php\";" >> autoload.php
}
src_install() {
insinto "/usr/share/php/Symfony/Component/Clock"
doins -r *.php LICENSE Resources Test
}