From: "Thomas Deutschmann" <whissi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/awl/
Date: Tue, 30 Mar 2021 12:19:47 +0000 (UTC) [thread overview]
Message-ID: <1617106784.33374ed7689017aada74badce62b4bbca574e630.whissi@gentoo> (raw)
commit: 33374ed7689017aada74badce62b4bbca574e630
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 12:18:22 2021 +0000
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 12:19:44 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33374ed7
dev-php/awl: test all available PHP versions
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
dev-php/awl/awl-0.62.ebuild | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/dev-php/awl/awl-0.62.ebuild b/dev-php/awl/awl-0.62.ebuild
index 1972ef4d110..e4baa58f020 100644
--- a/dev-php/awl/awl-0.62.ebuild
+++ b/dev-php/awl/awl-0.62.ebuild
@@ -7,6 +7,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"
+USE_PHP="php7.3 php7.4 php8.0"
+
LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
@@ -14,7 +16,7 @@ IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-php/phpunit )"
-RDEPEND="dev-lang/php:*[pdo,postgres,xml]"
+RDEPEND="dev-lang/php:*[pdo,xml]"
S="${WORKDIR}"
@@ -23,7 +25,13 @@ src_compile() {
}
src_test() {
- phpunit --do-not-cache-result tests/ || die "test suite failed"
+ local slot
+ for slot in ${USE_PHP//-/.} ; do
+ if [[ -x /usr/bin/${slot} ]] ; then
+ ${slot} "${EPREFIX}"/usr/bin/phpunit --verbose --do-not-cache-result tests/ \
+ || die "test suite failed"
+ fi
+ done
}
src_install() {
next reply other threads:[~2021-03-30 12:19 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 12:19 Thomas Deutschmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-11 13:40 [gentoo-commits] repo/gentoo:master commit in: dev-php/awl/ Michael Orlitzky
2024-04-09 17:11 Michael Orlitzky
2023-01-07 11:06 Joonas Niilola
2023-01-07 11:06 Joonas Niilola
2021-03-30 0:21 Thomas Deutschmann
2020-11-30 0:48 Thomas Deutschmann
2020-11-30 0:48 Thomas Deutschmann
2020-08-18 22:37 Thomas Deutschmann
2020-04-21 13:39 Michael Orlitzky
2020-04-21 13:39 Michael Orlitzky
2020-01-21 23:51 Michael Orlitzky
2019-10-01 5:20 Joonas Niilola
2019-10-01 5:20 Joonas Niilola
2018-04-27 9:40 David Seifert
2018-04-27 9:40 David Seifert
2018-01-13 0:34 Michael Orlitzky
2017-01-05 1:01 Michael Orlitzky
2016-02-12 11:14 Patrick Lauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1617106784.33374ed7689017aada74badce62b4bbca574e630.whissi@gentoo \
--to=whissi@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox