diff options
Diffstat (limited to 'dev-util/uncrustify')
-rw-r--r-- | dev-util/uncrustify/Manifest | 2 | ||||
-rw-r--r-- | dev-util/uncrustify/uncrustify-0.67.ebuild | 35 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-util/uncrustify/Manifest b/dev-util/uncrustify/Manifest index 20c42a38e221..f23a7dc3004b 100644 --- a/dev-util/uncrustify/Manifest +++ b/dev-util/uncrustify/Manifest @@ -1,4 +1,6 @@ DIST uncrustify-0.66.1.tar.gz 1208142 BLAKE2B d642eb6c8e2a147aa17bd25f4ca0ee7e9471fa4f7d288c5e06e4814d0103032989e83349377d9d9a19371047fb82ad4d6e1aeec90bea3a068e8884ec4a698e0c SHA512 edfde1d46bded9febd47b77cbff86028e1d21c41fee6a46a8b43f0928bf937259be2f88fe4606f406f414601bb757e27eda373ca738606d1bb74b6cd27335f47 +DIST uncrustify-0.67.tar.gz 1514735 BLAKE2B 15bce3c596bd09393aa5bfd4780d2ca5ebfddf3a880765b74beffdfd6b1c30e9a3296dcf3e90568741ce79d933174514a091566c1e8c182f5d4ae31a5bba955a SHA512 5f9677adba7a211c0b8797bad9debb6fa52658d6775048e86a9b928d8e84ee334497c1455a0bb3b19084a32e0fbad79a291cf7ca50fe817131dd28feb85d65ce EBUILD uncrustify-0.66.1.ebuild 775 BLAKE2B 64727ab17bc2c317acd512299a09308d97a253ee1bb6ce00f00e9857d3425a830b5087389dd4dbb1cab4f317ceb8c7993668f21ebaa685fe81ceea436ee6f149 SHA512 04ea97f08d9f2ecdc5ab773e2f0905f59915645786916743bb0b2a53c0b8ef384e75d309a79a3b0501a76e11a2dd15e97bb8cf0221fccaa98ffc477ae828e3ed +EBUILD uncrustify-0.67.ebuild 779 BLAKE2B 0969e712647d3da3402b3c0abc2378364e45df3976ab50d43fbd38dd48f512c2f7975bee2dddd78f522a2d547e992d9eae7f07037df74f24c767139ade22f5dd SHA512 a1b82a6e4ae9d03fbea15e24ba22716811671eb20d4595d1e3dee690c33c4deaaa57c62aa92e0da51d7c37dca11e936ece6b53b1dafaf76b7551804f67cb4a6d 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.67.ebuild b/dev-util/uncrustify/uncrustify-0.67.ebuild new file mode 100644 index 000000000000..0b66873c7057 --- /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" +} |