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-promise-3.2.0.tar.gz 18048 BLAKE2B 8cf93bb789b54ea71d64936710cebea38d661d2a68d4113a27d19e46891eca47c0af2be78c4a9e4a533b661f9425e0f655be483aeb7082bdac87fcaba7ec5fe4 SHA512 3684cd8648910a94e59f4cda55bab0c6af624a905e42b750ffeb01625d9ab02de1dddd1b196e8e172dc1292ffbf6a934f277291068a5333f11867964484e49b5
EBUILD react-promise-3.2.0.ebuild 844 BLAKE2B c3774c2336bab3a52d7c1febd8cecb1afe875295835a59805c401ff82ca2bfaaccf177b49403fcdd224b57489565ed53dc7e388cc319d081408e5939bc934bd7 SHA512 26f708b08e7f8b7371b265bc8d6cc8d89636351955737c0c0498983973a84a7364635df23da77baf3d3e561845ec25a052c857da831bdccddcf4e7e3fc140ecb
MISC metadata.xml 225 BLAKE2B 547ae180c1df691012dd403dcc17252e0059155984b0c0f81fb25383a08b929896cc5f27e9a1fa2b1e491d277c41ffdb4cd317b3ca0c94c5f1229b4b5a19ea00 SHA512 4e5f8e56509a17bbbc98ff320870d1eb61abb499b7c4244161e9d91945ccb77007ed524f046b2f26483b975eec117a2f85316bd7856f173be26f8af1896e220e
+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/promise</remote-id>
</upstream>
</pkgmetadata>
@@ -0,0 +1,43 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="A lightweight implementation of CommonJS Promises/A for PHP"
HOMEPAGE="https://github.com/reactphp/promise"
SRC_URI="https://github.com/reactphp/promise/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/promise-${PV}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
BDEPEND="
dev-php/theseer-Autoload
!dev-php/reactphp-promise
"
RDEPEND="
>=dev-lang/php-7.1:*
dev-php/fedora-autoloader
!dev-php/reactphp-promise
"
src_prepare() {
default
phpab \
--output autoload.php \
--template fedora2 \
--basedir . \
. \
|| die
echo "require_once __DIR__ . \"/src/functions_include.php\";" >> autoload.php
}
src_install() {
insinto "/usr/share/php/React/Promise"
doins -r *.php src src/*
}