diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-04-28 20:21:43 +0100 |
commit | 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (patch) | |
tree | 758c221bad35c9288d0bd6df9c7dfc226728e52c /dev-php/awl | |
parent | 8d5dbd847cbc704a6a06405856e94b461011afe3 (diff) |
gentoo resync : 28.04.2021
Diffstat (limited to 'dev-php/awl')
-rw-r--r-- | dev-php/awl/Manifest | 2 | ||||
-rw-r--r-- | dev-php/awl/awl-0.62.ebuild | 41 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-php/awl/Manifest b/dev-php/awl/Manifest index b3738adca507..d23ca2f66876 100644 --- a/dev-php/awl/Manifest +++ b/dev-php/awl/Manifest @@ -1,3 +1,5 @@ DIST awl-0.61.tar.xz 124340 BLAKE2B af5d9c063280c93deb55929acf4826b6ba003676a15fcda48019a2a7788d8913d20a05c4aae98f2345d931b8f593bd32622a033fe421b55d0c687b10c7e1be05 SHA512 3492512ec04e523a30562d49aac1be617a2cee80fa363b0fbf13b25b44818a4c85af018193f79a6442419b1f7022cd7ec417e3c34641eb8096750441dcbd22bc +DIST awl-0.62.tar.xz 126492 BLAKE2B f7077106c9bc527371aef9edbb34d5e9ff251c2439059449dd8c93b548f16b79b06875e71d36faafa2a206c74391ffef978254b5ec131761550be2e0d6a7d6c1 SHA512 b6676c4bf3998ea0448aa9dba31a02fd950a07639cafb3f46482bd38235d39edeb1ab481d657d200332828777ca27df17ecf354d5721347481c0c24f04451c6d EBUILD awl-0.61.ebuild 690 BLAKE2B 4d05a6e4cd627f8a5b197990e5619502a5102e391c81c171c57efd7eeedde4a4396b4a051449845e4e3c0e4b55cd8219d7cf8556f81de895d55341f2b5ac2d21 SHA512 7885a6ea48607e8afb12ae1f17a6ed58d225c9bc9225f1a91c0d26c12f97cbfbba01e2381af3aeecb9ab720170e511807ffab925a96822d62dcdbe6349291342 +EBUILD awl-0.62.ebuild 855 BLAKE2B 8a88fb72bb9aecb2c1db79201598ec81b1ed3c9ba5617a247a2e3f57353ffc7edcc52810476b03459e5f006fc47df56c586391b0e92c1b789ab9afc9ee64272f SHA512 1c29565ac049488e62968d23534a6e7020582fe860316157b84ac767140fc8bf5668b81c632b137022bd890fcba8d7e87fb7ea8f90925bf47d76a670a16f665f MISC metadata.xml 637 BLAKE2B 98930e2cd3f20ed5d8010f73aa58e858aab70bf3dc9fd166d1ad6031b3adef002536d87f98a39a8d563c47d947c2100727e658dbed241cacfc9fb21460dd2210 SHA512 4c0bbb905012054b9a8deda85cc2479c1267664bc4fce51f47b297f543bfcdb2fc1fb664d5a236e19d10f6eb5851f69f4d56bba9890633fee4472365293c2fc1 diff --git a/dev-php/awl/awl-0.62.ebuild b/dev-php/awl/awl-0.62.ebuild new file mode 100644 index 000000000000..e4baa58f0208 --- /dev/null +++ b/dev-php/awl/awl-0.62.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +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 +} |