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 react-dns-1.13.0.tar.gz 32941 BLAKE2B 4d55f3154cbeae0d9b9d343e5b3d9069c4f74c8b2f7ec188dd28d9a83608a57545594e9ae0ce903f282ac7a260443ea6fb81ce311657ec59418274a232ce8813 SHA512 c4e1d35cbbd65a1226871c0ea4bd49a2b3430cc91a7691819a71cd69f0bc4510fcf85c1bcae502d13416edc8e767a3d388741598e158b90798e24331802117ea
EBUILD react-dns-1.13.0.ebuild 1111 BLAKE2B 7a5479c2926d2b95619be1ae44cf4c40b5ef694740fe878f5c9da2420fb6f9d6291450a49c41e01e971a4a84654bd99582079d12dba6c147bc92f7d94212270d SHA512 2ec1e5fb12f44bb7c1113d7e23c6816d24a0fd829ccfe3563e44e19289f885d7f85b9dd41bbd877acf88434f926dc06fcf8dd5469a9f3a63485c85faaa1ec9c2
MISC metadata.xml 221 BLAKE2B 94009c9b751e5d0c0648f1d0844f884d544e7aa814652d319ccb2d0d7ae72669ac818600ba01478f2aa2e5a11d112e8d22dcc949d5b587575092721554d66098 SHA512 5a8ae75644371f4b4b40ae837cda810a69140b33fdc85b34fd83ccfd82b86d3662d8b8aa5227e5136930a1ffda31190bcce185007b904a3bb846b23429e78748
+7
View File
@@ -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">reactphp/dns</remote-id>
</upstream>
</pkgmetadata>
+53
View File
@@ -0,0 +1,53 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Async DNS resolver for ReactPHP"
HOMEPAGE="https://github.com/reactphp/dns"
SRC_URI="https://github.com/reactphp/dns/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/dns-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="dev-php/theseer-Autoload"
RDEPEND="
>=dev-lang/php-5.3:*
dev-php/fedora-autoloader
dev-php/react-cache
dev-php/react-event-loop
dev-php/react-promise
"
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}/React/Cache/autoload.php",
"${VENDOR_DIR}/React/EventLoop/autoload.php",
"${VENDOR_DIR}/React/Promise/autoload.php"
]);
EOF
}
src_install() {
insinto "/usr/share/php/React/Dns"
doins -r *.php LICENSE src src/*
}