Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-var-dumper-7.3.4.tar.gz 67282 BLAKE2B 1a737f34428769c1210586a24fa29ffb3724e3bfdd3b7b5f27ba2e0f8df5aa691b07db237bd18005c0d9543d5923e16f10ea425c15b4aefc4b985db01f6ab02b SHA512 c856252a44734ddadbcc3b132cb84aac249dc78793f6fce6a7035bb51f63994b9bbb493552dff03e7d6ea87eadaef1e911ebf871d26adaf0210452efe82f686d
|
||||
EBUILD symfony-var-dumper-7.3.4.ebuild 1510 BLAKE2B cb1ea517ad19fc92e8545257076734565271da1597efb9e88df651c13ed7d62c514cf4be6b2b3fcc645f34fed56567c02429f82db76a5e3290c65b980b6c8b94 SHA512 9f680557b5fc4b48b11747f5386f6ac868bc541d49d3ef3f33f39245a70ba60b0d97762d95ce00c1802f6746431a93d98389f5fd7c8006e61e9429cb21f457fa
|
||||
MISC metadata.xml 227 BLAKE2B 54abe4a61ac2ff9e0e80295f3f96caf6e23958d4d41ee659793e0ec9bc79bd8822b73096b86db6953f1632fedbee3695a808a4c1913ae79032444e9c72982e48 SHA512 55c288b2bc2e2ba6ed2e5af30ab786665af503f944fd3161bf35bf29a610da47763f1acd023d011cd7fb9c62fbdd2f46c0b5dd63b2a3de453b89b4bcdbff800c
|
||||
@@ -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">symfony/var-dumper</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Provides mechanisms for walking through any arbitrary PHP variable"
|
||||
HOMEPAGE="https://github.com/symfony/var-dumper"
|
||||
SRC_URI="https://github.com/symfony/var-dumper/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/var-dumper-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-8.2:*
|
||||
dev-php/fedora-autoloader
|
||||
dev-php/symfony-deprecation-contracts
|
||||
dev-php/symfony-polyfill-mbstring
|
||||
"
|
||||
|
||||
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}/Symfony/Component/DeprecationContracts/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
echo "require_once __DIR__ . \"/Resources/functions/dump.php\";" >> autoload.php
|
||||
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/VarDumper"
|
||||
doins -r *.php Caster Cloner Command Dumper Exception LICENSE Resources Server Test
|
||||
|
||||
exeinto "/usr/share/php/Symfony/Component/VarDumper/bin"
|
||||
doexe "Resources/bin/var-dump-server"
|
||||
dosym "/usr/share/php/Symfony/Component/VarDumper/bin/var-dump-server" "/usr/bin/var-dump-server"
|
||||
}
|
||||
Reference in New Issue
Block a user