Added a lot of PHP packages for the defunct volkszaehler ebuild
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
DIST react-http-1.11.0.tar.gz 84704 BLAKE2B 4a97b09c24be26eecef8d9e5a19b2305408d7531e97bf215ceff03784ddb3aa18380073531232594b9d73147a272e899524b8d67ba0991d273357bdd4bafa4c5 SHA512 1999ac275ad73723f8e7ca160394280f5d7ca614cb98357d3ff104a77751bebf7708ce67d7e3af740df8147c8478458aabd9c0bc0ba13130749443508d4be803
|
||||
EBUILD react-http-1.11.0.ebuild 1523 BLAKE2B e687d91330bc351f11b8fbe0ebea3c45be1aa9ec7246bfa076884bf09773cfbc4d9930fc8039d784cc8cf9d2b6b520c4b5653a2653d5b42dd9791988edac9751 SHA512 9c0e4c0653397ba2f7e03fedbd460f674e295d6f6d3a241b169dd22637c6f8d8613964bc442ca830a8fd02776b3c92b584f0d5eade4d94aa59b1f5e6c7a78246
|
||||
MISC metadata.xml 222 BLAKE2B 19322bd3025cd417e913c2cf89e77a85feebd3a10027631db104cfea3bf9a089a5fd0d83107f79a7b409f7872c159883508bcbea3112cc4061ba3d261aea49a4 SHA512 ab5b54928b8ae0e8fb64acaaeb3f2499f59d3b8f1a5986b8d59f741c502a17f05d5b71fd8395e59e072f8f321f5571e41a76eb3e272e91a946aea3df156aad19
|
||||
@@ -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/http</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Event-driven, streaming HTTP client and server implementation for ReactPHP"
|
||||
HOMEPAGE="https://github.com/reactphp/http"
|
||||
SRC_URI="https://github.com/reactphp/http/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/http-${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/fig-http-message-util
|
||||
dev-php/psr-http-message
|
||||
dev-php/react-event-loop
|
||||
dev-php/react-promise
|
||||
dev-php/react-socket
|
||||
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}/Fig/Http/Message/autoload.php",
|
||||
"${VENDOR_DIR}/Psr/Http/Message/autoload.php",
|
||||
"${VENDOR_DIR}/React/Cache/autoload.php",
|
||||
"${VENDOR_DIR}/React/Dns/autoload.php",
|
||||
"${VENDOR_DIR}/React/EventLoop/autoload.php",
|
||||
"${VENDOR_DIR}/React/Promise/autoload.php",
|
||||
"${VENDOR_DIR}/React/Socket/autoload.php",
|
||||
"${VENDOR_DIR}/React/Stream/autoload.php"
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/React/Http"
|
||||
doins -r *.php LICENSE src src/*
|
||||
}
|
||||
Reference in New Issue
Block a user