1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier"
10 HOMEPAGE="http://uncrustify.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
18 DEPEND="test? ( =dev-lang/python-2* )"
23 python2 run_tests.py || die "tests failed"
27 emake DESTDIR="${D}" install || die "Install failed"
28 dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"