diff options
author | Till Schäfer <till2.schaefer@uni-dortmund.de> | 2022-12-05 22:40:29 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2023-01-07 13:06:02 +0200 |
commit | 503b48842f821c9a4bee04b5f0550ebb384b4bcc (patch) | |
tree | 92359b13027dafe7749260229babdcacb756413a /dev-php | |
parent | dev-php/awl: add gitlab upstream metadata (diff) | |
download | gentoo-503b48842f821c9a4bee04b5f0550ebb384b4bcc.tar.gz gentoo-503b48842f821c9a4bee04b5f0550ebb384b4bcc.tar.bz2 gentoo-503b48842f821c9a4bee04b5f0550ebb384b4bcc.zip |
dev-php/awl: add 0.63
migrate to EAPI 8
Signed-off-by: Till Schäfer <till2.schaefer@uni-dortmund.de>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/awl/Manifest | 1 | ||||
-rw-r--r-- | dev-php/awl/awl-0.63.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-php/awl/Manifest b/dev-php/awl/Manifest index c2787cf36249..d2babcb47327 100644 --- a/dev-php/awl/Manifest +++ b/dev-php/awl/Manifest @@ -1,2 +1,3 @@ DIST awl-0.61.tar.xz 124340 BLAKE2B af5d9c063280c93deb55929acf4826b6ba003676a15fcda48019a2a7788d8913d20a05c4aae98f2345d931b8f593bd32622a033fe421b55d0c687b10c7e1be05 SHA512 3492512ec04e523a30562d49aac1be617a2cee80fa363b0fbf13b25b44818a4c85af018193f79a6442419b1f7022cd7ec417e3c34641eb8096750441dcbd22bc DIST awl-0.62.tar.xz 126492 BLAKE2B f7077106c9bc527371aef9edbb34d5e9ff251c2439059449dd8c93b548f16b79b06875e71d36faafa2a206c74391ffef978254b5ec131761550be2e0d6a7d6c1 SHA512 b6676c4bf3998ea0448aa9dba31a02fd950a07639cafb3f46482bd38235d39edeb1ab481d657d200332828777ca27df17ecf354d5721347481c0c24f04451c6d +DIST awl-0.63.tar.xz 126608 BLAKE2B feb785d6a97f1cb477cd6609495e44481563c575a5b4818d70f191df153f43360685aa86063ec59649ad4d0a0e1ef2bc9e9734a668f30bb46b7f8013c8a10369 SHA512 bf21303a5676e32874594bfe463c20be2653fc29c9aaa7586d31704c4504f5d9e6ad1e2ba103515af61ffa7d43776bfb45fea9b4752efb6441f888908f42452b diff --git a/dev-php/awl/awl-0.63.ebuild b/dev-php/awl/awl-0.63.ebuild new file mode 100644 index 000000000000..2730c69e19a0 --- /dev/null +++ b/dev-php/awl/awl-0.63.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +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" + +USE_PHP="php7.4 php8.0 php8.1" + +LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-php/phpunit )" +RDEPEND="dev-lang/php:*[pdo,xml]" + +S="${WORKDIR}" + +src_compile() { + : +} + +src_test() { + 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() { + einstalldocs + insinto /usr/share/php/${PN} + doins -r dba inc +} |