dev-util/uncrustify: version bump to 0.67
authorFabian Groffen <grobian@gentoo.org>
Thu, 17 May 2018 18:30:29 +0000 (20:30 +0200)
committerFabian Groffen <grobian@gentoo.org>
Thu, 17 May 2018 18:30:29 +0000 (20:30 +0200)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

dev-util/uncrustify/Manifest
dev-util/uncrustify/uncrustify-0.67.ebuild [new file with mode: 0644]

index 510a783583756a89042a2e926d250255d1a44b7b..dd17c40a1ec53b7a95fd32e465c160378e5fa168 100644 (file)
@@ -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 (file)
index 0000000..0b66873
--- /dev/null
@@ -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"
+}