Added a lot of PHP packages for the defunct volkszaehler ebuild

This commit is contained in:
Torsten Kurbad
2025-10-09 12:09:31 +02:00
parent cba6641bde
commit 69cb537d3d
417 changed files with 8637 additions and 53 deletions
+3
View File
@@ -0,0 +1,3 @@
DIST doctrine-collections-2.3.0.tar.gz 17804 BLAKE2B 6a086145901f2dcca91bc06d007998980692f11ea5d0526503c6a45355849488320d43d13b0cf9fa7bf0fa8774879b556773791238646bd1615ca73330878d00 SHA512 6e5a3578a7736976bed09762e62ac1323179879f99839a50f3348bb3a905c4330abb2c3d88edd4934863eb910a4d1e3494663be6e0c01cebee7247cb37b0fe05
EBUILD doctrine-collections-2.3.0.ebuild 1180 BLAKE2B 4d7ffc1fd0a8bd5e4050181169b622e009032ab5819e71de0611ce10d26a081b55446d3e78dbb8f66642ec7a21ce116ef4d1ae7474a689fcaf863d3f7af9c4d5 SHA512 b56fb5fd1b0afd928e79281f346d65a93b4b635534f73f48801053c2bdb2f6634dbff94ef0bb650055e2bf71a5dba9e59f135037447288ffa20f02a7a97c4187
MISC metadata.xml 229 BLAKE2B 4fab55acbddaf63f9f6e18126230bd13a586b6648d8c12b861d01a670010cc41a86489b492d203ed1ba1c6deb256647aba9f4e62d8a77b229c3bd2ed7e8c1a59 SHA512 c4c193fddc1c3d6450e30fdf3cf4616b2d16f7a943c7723daef4031fab04c4506b6ae268291d9b806bb53f5152b4ab774ad97ad7715e2fa9b5bbc5148e97e636
@@ -0,0 +1,51 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="PHP Doctrine Collections library that adds additional functionality on top of PHP arrays."
HOMEPAGE="https://github.com/doctrine/collections"
SRC_URI="https://github.com/doctrine/collections/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/collections-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-7.4:*
dev-php/fedora-autoloader
dev-php/doctrine-deprecations
dev-php/symfony-polyfill-php84
"
src_prepare() {
default
phpab \
--quiet \
--output autoload.php \
--template fedora2 \
--basedir src \
src \
|| 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}/Doctrine/Deprecations/autoload.php",
"${VENDOR_DIR}/Symfony/Polyfill/Php84/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/Doctrine/Common/Collections"
doins -r *.php LICENSE docs src/*
}
@@ -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">doctrine/collections</remote-id>
</upstream>
</pkgmetadata>