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
+5
View File
@@ -0,0 +1,5 @@
AUX autoload-test.php 297 BLAKE2B 90e8e6a48d4d134c94fd3b2321d87267c70388d61b1766f1531e534731e876794439f2b6991823634974c249b8e673bd9062f59cbe3ae8c88b87c5a0e1af62b7 SHA512 61b8b5d3a8555ac71b4550f915d231b08be3d3fe8cd6a1f4eb0974076bc05ec735cd6b2fff2f1140b6be821cdf972ad1434583d0f21b26bdf15a8d13cca762d1
AUX autoload.php.tpl 256 BLAKE2B fb902b0c24aed6636eebe0705b88c4a74c97f7c9edd5b0380e3ca8191b249d9ca98cdc928e3f6aa1c976f3ba831ee2750c24a50f457a0465f684575c03264872 SHA512 a5466df70dbd484779a0ab509e2b49233644687b2d49fa4aeba9e4ccad01c5721558718ce337752f882b8d042f0c6558efa89efdf9f200440a258196d93e9dab
DIST sebastian-exporter-7.0.2.tar.gz 6982 BLAKE2B ba3ad5cb3a5f9b31aee8373fb7a53c852155fade2421866c656a24ae150a50bbcc9eaf6d3724d9396ebf0d505b089d985eebe31842ba72642fcf886fa2ae11b3 SHA512 2b7d680f5d11d95d2218ed8cca35db4276feb03a137966b15cb4a756d17e8584c81d4fd7bb879f919dfb4c2421eb9a60d580c6d00412324cc5a26ebdf5abb9ce
EBUILD sebastian-exporter-7.0.2.ebuild 1397 BLAKE2B 5c84b11cabb2a36bbbb6c11ac07c55f91eefedceac44966af92f0dc1edace580382bac109f40033d41916591bc3719aabf8189c9b1129312c37f73927e2c9ed2 SHA512 ce94955e6c34bb481f447928068bca11ea771b4a59e3ad84813afbc80d18f1f391e6ba53a619de0cccb67d525308848031a0bc51ea5e4ab8466392fef2ec8299
MISC metadata.xml 622 BLAKE2B c31b7856d17a8aa5deeaa65d1471c60ed949523f1d5de5ff832c167c7ebe4fce6a0521b1ff386459861180884d78c53002fb617a474f2947384de336ffa3cd97 SHA512 23255ee1ea1447465c9d4daeae68e5c77a130dbadd3d7a3982590448d04519df597fe487a3af692b10851870d1eff9534c72bf69b287f28ec23f26b3ba3a0125
@@ -0,0 +1,10 @@
<?php
require_once 'Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Dependencies::required([
__DIR__ . '/../tests/_fixture/ExampleEnum.php',
__DIR__ . '/../tests/_fixture/ExampleIntegerBackedEnum.php',
__DIR__ . '/../tests/_fixture/ExampleStringBackedEnum.php',
'tests/autoload.php'
]);
@@ -0,0 +1,14 @@
<?php
require_once 'Fedora/Autoloader/autoload.php';
\Fedora\Autoloader\Autoload::addClassMap(
array(
___CLASSLIST___,
),
__DIR__
);
\Fedora\Autoloader\Dependencies::required([
'/usr/share/php/SebastianBergmann/RecursionContext/autoload.php',
]);
+19
View File
@@ -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
export PHP variables for visualization.
</longdescription>
<upstream>
<remote-id type="github">sebastianbergmann/exporter</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,53 @@
# 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="Export PHP variables for visualization"
HOMEPAGE="https://github.com/sebastianbergmann/exporter"
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:*[unicode]
dev-php/fedora-autoloader
dev-php/sebastian-recursion-context"
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 "${FILESDIR}"/autoload.php.tpl \
src || die "phpab failed"
install -D -m 644 "${FILESDIR}"/autoload-test.php \
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"
phpab -q -o tests/autoload.php -t fedora2 tests || die "phpab test failed"
# skipped — testShortenedExportDoesNotInitializeLazyObject
phpunit --testdox || die "phpunit failed"
}
src_install() {
einstalldocs
insinto /usr/share/php/SebastianBergmann/Exporter
doins -r src/.
}