summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2018-11-24 20:22:15 +0100
committerFabian Groffen <grobian@gentoo.org>2018-11-24 20:22:54 +0100
commitbbb155e10a68290b76f195b60558df02bd8f8cbb (patch)
tree9c72a06a45bfe74e877b173509bc4a79c64194ca /dev-util/uncrustify
parentwww-client/chromium: beta channel bump (71.0.3578.62) (diff)
downloadgentoo-bbb155e10a68290b76f195b60558df02bd8f8cbb.tar.gz
gentoo-bbb155e10a68290b76f195b60558df02bd8f8cbb.tar.bz2
gentoo-bbb155e10a68290b76f195b60558df02bd8f8cbb.zip
dev-util/uncrustify: version bump
Signed-off-by: Fabian Groffen <grobian@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-util/uncrustify')
-rw-r--r--dev-util/uncrustify/Manifest1
-rw-r--r--dev-util/uncrustify/uncrustify-0.68.1.ebuild35
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/uncrustify/Manifest b/dev-util/uncrustify/Manifest
index dd17c40a1ec5..87b4b3a1bbf4 100644
--- a/dev-util/uncrustify/Manifest
+++ b/dev-util/uncrustify/Manifest
@@ -1,2 +1,3 @@
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
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"
+}