Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST symfony-service-contracts-3.6.0.tar.gz 6280 BLAKE2B d1733304f691e2a11a92cd39d6f8c9fafee94724422a8dc9144d4bf0a2dad4109df80d801a6ae4447d666815d14742d613e59c3618f7a541a94f5b8144874c77 SHA512 7ce522cdd0e93741025644b039cb4ef65ed7691d95460f78b77f90e2e45e055dba859de3efc62949fead9f34ac87645a4301c500d40861f56f97884a04ec984c
|
||||
EBUILD symfony-service-contracts-3.6.0.ebuild 1161 BLAKE2B 32c9296b34b90b6db879cfc10b4d0d3cf46f157282a411742faeff0399b379c0b0e567981293ba1729a9f5176aeeb052dfeb2b91f169c2673b51842520862824 SHA512 ed28e193c738bbe6efd687e10cf75bca631601084c77ff473657a51898b0815f120a4d882ce07f6bcbede9ecf4cbf7fde502310063ed0588a7cd42a331b70d62
|
||||
MISC metadata.xml 234 BLAKE2B 41160ed2812c18b6752590b6806b857538fdceb762b2d0fc950bc3a65faf2e8c959c04dc16968666947e8f317003dcad457f0140dfe4a3566eaceaac8f216d93 SHA512 ba7131b4c75d95b2f503d60c12f96b994f78b33cd5cb1f5e3b51ae28483e1e9f65c57e31e3255d57460efb0bbc2f8de47faa34dc157c8a5adfe612a64b782871
|
||||
@@ -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/service-contracts</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,51 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Generic abstractions related to writing services"
|
||||
HOMEPAGE="https://github.com/symfony/service-contracts"
|
||||
SRC_URI="https://github.com/symfony/service-contracts/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/service-contracts-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-lang/php-8.1:*
|
||||
dev-php/fedora-autoloader
|
||||
dev-php/psr-container
|
||||
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}/Psr/Container/autoload.php",
|
||||
"${VENDOR_DIR}/Symfony/Component/DeprecationContracts/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Symfony/Contracts/Service"
|
||||
doins -r *.php Attribute LICENSE Test
|
||||
}
|
||||
Reference in New Issue
Block a user