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 psr-http-factory-1.1.0.tar.gz 2972 BLAKE2B 590ed6581e15cd12fc0a883e3c25c0932c8850f20c8012e65d74bc148216e63648ed71fd35f15cb26ff19f179d655fad244cb03699fcaeb265645ac41396dd18 SHA512 97379e78d080ad15a4700bbacc824f4bdfdcc9c950e58e97bee946f5e48e7671f5359087bc2c6beaa6563f8d079e873a730b9822487a4704e05f58ea2d20d60d
EBUILD psr-http-factory-1.1.0.ebuild 1038 BLAKE2B 41fbcf3df62e48fbf928872d8c4d19b6306d46208ccffb7493e6278c5d820e5c80b623ce746a3b59f01be0d364091d2c1db81d2e2e5899da0bff8ec278741236 SHA512 229730b15e23913f6687a7a5ad206feb988ad468e058ef0cc0ac51043639e661e9c09fef045ca04413d26790591cea13b79bd69cae2d44ec49516135c4b29477
MISC metadata.xml 229 BLAKE2B 7a6e742e6771356cd0caee7cf55736c4207870622dbd6e3b930a904f5a64e341d7c919c1327e60bb16e9351f95a8980f18f5adc705d2697ed75331fab5b1331e SHA512 34cc2f92a2ad73110b7b11bd86f60a0dc90c913dc2a64d0ae840a1f3d09c44d48ba6d51bb451ae9a57822acb0436e3ff2e2ea3281dc4a86c70b3894c845138af
+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">php-fig/http-factory</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="PSR-17: Common interfaces for PSR-7 HTTP message factories"
HOMEPAGE="https://github.com/php-fig/http-factory"
SRC_URI="https://github.com/php-fig/http-factory/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/http-factory-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-7.1:*
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
}
src_install() {
insinto "/usr/share/php/Psr/Http/Factory"
doins -r *.php LICENSE src src/*
}