Install this version:
emerge -a =dev-php/pecl-uv-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-php/pecl-uv-9999
Or alternatively:
emerge --autounmask-write -a =dev-php/pecl-uv-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PHP_EXT_NAME="uv"
PHP_EXT_ECONF_ARGS="--with-uv"
PHP_EXT_S="${WORKDIR}/${P}"
USE_PHP="php8-2 php8-3 php8-4 php8-5"
inherit git-r3 php-ext-pecl-r3
unset SRC_URI
DESCRIPTION="PHP PECL UV extension"
EGIT_REPO_URI="https://github.com/amphp/ext-uv.git"
S="${PHP_EXT_S}"
LICENSE="PHP-3.01"
SLOT="0"
IUSE="ipv6"
DEPEND="dev-libs/libuv:0="
RDEPEND="${DEPEND}"
src_prepare() {
! use ipv6 && eapply "${FILESDIR}/${PN}"-0.3.0-tests.patch
rm tests/005-uv_listen_cb-not-destroyed.phpt || die "rm failed"
php-ext-source-r3_src_prepare
}
src_test() {
# skipped 5
SKIP_ONLINE_TESTS=1 php-ext-source-r3_src_test
}
Manage flags for this package:
euse -i <flag> -p dev-php/pecl-uv |
euse -E <flag> -p dev-php/pecl-uv |
euse -D <flag> -p dev-php/pecl-uv
dev-libs/libuv:0=
dev-libs/libuv:0=