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-socket-1.16.0.tar.gz 44817 BLAKE2B 6e57d29f9468701dfbf507d7fc812032453cd0ceb07450090fee4b490d9f03054213677e525af8da3adfb193a614cfd8b82163a29bad2357be2e12d0240f609c SHA512 9fcb492e5ffd776c05c00c5405506dc837e4fa5e6d765f45bee852104e637fae57c266d88fc50cfeefe01360b88eabde852e7b1b5a03d8020398868cc8346e42
EBUILD react-socket-1.16.0.ebuild 1355 BLAKE2B 851d6fe65aaa9ba1692d8b125580a0b42aa53c017a2ca7d18bb8da01046cb55804c9bb5767a9969d707bec583deeab0810c884deaf36b5f2bae6f142a533b3a9 SHA512 8828762304f8f676d42aa4937f1619b99c110735f89e11a2f9ca8afe57aa14a6f81f50a969c122a9ec4cf69a70b9839fa6103d05e4ba8e41bfbc86a17cf81e18
MISC metadata.xml 224 BLAKE2B 62e553680c7f0e937b0712a83b432b26f4add56b160c13debd36451de2197feab98c12db41b8b2bedb3470f3777aaadba2f2c1911a8629df55a61c20e432e5ba SHA512 0bdb60803b2e90de605856a350b22155764c84f88b6149af660419d25681da14df6cb672947f8fb3870328a2040c1c7cc3fe4c961904d686f86e439ec4292055
+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/socket</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,58 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Async, streaming plaintext TCP/IP and secure TLS socket server and client connections for ReactPHP"
HOMEPAGE="https://github.com/reactphp/socket"
SRC_URI="https://github.com/reactphp/socket/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/socket-${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/evenement
dev-php/react-dns
dev-php/react-event-loop
dev-php/react-promise
dev-php/react-stream
"
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}/Evenement/autoload.php",
"${VENDOR_DIR}/React/Cache/autoload.php",
"${VENDOR_DIR}/React/Dns/autoload.php",
"${VENDOR_DIR}/React/EventLoop/autoload.php",
"${VENDOR_DIR}/React/Promise/autoload.php",
"${VENDOR_DIR}/React/Stream/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/React/Socket"
doins -r *.php LICENSE src src/*
}