# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 DESCRIPTION="Detect violations of PHP code standards" HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer" # The test suite isn't part of the Github tarball at the moment. Keep an # eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548 SRC_URI="http://download.pear.php.net/package/${P}.tgz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" RESTRICT="!test? ( test )" RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]" DEPEND="test? ( ${RDEPEND}