Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-routing-7.3.4.tar.gz 58008 BLAKE2B 8d6bad4b52b73f0bb2692ba2480c9d608944a38b3569810d6fe0f7fbf619d8fe174982209ffd046636b33a0b5efad5a871ba49d6f97e99e1a378c03574f87765 SHA512 2906f70ada9ed6c6b10550d120846b673503f6c52e98d11168feec9af9df00a237aa220c7a0ac6e5ce3f2be04dde7a757a7ff276f0aa7eb963b1a2290524f7c3
|
||||
EBUILD symfony-routing-7.3.4.ebuild 1144 BLAKE2B b719c26db837e641d53023fce3c82c4d4ae0906da4e52d16834c6fe3f6f19bc8915ab50e6739f943292907e80dc46e60e4509b0c257e042a0ad14f9a40a5fbd7 SHA512 05b5d2531fdda9e447181e06a04233c385b00bebbb2ecf5f65bd2e2b32d4b8d5545ef32be0b8a65b6845a26840ae8d981cbfe03deca3388634d7a286282a3283
|
||||
MISC metadata.xml 224 BLAKE2B e22ea7d548e72d9297b7ed325533c20225fe346cdf34fc775d2145936b41f0fb90638ad13af9fb70f04a5e75e5d199888d5186e88448c2ebfb6016e470db5b67 SHA512 e76ec2e128bb9a85b1522d38fdf4588098e366d2923ce7fa3742b195260434a7f6ac56d5956825ae5a73e7ea685cabff353fac54175fb38ebcf8d4ab24a214b8
|
||||
@@ -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/routing</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Maps an HTTP request to a set of configuration variables"
|
||||
HOMEPAGE="https://github.com/symfony/routing"
|
||||
SRC_URI="https://github.com/symfony/routing/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/routing-${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
|
||||
"
|
||||
|
||||
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"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Component/Routing"
|
||||
doins -r *.php Annotation Attribute DependencyInjection Exception Generator LICENSE Loader Matcher Requirement
|
||||
}
|
||||
Reference in New Issue
Block a user