Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-console-7.3.4.tar.gz 117253 BLAKE2B f1dcdf823b71834883c82dbade8c28285bdd6520b93a70ef62604bceeb4ca7389b550beff5cc2be8ed8c501c242e98c624a11249b6faf6d17defd8d4f50eb41b SHA512 83fe38483ccf29e4552815b03cab14cb58c9e8bab8876398fdea69dd882d2847c36c4c5ea4a853097bb23838f130070351caec3b388f62053c9d892002ebb33d
|
||||
EBUILD symfony-console-7.3.4.ebuild 1778 BLAKE2B 52cb7128f6b869228c129111fe63ded5c5bcc8c7be2a201e6603dc7cdf5c94a02dda832f22c571fb92dcb3264ba93c81c878b92018b42b0a9fdbb080a402f0d9 SHA512 5f72564b2db0313da850b34d7724d21bb3389febfd7fc8152e7b8166e1250b14d4f6a31636edfdaeca343839d67ca021444a3bd15f7b325d84991b52c6595e5e
|
||||
MISC metadata.xml 224 BLAKE2B 92eb21999cbcf3d2db9a58c9bdf9d084fb042e2b3b04dfb63fa81026e275d445af99e65e71009504e3c408faf84c5b955085903a7bf8a8ab1cab5032d25a73aa SHA512 e6a8d47756768bb0f28d15309d43af473e00f8d43c6eed24b9d4a44e4f403448a360baaa86d1ab4686f270660f7b3042badb45d517383ab91679ce2577dff6ab
|
||||
@@ -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/console</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Eases the creation of beautiful and testable command line interfaces"
|
||||
HOMEPAGE="https://github.com/symfony/console"
|
||||
SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/console-${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
|
||||
dev-php/symfony-service-contracts
|
||||
dev-php/symfony-string
|
||||
"
|
||||
|
||||
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/Container/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Ctype/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Grapheme/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Intl/Normalizer/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Polyfill/Mbstring/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Contracts/Service/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/String/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Console"
|
||||
doins -r *.php Attribute CI Command CommandLoader Completion DataCollector Debug DependencyInjection Descriptor Event EventListener Exception Formatter Helper Input LICENSE Logger Messenger Output Question Resources SignalRegistry Style Tester
|
||||
}
|
||||
Reference in New Issue
Block a user