mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-07-21 14:38:43 +02:00
php 8.1 is no longer part of portage tree since 2025-03-17 via
e8ed893286
.
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>
30 lines
568 B
Bash
30 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
|
|
}
|