From 5b5df25227111ef465caf5c52bcfb66dac3219cd Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 19 Jan 2018 20:11:46 +0000 Subject: gentoo resync : 19.01.2018 --- dev-util/include-what-you-use/Manifest | 2 +- .../include-what-you-use-4.0-r1.ebuild | 56 --------------------- .../include-what-you-use-4.0-r2.ebuild | 58 ++++++++++++++++++++++ 3 files changed, 59 insertions(+), 57 deletions(-) delete mode 100644 dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild create mode 100644 dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild (limited to 'dev-util/include-what-you-use') diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index e0478d1efe2d..6d572f95fa3f 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,6 +1,6 @@ DIST include-what-you-use-3.9.src.tar.gz 446773 BLAKE2B 6b8e66e7ace440ff793c07fb3a4c3db95418f213c629b119fff315559bb581a04b864f5a8cf2eed2221dca84af23fb7ae0c3b3a2c4a59af88bf1e656951f5e8e SHA512 dd7990fa4112ddb0434807efd9dcf0f77bbecaa61eab51be24428f8e45b9321c7647a979278f3f1266ba9be05c6f1de536fc084613d38638b795248001ce4b44 DIST include-what-you-use-4.0.src.tar.gz 437340 BLAKE2B 744f7893169a637636107e23cae356db7f12aa01fefd39626600b3fa3dbd77688503e7332a2dbc673339145692625fd8fa3f10e0d405a77e2d5586e6bfeb0378 SHA512 c96b78ec8f8289bfd7830acaf533aea0077bb36311d3b8bb7f31464c1b3a5b3f353b24e81ffc581811b4083d3b5959e4e947e3a3d16cb7c77de00b05b9972a90 EBUILD include-what-you-use-3.9.ebuild 973 BLAKE2B 61940f05ffd32b4012be4d1710d69adfbfa5147151fd328be078d5663d73abf19ab3bec49ecf30d4a9a7ec91712162f30ecb53d796a38ef433282c8cb928aeb9 SHA512 954ea8edd222088d445c7330a6ac0069e0130729dbcb1068c889af9737cde2b31f06761216970a1cf009d39dc75b0c4f884335aeff0a844cab556bea411b6364 -EBUILD include-what-you-use-4.0-r1.ebuild 1258 BLAKE2B a44e5f49c3ae36b8c3e95a5404518dbb3131bf9375c98cd4f5f7ed0a9c752a78a1906f2ed82b89569ea693529e48a76bb8745d67b062f2d6325aed44f3dc06c3 SHA512 26ac2113d1076093a6849e929d9f0d9d94740e20362cc3f066adb982c357e9ee180f84b204ddcbf8f6bd0b52436300abce0d5157620a9ae444fcaa45718d0536 +EBUILD include-what-you-use-4.0-r2.ebuild 1324 BLAKE2B 1ee3351dc1504108c7456713d6759c4e93380ff4af4e81abb19d8e5988b0adb7b3a6b9e005e82dfb912ddf9ab94640d6f6e3f522a4626be17ded615fac80adb1 SHA512 644d95970c6116b5b0b3bbbb6e1683ada92bd06297fb0004216c0c61ebfc51e08337235b38782d6beab26e0cf71b3d336a76a52c0fb19cef24123fcd5330f54b EBUILD include-what-you-use-4.0.ebuild 909 BLAKE2B ef96edb28020f98a91316a4cf7e05a385f3dddd1224e326b6d42e7fc67c4a7521973cf4dc47111e9ae15440b20b16ad046417b9af7f17d61cb7cc74d336e81c6 SHA512 e99495f5a7b6c59727920370b3fe63b031841693eae43bdf33b3130dac0b9794140952390f29aec0f52421c59a084a457e375caf1d697f5d015342febd519931 MISC metadata.xml 357 BLAKE2B f14a0380bab03b4bb916602ed495cf9c29a4ca5839f71dca0d5f4f14eeb5fd0ddaa66dfcb15d94cbeec2a9021a9e5522ef7ae531b5b6f111b769462596da4216 SHA512 03c298d184adee1c8bd96855ba3856dbc6797f6f866397485cc10c3e02956f7bb04811a086e9cf50bbd6f996011d08ca2d272aa4b06f13ee62af5a585f67b492 diff --git a/dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild deleted file mode 100644 index 5b23f35f1cb1..000000000000 --- a/dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) - -inherit cmake-utils flag-o-matic llvm python-single-r1 - -DESCRIPTION="Find unused include directives in C/C++ programs" -HOMEPAGE="https://include-what-you-use.org/" -SRC_URI="https://github.com/${PN}/${PN}/archive/clang_${PV}.tar.gz -> ${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="sys-devel/llvm:4 - sys-devel/clang:4 - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/${PN}-clang_${PV} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake-utils_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - -DIWYU_LLVM_INCLUDE_PATH=$(llvm-config --includedir) - -DIWYU_LLVM_LIB_PATH=$(llvm-config --libdir) - - # Note [llvm install path] - # Unfortunately all binaries using clang driver - # have to reside at the same path depth as - # 'clang' binary itself. See bug #625972 - # Thus as a hack we install it to the same directory - # as llvm/clang itself. - -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)" - ) - cmake-utils_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -} diff --git a/dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild b/dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild new file mode 100644 index 000000000000..f278652a524e --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit cmake-utils flag-o-matic llvm python-single-r1 + +DESCRIPTION="Find unused include directives in C/C++ programs" +HOMEPAGE="https://include-what-you-use.org/" +SRC_URI="https://github.com/${PN}/${PN}/archive/clang_${PV}.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=4 + +RDEPEND="sys-devel/llvm:${LLVM_MAX_SLOT} + sys-devel/clang:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${PN}-clang_${PV} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + -DIWYU_LLVM_INCLUDE_PATH=$(llvm-config --includedir) + -DIWYU_LLVM_LIB_PATH=$(llvm-config --libdir) + + # Note [llvm install path] + # Unfortunately all binaries using clang driver + # have to reside at the same path depth as + # 'clang' binary itself. See bug #625972 + # Thus as a hack we install it to the same directory + # as llvm/clang itself. + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" + ) + cmake-utils_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +} -- cgit v1.2.3