Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST react-stream-1.4.0.tar.gz 27114 BLAKE2B 01ad6ea6212a92e00623474d65886e596bb41ee0e96b6e6716bc3bb57f88c99f262c2cf92c9dfaf0fda35839895eb52edbbcf0bda1981cb3f42694a4aff48702 SHA512 af1c358acb3a8adf52e1cac3db9875f9651efbee9d89152403a6a24f57468df784aa721fe41d38279250480637eb9c787d9f9aaac0e7c3778fed0c8b066e6d24
|
||||
EBUILD react-stream-1.4.0.ebuild 1095 BLAKE2B d5f9d975c3ac8677ed5c2673a152a12d5f770d5b60ef3c4a6e6827727a6e342684820598b49ef9d4553e7eab095c27751574107f9bd50cae97735f54cf6677a8 SHA512 62c9042ff8d89b37b925882eb396c7d91609ecad000debec82217a448f7428ff2523c7a0c880b242828173e7950465d6f3fee5d3fdf474eafcdf1ab8b99b2667
|
||||
MISC metadata.xml 224 BLAKE2B 1c3de02ed02197dbbabdb8cd886a467d9356f393796ee893e2b74114671fc909f3e4f375e19bbc9c7eac66ab4d06c57c451c8785f4c1f8c4a7b1ee3bd8b7ffae SHA512 91f3b9496f1a7c4a7d9e97d4dc67b70e95925db6ebc65e76c50176676c6c50986efad061798411b70727896080b2624e77c4dac776021bdfa0135691ff039eb5
|
||||
@@ -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/stream</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="Event-driven readable and writable streams for non-blocking I/O in ReactPHP"
|
||||
HOMEPAGE="https://github.com/reactphp/stream"
|
||||
SRC_URI="https://github.com/reactphp/stream/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/stream-${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
|
||||
"
|
||||
|
||||
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"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/React/Stream"
|
||||
doins -r *.php LICENSE src src/*
|
||||
}
|
||||
Reference in New Issue
Block a user