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 ratchet-rfc6455-0.3.1.tar.gz 28050 BLAKE2B 08a2f595c6a4892c9c2f972f47990a3d0a2f6dc936a6af6b9bdb5efbc4ff6e5a4fd7d9c3ea7d0dd9c2f085ba1c4824d3e42a8a8ffaac2fb0e9736a792c423867 SHA512 f7ac54c5b49e2eb5aad8c62dd113439d268a5a85578be0dc9136ce96037b9861c0d2d13a05bc61e9be33e6ec69728f5b8a91a7dbba0bd5fcdc167b753a8e684f
EBUILD ratchet-rfc6455-0.3.1.ebuild 1160 BLAKE2B 5c2c131b27dc86a2e6b9dcc722d88a0ccf9546e32836518f01f1fef4354b2b0ec3405e8d315d230653d217eb01b2d6730e1b6b1517e05059c5462d06756cd3ed SHA512 f2486425491c1890e20d6d6aee897a68ea490cb2e082c50bad6f0f4e80e23a4acfd1a3a15c10271d88a3c2cbff2d67ca172918e87461abb7a33bc753a522a67a
MISC metadata.xml 227 BLAKE2B dda689c04ad452c1c183ac41d32dfcedf1d8e0d1dd23243b86c96b311008b25580fb77c8e8482a4a8b7b30d10f12f8c0b6628e47b2ce011c1175107debd9f84b SHA512 4fa0e6aec0ae6cb1b79bca38b39455c1cbadd70428867e627a18a8745814b63be717a30263f59d523d11d20e1f563e3e4bb3c3bf15811d2fe46fe97cfef43d79
+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">ratchetphp/RFC6455</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,52 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="RFC6455 WebSocket protocol handler"
HOMEPAGE="https://github.com/ratchetphp/RFC6455"
SRC_URI="https://github.com/ratchetphp/RFC6455/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/RFC6455-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-5.4:*
dev-php/fedora-autoloader
dev-php/guzzlehttp-psr7
"
src_prepare() {
default
phpab \
--quiet \
--output autoload.php \
--template fedora2 \
--basedir src \
src \
|| 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}/GuzzleHttp/Psr7/autoload.php",
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
"${VENDOR_DIR}/Ralouphie-getallheaders/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Ratchet/RFC6455"
doins -r *.php LICENSE src/* tests
}