dev-php/PEAR-Image_Text: Revbump - EAPI, add tests, fix dependencies
authorBrian Evans <grknight@gentoo.org>
Mon, 19 Feb 2018 21:23:32 +0000 (16:23 -0500)
committerBrian Evans <grknight@gentoo.org>
Mon, 19 Feb 2018 21:23:32 +0000 (16:23 -0500)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild [new file with mode: 0644]

diff --git a/dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild b/dev-php/PEAR-Image_Text/PEAR-Image_Text-0.7.0-r1.ebuild
new file mode 100644 (file)
index 0000000..421c6aa
--- /dev/null
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit php-pear-r2
+
+DESCRIPTION="Advanced text manipulations in images"
+LICENSE="PHP-3"
+SLOT="0"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-lang/php:*[gd,truetype]"
+DEPEND="test? ( ${RDEPEND} dev-php/phpunit )"
+
+src_test() {
+       phpunit tests || die
+}