1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 if [[ $PV == *9999* ]]; then
8 EGIT_REPO_URI="git://github.com/uncrustify/uncrustify.git
9 https://github.com/uncrustify/uncrustify.git"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
15 SRC_URI="https://github.com/uncrustify/${PN}/archive/${P}.tar.gz"
16 S=${WORKDIR}/${PN}-${P}
19 inherit autotools ${scm_eclass}
21 PYTHON_COMPAT=( python2_7 )
25 DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
26 HOMEPAGE="http://uncrustify.sourceforge.net/"
32 DEPEND="test? ( ${PYTHON_DEPS} )"
41 ${EPYTHON} run_tests.py || die "tests failed"