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
@@ -0,0 +1,3 @@
DIST sebastian-recursion-context-7.0.1.tar.gz 4549 BLAKE2B d08eeef93f2f3e50ce8f0544678deb4870736eaffb4b3d223cb906b4d7239d6db6e6d7696be4680f5ee54361feaa38136e6e3ae354949eaa26e6ca1ad65126ab SHA512 c463b99b9c23e8d7d14a06abd512ff9f19aeb20cf368716963578aabc9060051b1c29b3b40b3100605190f57884cf0d8cb4313e9342acfc68f8b9c3073124fb2
EBUILD sebastian-recursion-context-7.0.1.ebuild 1176 BLAKE2B b9ae62a626d80ab23bd7b92231b1085a86f1a927827a39d43b1cd3df0e43bf722989a3ecd28bdf3b29f0818871cdd33086d857792a7d957665f8bb6c162a80fa SHA512 1d93d7c8ebb2d90055e09e4e49364e9bdb8bfafcaeb671be325b0ae70c5ff1cb3403a4dbedf989c593e977f43254c95e890c0f7722a3a1fb1aef8fe73e963996
MISC metadata.xml 626 BLAKE2B 1677ceeebd0967269f5129d2e613b67ca24051db64453131e48045befc7f1b72c2a6d9cc8d55aeb5b413ad72dab350f422b8c7a08eecff9062cf7c5df7e18f60 SHA512 f2aff3eed24efb761e36936ffce0e045d5fec880a2654fbf70d243a899d8911d6e304cdbc2fcb474acc0266c35aa04c451544d199e1ad0d71a28fdf1b8a1d671
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>spiderx@spiderx.dp.ua</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
This package provides a PHP component with the functionality
to recursively process PHP variables.
</longdescription>
<upstream>
<remote-id type="github">sebastianbergmann/recursion-context</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
MY_PN="${PN//sebastian-/}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Recursively process PHP variables"
HOMEPAGE="https://github.com/sebastianbergmann/recursion-context"
SRC_URI="https://github.com/sebastianbergmann/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="test"
PROPERTIES="test_network"
RDEPEND="dev-lang/php:*
dev-php/fedora-autoloader"
BDEPEND="dev-php/theseer-Autoload
test? ( dev-php/composer
dev-php/phpunit )"
DOCS=( {ChangeLog,README}.md )
src_prepare() {
default
phpab -q -o src/autoload.php -t fedora2 src || die "phpab failed"
install -D -m 644 /dev/null \
vendor/autoload.php || die "install failed"
}
src_test() {
composer require -d "${T}" --prefer-source \
--dev "${PN/-/\/}:${PV}" || die "composer failed"
cp -r "${T}"/vendor/"${PN/-/\/}"/{phpunit.xml,tests} "${S}" \
|| die "cp failed"
phpunit --testdox || die "phpunit failed"
}
src_install() {
einstalldocs
insinto /usr/share/php/SebastianBergmann/RecursionContext
doins -r src/.
}