commit: 0899b87df21dbdc4b85b9bff65aead5bafa80c8b Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> AuthorDate: Thu May 17 18:30:29 2018 +0000 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> CommitDate: Thu May 17 18:30:29 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0899b87d
dev-util/uncrustify: version bump to 0.67 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/uncrustify/Manifest | 1 + dev-util/uncrustify/uncrustify-0.67.ebuild | 35 ++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-util/uncrustify/Manifest b/dev-util/uncrustify/Manifest index 510a7835837..dd17c40a1ec 100644 --- a/dev-util/uncrustify/Manifest +++ b/dev-util/uncrustify/Manifest @@ -1 +1,2 @@ DIST uncrustify-0.66.1.tar.gz 1208142 BLAKE2B d642eb6c8e2a147aa17bd25f4ca0ee7e9471fa4f7d288c5e06e4814d0103032989e83349377d9d9a19371047fb82ad4d6e1aeec90bea3a068e8884ec4a698e0c SHA512 edfde1d46bded9febd47b77cbff86028e1d21c41fee6a46a8b43f0928bf937259be2f88fe4606f406f414601bb757e27eda373ca738606d1bb74b6cd27335f47 +DIST uncrustify-0.67.tar.gz 1514735 BLAKE2B 15bce3c596bd09393aa5bfd4780d2ca5ebfddf3a880765b74beffdfd6b1c30e9a3296dcf3e90568741ce79d933174514a091566c1e8c182f5d4ae31a5bba955a SHA512 5f9677adba7a211c0b8797bad9debb6fa52658d6775048e86a9b928d8e84ee334497c1455a0bb3b19084a32e0fbad79a291cf7ca50fe817131dd28feb85d65ce diff --git a/dev-util/uncrustify/uncrustify-0.67.ebuild b/dev-util/uncrustify/uncrustify-0.67.ebuild new file mode 100644 index 00000000000..0b66873c705 --- /dev/null +++ b/dev-util/uncrustify/uncrustify-0.67.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +if [[ $PV == *9999* ]]; then + EGIT_REPO_URI="https://github.com/${PN}/${PN}.git" + KEYWORDS="~amd64 ~x86" + SRC_URI="" + scm_eclass=git-r3 +else + KEYWORDS="~amd64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" + SRC_URI="https://github.com/${PN}/${PN}/archive/${P}.tar.gz" + S=${WORKDIR}/${PN}-${P} +fi + +inherit cmake-utils ${scm_eclass} + +PYTHON_COMPAT=( python2_7 ) + +inherit python-any-r1 + +DESCRIPTION="C/C++/C#/D/Java/Pawn code indenter and beautifier" +HOMEPAGE="http://uncrustify.sourceforge.net/" + +LICENSE="GPL-2" +SLOT="0" +IUSE="test" + +DEPEND="test? ( ${PYTHON_DEPS} )" + +python_test() { + cd tests + ${EPYTHON} run_tests.py || die "tests failed" +}