mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
php 8.1 is no longer part of portage tree since 2025-03-17 via e8ed8932868769feef9cdd284e84e878c7bb8a26. Bug: https://bugs.gentoo.org/959495 Signed-off-by: Bertrand Jacquin <bertrand@jacquin.bzh> Part-of: https://github.com/gentoo/gentoo/pull/42868 Signed-off-by: Sam James <sam@gentoo.org>
31 lines
568 B
Bash
31 lines
568 B
Bash
# Copyright 1999-2025 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI="8"
|
|
|
|
USE_PHP="php8-2"
|
|
|
|
inherit php-ext-pecl-r3
|
|
|
|
DESCRIPTION="RRDtool bindings for PHP"
|
|
LICENSE="BSD"
|
|
SLOT="7"
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
DEPEND="net-analyzer/rrdtool[graph(-)]"
|
|
RDEPEND="${DEPEND}"
|
|
BDEPEND="virtual/pkgconfig"
|
|
|
|
#PATCHES=( "${FILESDIR}/${PV}" )
|
|
PHP_EXT_ECONF_ARGS=()
|
|
|
|
src_test() {
|
|
local slot
|
|
for slot in $(php_get_slots); do
|
|
php_init_slot_env "${slot}"
|
|
# Prepare test data
|
|
emake -C tests/data all
|
|
NO_INTERACTION="yes" emake test
|
|
done
|
|
}
|