1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="Andrew McMillan's Web Libraries"
7 HOMEPAGE="https://gitlab.com/davical-project/awl"
8 SRC_URI="https://www.davical.org/downloads/${PN}_${PV}.orig.tar.xz -> ${P}.tar.xz"
10 LICENSE="GPL-2 GPL-2+ GPL-3+ LGPL-2+ LGPL-3+"
12 KEYWORDS="~amd64 ~x86"
14 RESTRICT="!test? ( test )"
16 BDEPEND="test? ( dev-php/phpunit )"
17 RDEPEND="dev-lang/php:*[pdo,postgres,xml]"
26 phpunit tests/ || die "test suite failed"
31 insinto /usr/share/php/${PN}