summaryrefslogtreecommitdiff
path: root/dev-util/uncrustify
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/uncrustify')
-rw-r--r--dev-util/uncrustify/Manifest2
-rw-r--r--dev-util/uncrustify/uncrustify-0.68.1.ebuild35
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/uncrustify/Manifest b/dev-util/uncrustify/Manifest
index f23a7dc3004b..d52643cf1658 100644
--- a/dev-util/uncrustify/Manifest
+++ b/dev-util/uncrustify/Manifest
@@ -1,6 +1,8 @@
DIST uncrustify-0.66.1.tar.gz 1208142 BLAKE2B d642eb6c8e2a147aa17bd25f4ca0ee7e9471fa4f7d288c5e06e4814d0103032989e83349377d9d9a19371047fb82ad4d6e1aeec90bea3a068e8884ec4a698e0c SHA512 edfde1d46bded9febd47b77cbff86028e1d21c41fee6a46a8b43f0928bf937259be2f88fe4606f406f414601bb757e27eda373ca738606d1bb74b6cd27335f47
DIST uncrustify-0.67.tar.gz 1514735 BLAKE2B 15bce3c596bd09393aa5bfd4780d2ca5ebfddf3a880765b74beffdfd6b1c30e9a3296dcf3e90568741ce79d933174514a091566c1e8c182f5d4ae31a5bba955a SHA512 5f9677adba7a211c0b8797bad9debb6fa52658d6775048e86a9b928d8e84ee334497c1455a0bb3b19084a32e0fbad79a291cf7ca50fe817131dd28feb85d65ce
+DIST uncrustify-0.68.1.tar.gz 1566201 BLAKE2B ca7423088a2059d522d915e23bf1cdecc70d0adf64b9e7af53bfb4185252e4938105696623ba53b7f8be817e9e5ebadabf63417256e6f2b484dbebce868392be SHA512 03df7d2c3130f44021bc86599eae3acbd8dc206f647b476f63b0fe6add207c105c15f9481d6efa6b624d55bfbaeea050d636eabafb30a71a4de9ec8db6fe92dd
EBUILD uncrustify-0.66.1.ebuild 775 BLAKE2B 64727ab17bc2c317acd512299a09308d97a253ee1bb6ce00f00e9857d3425a830b5087389dd4dbb1cab4f317ceb8c7993668f21ebaa685fe81ceea436ee6f149 SHA512 04ea97f08d9f2ecdc5ab773e2f0905f59915645786916743bb0b2a53c0b8ef384e75d309a79a3b0501a76e11a2dd15e97bb8cf0221fccaa98ffc477ae828e3ed
EBUILD uncrustify-0.67.ebuild 779 BLAKE2B 0969e712647d3da3402b3c0abc2378364e45df3976ab50d43fbd38dd48f512c2f7975bee2dddd78f522a2d547e992d9eae7f07037df74f24c767139ade22f5dd SHA512 a1b82a6e4ae9d03fbea15e24ba22716811671eb20d4595d1e3dee690c33c4deaaa57c62aa92e0da51d7c37dca11e936ece6b53b1dafaf76b7551804f67cb4a6d
+EBUILD uncrustify-0.68.1.ebuild 776 BLAKE2B 74f518b740f7cb2ca6571323dbd3772e23b35840e30ff54b5e4381a063210200f5114b536276066a51a8152ecd2652c9df4e649f994ff59e9ba3788cf5d1ad11 SHA512 7cc0cb54af6cdef08c1c84ed4b2bc9f0b77adf012a023781c54d5deed46ebdc8eaa8bf82dcdb9b615d6b78e104b6a42d0811c8c970bff6f8a7ef5c9db21cae57
EBUILD uncrustify-9999.ebuild 768 BLAKE2B e165cd2ee7f56a3244cd9b315d03203a549e5c33215e5d05c4a3fffdc4ca7eeb3146f36521cb82605dff7c131b51947536172b20541b85a6ca396182b534ed36 SHA512 ddd9587992e64a9872591669e20301ae9955a533dc6dabb7e35ba3764edacf39155221f48107b30c852e863cb4c1e9a049f3efde5742233d4a81415f3d6e87e9
MISC metadata.xml 499 BLAKE2B 9418af314e83877ee50d76d87b3fbe9223ed7ef21d53ab85d5a916a46bb631296ca2babb8b470049003e1b6889185df52bdb62c9fd1f2f371d6902885dc4f399 SHA512 e8a379440acebe626dc28ecd4de5e76e1a684e67441bcce6720eb4ea834102c4d020d91a5950ffd24fc297ccd5ea8386850b0bfe0771352539936345d8b1f3cb
diff --git a/dev-util/uncrustify/uncrustify-0.68.1.ebuild b/dev-util/uncrustify/uncrustify-0.68.1.ebuild
new file mode 100644
index 000000000000..61beeae246e6
--- /dev/null
+++ b/dev-util/uncrustify/uncrustify-0.68.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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"
+}