1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit php-pear-r2 vcs-snapshot
8 DESCRIPTION="PHP interface to AT&T's GraphViz tools"
9 SRC_URI="https://github.com/pear/Image_GraphViz/archive/3f8a01ae0597ca9d1d08a6e442cb0b153358fc0d.tar.gz -> ${PEAR_P}.tar.gz"
12 KEYWORDS="~alpha amd64 hppa ~ia64 ~sparc x86"
14 RDEPEND="media-gfx/graphviz"
15 DEPEND="test? ( ${RDEPEND} dev-php/PEAR-PEAR )"
16 PATCHES=( "${FILESDIR}/Image_GraphViz-1.3.0-constructor.patch" )
17 S="${WORKDIR}/${PEAR_P}"
20 mv "${S}/package.xml" "${WORKDIR}" || die
25 peardev run-tests tests || die