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 react-cache-1.2.0.tar.gz 8259 BLAKE2B e01b28f80b843c52a7115634944bf2ae0ac7effc0b0b7d9de478e15b6b54252bb5bf8053aeaf5e8069c26be67d75fe8814d89aaf4def0d94fec29882d32cd54f SHA512 5ec3591ad9cc9b73cb99746a9397822d8f0b92da73315fcef98871b0a835402d9d03893993f78d8f28f8c8449f4ef34c2be4f2ea60d9568df16107f67b090ada
EBUILD react-cache-1.2.0.ebuild 1000 BLAKE2B 4fdfc1e5c515aaaa44c0e2f4df6144a27986e78c0f983c59d03d16f80176661897c689dac4682043d9ad5f7ef388ba4629ac9dca1183395c6832e196146cea65 SHA512 b7dabacfa71b5d3c0f95bc2a7cf541a5c66f53be0bb032f51a913fd64e7ac9935cf18151824085864d8e89d4b81debe460a22a6f47f5050b54f7eae19febc97c
MISC metadata.xml 223 BLAKE2B 6b83e5c99ea2361b68615448c41a4093176378bc83c271d31d274e352acb96c91de8817677473efd6bcb745d47a10bd539a98fbbd0d352c85a85b37e1d3e9349 SHA512 3d4fd0b9647f54759adc78f644e6bb49a0cd3d0f346f32f354e9a5ed68a30a5220f34f400b77182bd4c8f0a8321351a351a4617be9a51a430119a9f425570f21
+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">reactphp/cache</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="Async, Promise-based cache interface for ReactPHP"
HOMEPAGE="https://github.com/reactphp/cache"
SRC_URI="https://github.com/reactphp/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-5.3:*
dev-php/fedora-autoloader
dev-php/react-promise
"
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}/React/Promise/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/React/Cache"
doins -r *.php LICENSE src src/*
}