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 ringcentral-psr7-1.3.0.tar.gz 43705 BLAKE2B fb1283ea06979399accd893d074accb12ba518bde380243efa8b7ad6af78cd46a542a5a9922ba7bd6ab0e389cd7d5c7aa6ac4e9572c969f6b42bd5db4efeee50 SHA512 b6b0e522e9e9b3f141b3caa2066cf2cc4f8d7378976ab92f8f6dedf7fcffae9dd162dfda3338f6482bf58892c3bebc4f953ea0ac0978ff555a65a409871b3cdd
EBUILD ringcentral-psr7-1.3.0.ebuild 1078 BLAKE2B e37d519cd3aef6de7478c6f43a0a05fe47d605d70d3f604f240b168d38d16422092254e511ec9a3a053bfee1ff7f8d0eccdd991d4b8679a39cd556d2995ea58b SHA512 87ed9843960c2f726c1cc1866dfed2edc2e14ef4c7f55100257d956fad6fa93872f332bdad530394232c2f2df5df9f379a587d73a69f5c3455bfd43211a71504
MISC metadata.xml 225 BLAKE2B c24f91a1090689d27565d383d0296af2ea9b6545a8cb04dbba8330ba148e7d1bdbbe7e8f9327d74eb486f2c4d1a2ea664a3eda2461d97f8a46f5ca4e051752c2 SHA512 b5bfe453be8db3d39b538d50a5cf17e7287fb8d86dd91be7c8577f915245458ee24b35215f08ffcbc1c92d8bd4e8ae8e7628fc44ea50001bfe74adfc9a35e938
+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">ringcentral/psr7</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PSR-7 message implementation"
HOMEPAGE="https://github.com/ringcentral/psr7"
SRC_URI="https://github.com/ringcentral/psr7/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/psr7-${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/psr-http-message
"
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/Http/Message/autoload.php"
]);
EOF
echo "require_once __DIR__ . \"/src/functions_include.php\";" >> autoload.php
}
src_install() {
insinto "/usr/share/php/RingCentral/Psr7"
doins -r *.php LICENSE src src/* tests
}