1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 if [[ $PV == *9999* ]]; then
7 EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
10 KEYWORDS="amd64 x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
11 SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz"
12 S=${WORKDIR}/${PN}-${P}
15 inherit cmake-utils ${scm_eclass}
17 PYTHON_COMPAT=( python2_7 )
21 DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
22 HOMEPAGE="http://uncrustify.sourceforge.net/"
27 RESTRICT="!test? ( test )"
29 DEPEND="test? ( ${PYTHON_DEPS} )"
33 ${EPYTHON} run_tests.py || die "tests failed"