From 81194f7b5ce8c7532475860912d78f1171a7945c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Thu, 11 Jul 2024 09:11:00 -0400 Subject: [PATCH] dev-php/awl: add RESTRICT=test Upstream ships a Makefile that tries to run the tests with "make test". Since we no longer have PHPUnit in the tree, that won't work. Closes: https://bugs.gentoo.org/935851 Signed-off-by: Michael Orlitzky --- dev-php/awl/awl-0.64.ebuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dev-php/awl/awl-0.64.ebuild b/dev-php/awl/awl-0.64.ebuild index 731942cc9202a..077adfd6d1e13 100644 --- a/dev-php/awl/awl-0.64.ebuild +++ b/dev-php/awl/awl-0.64.ebuild @@ -6,14 +6,15 @@ EAPI=8 DESCRIPTION="Andrew McMillan's Web Libraries" HOMEPAGE="https://gitlab.com/davical-project/awl" SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz" - +S="${WORKDIR}" LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="dev-lang/php:*[pdo,xml]" +# Requires PHPunit and we no longer have it. +RESTRICT=test -S="${WORKDIR}" +RDEPEND="dev-lang/php:*[pdo,xml]" PATCHES=( "${FILESDIR}/${P}-php8.x-compat.patch" )