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 guzzlehttp-psr7-2.8.0.tar.gz 62392 BLAKE2B 52df9359aef7f550c8da97a65369191f295f93a725296706a24a36457be40d7a77362a360ca5de1a051f8df31aa08339d343913f6dd154889d069c92f6c4965c SHA512 83230cec102eedf9f7d7506aa05bf52517a1a40c8d7b8b79c3586d9364c97c7178e6b2e7f64609ad89c75c9a0101b5fa0e4d574665012aa8bc92097e7387da3a
EBUILD guzzlehttp-psr7-2.8.0.ebuild 1185 BLAKE2B 7b4d9722ac7cb243b40f4aa2153329aa533ddbdd943463e772f2512eaa869795b478b75125ac059a4a7fd8e9fd242840f9c0b033738e5ef0f8c7289890eab742 SHA512 cbd9c56177ebec5737496432d4390b00888ed5c2a0859c2b031bfbf5d28ab728fefec34f4a04b19f1aa19cdfea4648d6d83037a01afb8209b13d9bf810091474
MISC metadata.xml 220 BLAKE2B efe12d44f3fe4f29b1a056061385a2e52979a9700fc7894895ad76a0b68d862858a034be691d8a639f02c0cd8072567cdab190e37c02a47ab640d013254eee71 SHA512 b5c19de18c099e536730fd3a5485eba23664c9254fbc3bb59d35c5992ddf5268182beedcdf5e9dfdc09522557eda87fbd7861a9c4677a690b45653e25fb9b1b2
@@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PSR-7 message implementation that also provides common utility methods"
HOMEPAGE="https://github.com/guzzle/psr7"
SRC_URI="https://github.com/guzzle/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-7.4:*
dev-php/fedora-autoloader
dev-php/psr-http-factory
dev-php/psr-http-message
dev-php/ralouphie-getallheaders
"
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",
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
"${VENDOR_DIR}/Ralouphie-getallheaders/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/GuzzleHttp/Psr7"
doins -r *.php LICENSE src src/*
}
+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">guzzle/psr7</remote-id>
</upstream>
</pkgmetadata>