Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-event-dispatcher-7.3.3.tar.gz 10846 BLAKE2B 72e84191e9a9056625990a520e7015351125db94a87f1d442a6588ec563b11f5f8b8338d77efaf78cca0ef14874bf95d47729579367ee94513cd12817de3066a SHA512 22979285a5c532915e052a96f70eca1c4c9dd9ffda13c2a2fef95d08264b84923f3b75a1fa2b8c7d5e42c429b3eadf277dc9ec4cdfa69373abbc1b6356f61767
|
||||
EBUILD symfony-event-dispatcher-7.3.3.ebuild 1250 BLAKE2B 8232b10c883d3b0b6dec390e35f12e75e7353956b1de1dc117c68e7f076d9f1001f436f831b7ef34048bd6944df236dbf2588b1d0ce84e069be8edc345d0d00c SHA512 d606c52c31572f591c6d9d555019ed48ec1929be633517483359ffa77932e4308e3a680ddce5c559b279526a7e9804dbff528b70b9f57f1b1964cfd2178b0525
|
||||
MISC metadata.xml 233 BLAKE2B cc7eb862d43e57641ded8bc9987ed8579edffe02a719b1727a37cec38bebf0577904b6d11ea6e1d2f90ca4d12dcb30975d00e9606b373d2b33e78f17bcc8b8ce SHA512 731d1503b46655544f57d3908d9dc5cfee42b98174204272fd6c2457e6b460a8f59577104dbc36409dabb0ba67fc1d3826086bdc75f0568ef4da1cff11409fda
|
||||
@@ -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/event-dispatcher</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Provides tools that allow your application components to communicate with each other by dispatching events and listening to them"
|
||||
HOMEPAGE="https://github.com/symfony/event-dispatcher"
|
||||
SRC_URI="https://github.com/symfony/event-dispatcher/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/event-dispatcher-${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-event-dispatcher-contracts
|
||||
"
|
||||
|
||||
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/EventDispatcher/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Contracts/EventDispatcher/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/EventDispatcher"
|
||||
doins -r *.php Attribute Debug DependencyInjection LICENSE
|
||||
}
|
||||
Reference in New Issue
Block a user