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 sebastian-environment-8.0.3.tar.gz 8103 BLAKE2B 7e2474ababc6a80a32105b1d79956cf9b5c844a64ee04ba451c85a1c4f7b026330bbb1d4d5bb2fb1f94d85fa0a90a386faf42be84d1e093c6a74d9a8b599abca SHA512 ff312d7df1d01c1d1b7f8a901eb887d51dc1a0f6eae1b8af14d1035eb53bcc19ee9422b35cc2291fb331bf1a911867b087e3df34e3cd43ff9253b2c552bc68bc
EBUILD sebastian-environment-8.0.3.ebuild 1310 BLAKE2B a47bbfcfeee23eccc6f6ef83a9df1536f34aac19246032737438a3f92fd488902f14f91498cd915af83648e9f59a621a757765f5bec226cd1989f7571cd065ef SHA512 5fddf1e47184e79d44e5c4a51e4c3c0adb4720091f94f0d03c01a0fb2df7db2a25e86e46eba7bc4d330d71d2c05dbf954ff4e2c0779b6d7c99f9bf74c36559af
MISC metadata.xml 238 BLAKE2B f5b85c437898095ae9610d4aee27479927bd6dd754fdbbaf1ca077fbfa1de5077dd0d4a3228dea9e602f93640b926d880d46c6360947375599d787f0a29df46a SHA512 bab462a84be98b4c7e5af0ed0814da59c75603ad1f05dc3fec09dbbdae21334e195086dffda90778285e457c38b1a75c748c97dff8ee1898343676d10d08f5d4
@@ -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">sebastianbergmann/environment</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,54 @@
# 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="Library for calculating the complexity of PHP code units"
HOMEPAGE="https://github.com/sebastianbergmann/${MY_PN}"
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"
BDEPEND="dev-php/theseer-Autoload
test? ( dev-php/composer
dev-php/phpunit )"
RDEPEND="
dev-lang/php:*
dev-php/fedora-autoloader
"
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/Environment
doins -r src/.
}