summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2017-11-08 21:16:01 +0100
committerFabian Groffen <grobian@gentoo.org>2017-11-08 21:16:32 +0100
commit69ca64b7c6801e416849b0f38ce6440d10077f09 (patch)
treeccf46c64d3fdc9563a8dbb2e83fe78c68e95b3f2 /dev-util/uncrustify
parentapp-portage/eix: stable 0.32.9 for hppa, bug #627280 (thanks to Rolf Eike Beer) (diff)
downloadgentoo-69ca64b7c6801e416849b0f38ce6440d10077f09.tar.gz
gentoo-69ca64b7c6801e416849b0f38ce6440d10077f09.tar.bz2
gentoo-69ca64b7c6801e416849b0f38ce6440d10077f09.zip
dev-util/uncrustify: version bump
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-util/uncrustify')
-rw-r--r--dev-util/uncrustify/Manifest1
-rw-r--r--dev-util/uncrustify/uncrustify-0.66.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/uncrustify/Manifest b/dev-util/uncrustify/Manifest
index 7b2ad855800e..0616ac821397 100644
--- a/dev-util/uncrustify/Manifest
+++ b/dev-util/uncrustify/Manifest
@@ -1,2 +1,3 @@
DIST uncrustify-0.59.tar.gz 983822 SHA256 3f2ba1ca15f7ed1cd0871d54a5dd4ecf006fd167a0fa0fe1d5d76c91106238b5 SHA512 eb228ecb63f777e90ecca44bdef2312fbca2cdbdf9dd899e1f67e9917265667584796b983050138bae39773ab2627e3c3035e519f64dfe51475f207a0e3af900 WHIRLPOOL 85d702e2968d6fbbce7f15fb23d2bbb5e2131f462076e82adf109c684c9b09410c409aa0d75114e7d5b8951d1dfdee80186d483e48d57c1e183d4c3a27bfa8b5
DIST uncrustify-0.64.tar.gz 1178957 SHA256 2a8cb3ab82ca53202d50fc2c2cec0edd11caa584def58d356c1c759b57db0b32 SHA512 bc7361520adc3c95c9ba3dffeabadec4219af1827ed2f4ae0c4ad94a0f366490854ed40d09ecc6bf3f34941bf87722f013e01d1a1684c9f7fb1adac6dd4fee01 WHIRLPOOL 1e45748b8dc3c2c99dd774677d539b4bd7e1f4f52c3e9a40894df3ab67780767604dd845e9ffc6f69eb23980e447ce8d82c526eba1236454194baac5f25d9a84
+DIST uncrustify-0.66.tar.gz 1435142 SHA256 ae5ca91419be71291d4a5be15439c11bdfc0adb350cbc0688b9a51085489a7f9 SHA512 607486c6c34ab1551707c0c5e1c4ce73d53f518f9db478734a3af6711569b0c91e371d9b88b4fc3c34a4d9459feba32c24c87b82bd2c2645fa9d9a6a674f429d WHIRLPOOL a4127e3430c54b17e02d7062d3ed5cbf6148a11d7949d38610b63d7b89410b5b82ad5513274b6f4249ecde5a4966f4639043bec9a60e1423902c1c56ecc64f3e
diff --git a/dev-util/uncrustify/uncrustify-0.66.ebuild b/dev-util/uncrustify/uncrustify-0.66.ebuild
new file mode 100644
index 000000000000..d0891fcae6c3
--- /dev/null
+++ b/dev-util/uncrustify/uncrustify-0.66.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 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=""
+ 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"
+}