Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST react-child-process-0.6.6.tar.gz 15232 BLAKE2B 157dc77782c0884ba5159835bb0de1e9feca32d0c003ddbc6d0607a9aca0526148790cfb13d7ecf0249496bbac2d5d29ec4e5e06efeee3bae53b99242c1fd7ff SHA512 76abefe8d73f15129af7d4e6fe6fcf1bf93ae46939aec16bd61d705a5b068f5422eb75d3dc973e775d5b140cfda827edd9e16f01f9db654830837ccdaf70f00a
|
||||
EBUILD react-child-process-0.6.6.ebuild 1178 BLAKE2B 0bf75202667a6502bd0efb5644b9a535811b1eef0f2f437aea92b5ed4e6a04c4e6e8928932ac9999c321a59aecfbc8369a64f7c01551839d2e10a46d20b5c0e8 SHA512 603fa0e354bef0edb2c9cdb69579825b72c7de96ae17f2756250bf13d82d44690748bfabea167cb11cdadefe91d3a048bb9c33e5d4fe6d8a5ce604382d052fdd
|
||||
MISC metadata.xml 231 BLAKE2B bfb479363099629852be0eb8a2ea0a6cf25c81995eae28e7a064315ec897dc1399a2ce4dd63b342db1dfc4f2e6c9699e31b0fc8e4569cf83d9e1b57993b65e46 SHA512 c3be0010dea1be1605dbd6fa6913f0f471479618935d245ab354cee38120c18b1539c17df230fae83f82bcbfc6486a1e7c3e0cec08de41ea11812d0c91d94229
|
||||
@@ -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/child-process</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Event-driven library for executing child processes with ReactPHP."
|
||||
HOMEPAGE="https://github.com/reactphp/child-process"
|
||||
SRC_URI="https://github.com/reactphp/child-process/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/child-process-${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/evenement
|
||||
dev-php/react-event-loop
|
||||
dev-php/react-stream
|
||||
"
|
||||
|
||||
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}/Evenement/autoload.php",
|
||||
"${VENDOR_DIR}/React/EventLoop/autoload.php",
|
||||
"${VENDOR_DIR}/React/Stream/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/React/ChildProcess"
|
||||
doins -r *.php LICENSE src src/*
|
||||
}
|
||||
Reference in New Issue
Block a user