[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: ff3855a7e1d6123dd553974ec27174f843d403af Author: Florian Schmaus gentoo org> AuthorDate: Mon Mar 18 15:10:12 2024 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Mar 18 15:10:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3855a7 dev-util/include-what-you-use: add 0.22 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.22.ebuild | 84 ++ 2 files changed, 85 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 5004193642a7..4e8b1cad4f3e 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,4 @@ DIST include-what-you-use-0.19-test-util-support-EXTRA_IWYU_ARGS.patch 2314 BLAKE2B d6c99aa59b52207ece610f8a8fe52ae967f3e027118c97f665b0a5d21782d85d94658ece1e0ae0e2d86cdcb94a345f072fdbda495caf589b045a8be38bf56f99 SHA512 2ecd6afc2de5ff85c8a6609b151d7d1e50a985e5c52db9b298ce21bad94a3bafb7b939fcd3b3cec0b753e83ba9ea256f628fbda16837ee6b3c3f1d2ec664d4d9 DIST include-what-you-use-0.20.tar.gz 766208 BLAKE2B 54ae7ab18afc592bae201e551377a22d9439cb38418197836aef9d7a74d84ec7cca81ae155358504af9520a07d513e78e61ed7bcf55028f3b56aaa6e949f950b SHA512 77195dc36338a37d3397c78701d81e52fc1c6a3441979fa016f154b0fc860598959e6430e78a51bbf9049f6b2bb62956e50f5531ac5c94c6554e2383ace540f5 DIST include-what-you-use-0.21.tar.gz 776263 BLAKE2B 32e1afc3400641ba4d648cfed0228db5b12357e5aaf4a4c5d8f063e82f14db4c6c568eedbfbfdfed033ae36d787db42122a026df8f74a080901247264ae856e2 SHA512 d6940fcde5f8212b7d6e1b3b8c9075157f831320279f5b7e57346c292c5b2cc52b53491a2c65b69dfcbd83ae2246c7c71555416e1faad9fd9a0aff9c12ddf1ba +DIST include-what-you-use-0.22.tar.gz 796681 BLAKE2B 6ae0b2fd94367c458f2db268493af8922f9e82e0a389765fc94d3d53482b7f276f7a7959f6a8d9fe6ca55e58c0db77ee50f58ce4ad375c0ea73b9029e26ea54d SHA512 e95dc64372ed791441b0b92e113cbeee8aa76e8912776f776ffeb02d96f84fec18988527f46b1fbf7e174e11af043b4387ff47d9012cdd74ce38ec0bfc7ebad2 diff --git a/dev-util/include-what-you-use/include-what-you-use-0.22.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.22.ebuild new file mode 100644 index ..88d55bd823a9 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.22.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +LLVM_MAX_SLOT=18 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + local clang_version=$(best_version sys-devel/clang:${LLVM_MAX_SLOT}) + clang_version=${clang_version#*/*-} # reduce it to ${PV}-${PR} + clang_version=${clang_version%%[_-]*} # main version without beta/pre/patch/revision + + local clang_include_dir_candidates=( + "${ESYSROOT}/usr/lib/clang/${clang_version}/include" + "${ESYSROOT}/usr/lib/clang/${LLVM_MAX_SLOT}/include" + ) + + local candidate_dir + for candidate_dir in "${clang_include_dir_candidates[@]}"; do + if [[ -d "${candidate_dir}" ]]; then + local clang_include_dir="${candidate_dir}" + break + fi + done + + if [[ ! -v clang_include_dir ]]; then + die "Could not infer clang include directory. Candidates: ${clang_include_dir_candidates[*]}" + fi + + local -x IWYU_EXTRA_ARGS="-I ${clang_include_dir}" + "${EPYTHON}" run_iwyu_tests.py \ +-- "${BUILD_DIR}"/bin/${PN} \ + || die "Tests failed with $? (using ${EPYTHON})" +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: dd1117b25bb562d871cf47e8176a8e7cf724b2d9 Author: Florian Schmaus gentoo org> AuthorDate: Wed Mar 6 20:16:39 2024 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Mar 6 20:17:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd1117b2 dev-util/include-what-you-use: drop 0.19 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-0.19.ebuild | 75 -- 2 files changed, 76 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 8afb6dea84f3..5004193642a7 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,4 +1,3 @@ DIST include-what-you-use-0.19-test-util-support-EXTRA_IWYU_ARGS.patch 2314 BLAKE2B d6c99aa59b52207ece610f8a8fe52ae967f3e027118c97f665b0a5d21782d85d94658ece1e0ae0e2d86cdcb94a345f072fdbda495caf589b045a8be38bf56f99 SHA512 2ecd6afc2de5ff85c8a6609b151d7d1e50a985e5c52db9b298ce21bad94a3bafb7b939fcd3b3cec0b753e83ba9ea256f628fbda16837ee6b3c3f1d2ec664d4d9 -DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc DIST include-what-you-use-0.20.tar.gz 766208 BLAKE2B 54ae7ab18afc592bae201e551377a22d9439cb38418197836aef9d7a74d84ec7cca81ae155358504af9520a07d513e78e61ed7bcf55028f3b56aaa6e949f950b SHA512 77195dc36338a37d3397c78701d81e52fc1c6a3441979fa016f154b0fc860598959e6430e78a51bbf9049f6b2bb62956e50f5531ac5c94c6554e2383ace540f5 DIST include-what-you-use-0.21.tar.gz 776263 BLAKE2B 32e1afc3400641ba4d648cfed0228db5b12357e5aaf4a4c5d8f063e82f14db4c6c568eedbfbfdfed033ae36d787db42122a026df8f74a080901247264ae856e2 SHA512 d6940fcde5f8212b7d6e1b3b8c9075157f831320279f5b7e57346c292c5b2cc52b53491a2c65b69dfcbd83ae2246c7c71555416e1faad9fd9a0aff9c12ddf1ba diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild deleted file mode 100644 index eb3c6a7e4c82.. --- a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11} ) - -inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/include-what-you-use/include-what-you-use/commit/62e5e2e35380e46ccbff2c2ed118f8bb5c01755b.patch - -> ${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch -" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~x86" - -LLVM_MAX_SLOT=15 - -RDEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT} - sys-devel/llvm:${LLVM_MAX_SLOT} - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -PATCHES=( - # https://github.com/include-what-you-use/include-what-you-use/pull/1252 - "${DISTDIR}"/${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch - "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch -) - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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_src_configure -} - -src_test() { - local clang_version=$(best_version sys-devel/clang:${LLVM_MAX_SLOT}) - clang_version=${clang_version#*/*-} # reduce it to ${PV}-${PR} - clang_version=${clang_version%%[_-]*} # main version without beta/pre/patch/revision - - local -x EXTRA_IWYU_ARGS="-I ${ESYSROOT}/usr/lib/clang/${clang_version}/include" - "${EPYTHON}" run_iwyu_tests.py \ --- "${BUILD_DIR}"/bin/${PN} \ - || die "Tests failed with $? (using ${EPYTHON})" -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 8783b12277ae8078f2ee07de3fa09f68b3010c7d Author: Florian Schmaus gentoo org> AuthorDate: Wed Mar 6 20:16:03 2024 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Mar 6 20:17:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8783b122 dev-util/include-what-you-use: stabilize 0.21 for amd64 Closes: https://bugs.gentoo.org/920052 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.21.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild index 3ba1024cf7a5..b68c27c4a7d1 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -15,7 +15,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" LLVM_MAX_SLOT=17
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 4090dd8138d83d97e58fa8c520ad0095781fa7ae Author: Florian Schmaus gentoo org> AuthorDate: Sun Dec 10 19:43:36 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Dec 10 19:44:14 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4090dd81 dev-util/include-what-you-use: fix tests Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.21.ebuild | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild index 4c7547c75284..3ba1024cf7a5 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild @@ -28,10 +28,6 @@ DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" -PATCHES=( - "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch -) - llvm_check_deps() { has_version "sys-devel/clang:${LLVM_SLOT}" } @@ -81,7 +77,7 @@ src_test() { die "Could not infer clang include directory. Candidates: ${clang_include_dir_candidates[*]}" fi - local -x EXTRA_IWYU_ARGS="-I ${clang_include_dir}" + local -x IWYU_EXTRA_ARGS="-I ${clang_include_dir}" "${EPYTHON}" run_iwyu_tests.py \ -- "${BUILD_DIR}"/bin/${PN} \ || die "Tests failed with $? (using ${EPYTHON})"
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 78b8e41b5d8e7515f653abb55046a0a746a88a92 Author: Florian Schmaus gentoo org> AuthorDate: Sun Dec 10 15:44:31 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Dec 10 19:12:36 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b8e41b dev-util/include-what-you-use: add 0.21 Closes: https://bugs.gentoo.org/918480 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.21.ebuild | 88 ++ 2 files changed, 89 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 75ee176c9b56..8afb6dea84f3 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,4 @@ DIST include-what-you-use-0.19-test-util-support-EXTRA_IWYU_ARGS.patch 2314 BLAKE2B d6c99aa59b52207ece610f8a8fe52ae967f3e027118c97f665b0a5d21782d85d94658ece1e0ae0e2d86cdcb94a345f072fdbda495caf589b045a8be38bf56f99 SHA512 2ecd6afc2de5ff85c8a6609b151d7d1e50a985e5c52db9b298ce21bad94a3bafb7b939fcd3b3cec0b753e83ba9ea256f628fbda16837ee6b3c3f1d2ec664d4d9 DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc DIST include-what-you-use-0.20.tar.gz 766208 BLAKE2B 54ae7ab18afc592bae201e551377a22d9439cb38418197836aef9d7a74d84ec7cca81ae155358504af9520a07d513e78e61ed7bcf55028f3b56aaa6e949f950b SHA512 77195dc36338a37d3397c78701d81e52fc1c6a3441979fa016f154b0fc860598959e6430e78a51bbf9049f6b2bb62956e50f5531ac5c94c6554e2383ace540f5 +DIST include-what-you-use-0.21.tar.gz 776263 BLAKE2B 32e1afc3400641ba4d648cfed0228db5b12357e5aaf4a4c5d8f063e82f14db4c6c568eedbfbfdfed033ae36d787db42122a026df8f74a080901247264ae856e2 SHA512 d6940fcde5f8212b7d6e1b3b8c9075157f831320279f5b7e57346c292c5b2cc52b53491a2c65b69dfcbd83ae2246c7c71555416e1faad9fd9a0aff9c12ddf1ba diff --git a/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild new file mode 100644 index ..4c7547c75284 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.21.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +LLVM_MAX_SLOT=17 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=( + "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch +) + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + local clang_version=$(best_version sys-devel/clang:${LLVM_MAX_SLOT}) + clang_version=${clang_version#*/*-} # reduce it to ${PV}-${PR} + clang_version=${clang_version%%[_-]*} # main version without beta/pre/patch/revision + + local clang_include_dir_candidates=( + "${ESYSROOT}/usr/lib/clang/${clang_version}/include" + "${ESYSROOT}/usr/lib/clang/${LLVM_MAX_SLOT}/include" + ) + + local candidate_dir + for candidate_dir in "${clang_include_dir_candidates[@]}"; do + if [[ -d "${candidate_dir}" ]]; then + local clang_include_dir="${candidate_dir}" + break + fi + done + + if [[ ! -v clang_include_dir ]]; then + die "Could not infer clang include directory. Candidates: ${clang_include_dir_candidates[*]}" + fi + + local -x EXTRA_IWYU_ARGS="-I ${clang_include_dir}" + "${EPYTHON}" run_iwyu_tests.py \ +--
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: d28a2dd378c652ffbbc6c7a9605eb40c22df3079 Author: Florian Schmaus gentoo org> AuthorDate: Sun Jun 25 15:20:40 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Jun 25 15:22:57 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d28a2dd3 dev-util/include-what-you-use: stabilize 0.20 for amd64 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.20.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild index f91d37114fcd..45a0926a6a68 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild @@ -17,7 +17,7 @@ SRC_URI=" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" LLVM_MAX_SLOT=16
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 224fbae9c571f2bcf40a63992c153a40a6baa65c Author: Florian Schmaus gentoo org> AuthorDate: Mon May 1 10:34:45 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Mon May 1 10:36:03 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=224fbae9 dev-util/include-what-you-use: add 0.20 Closes: https://bugs.gentoo.org/905199 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.20.ebuild | 92 ++ 2 files changed, 93 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 70e10aaf4ba5..75ee176c9b56 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,3 @@ DIST include-what-you-use-0.19-test-util-support-EXTRA_IWYU_ARGS.patch 2314 BLAKE2B d6c99aa59b52207ece610f8a8fe52ae967f3e027118c97f665b0a5d21782d85d94658ece1e0ae0e2d86cdcb94a345f072fdbda495caf589b045a8be38bf56f99 SHA512 2ecd6afc2de5ff85c8a6609b151d7d1e50a985e5c52db9b298ce21bad94a3bafb7b939fcd3b3cec0b753e83ba9ea256f628fbda16837ee6b3c3f1d2ec664d4d9 DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc +DIST include-what-you-use-0.20.tar.gz 766208 BLAKE2B 54ae7ab18afc592bae201e551377a22d9439cb38418197836aef9d7a74d84ec7cca81ae155358504af9520a07d513e78e61ed7bcf55028f3b56aaa6e949f950b SHA512 77195dc36338a37d3397c78701d81e52fc1c6a3441979fa016f154b0fc860598959e6430e78a51bbf9049f6b2bb62956e50f5531ac5c94c6554e2383ace540f5 diff --git a/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild new file mode 100644 index ..f91d37114fcd --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.20.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/include-what-you-use/include-what-you-use/commit/62e5e2e35380e46ccbff2c2ed118f8bb5c01755b.patch + -> ${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch +" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +LLVM_MAX_SLOT=16 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=( + # https://github.com/include-what-you-use/include-what-you-use/pull/1252 + "${DISTDIR}"/${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch + "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch +) + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + local clang_version=$(best_version sys-devel/clang:${LLVM_MAX_SLOT}) + clang_version=${clang_version#*/*-} # reduce it to ${PV}-${PR} + clang_version=${clang_version%%[_-]*} # main version without beta/pre/patch/revision + + local clang_include_dir_candidates=( + "${ESYSROOT}/usr/lib/clang/${clang_version}/include" + "${ESYSROOT}/usr/lib/clang/${LLVM_MAX_SLOT}/include" + ) + + local candidate_dir + for candidate_dir in "${clang_include_dir_candidates[@]}"; do + if [[ -d "${candidate_dir}" ]]; then + local clang_include_dir="${candidate_dir}" + break + fi + done + + if [[ ! -v clang_include_dir ]]; then + die "Could not infer clang include directory. Candidates: ${clang_include_dir_candidates[*]}" + fi + + local -x EXTRA_IWYU_ARGS="-I ${clang_include_dir}" + "${EPYTHON}" run_iwyu_tests.py \ +
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/, dev-util/include-what-you-use/files/
commit: 9c479450dfc4080bb682ac6803107efe2422b81c Author: Florian Schmaus gentoo org> AuthorDate: Sat Apr 29 19:09:44 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Sat Apr 29 19:16:34 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c479450 dev-util/include-what-you-use: fix tests 1. invoke run_iwyu_tests with "-- ${BUILD_DIR}/bin/${PN}", so that the just build iwyu is used and not the one potentially available in PATH 2. Fix include path, see https://github.com/include-what-you-use/include-what-you-use/pull/1252 3. Drop stddef from badinc.cc. This makes the test pass. I am not sure if this is correct or not, but at the moment it was either this or dropping the test entirely. Closes: https://bugs.gentoo.org/905214 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + ...cxx-badinc.cc-remove-stddef-from-expected.patch | 34 ++ .../include-what-you-use-0.19.ebuild | 21 +++-- 3 files changed, 54 insertions(+), 2 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index f5981ea17c80..70e10aaf4ba5 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ +DIST include-what-you-use-0.19-test-util-support-EXTRA_IWYU_ARGS.patch 2314 BLAKE2B d6c99aa59b52207ece610f8a8fe52ae967f3e027118c97f665b0a5d21782d85d94658ece1e0ae0e2d86cdcb94a345f072fdbda495caf589b045a8be38bf56f99 SHA512 2ecd6afc2de5ff85c8a6609b151d7d1e50a985e5c52db9b298ce21bad94a3bafb7b939fcd3b3cec0b753e83ba9ea256f628fbda16837ee6b3c3f1d2ec664d4d9 DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc diff --git a/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch b/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch new file mode 100644 index ..4d63e0c1530a --- /dev/null +++ b/dev-util/include-what-you-use/files/include-what-you-use-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch @@ -0,0 +1,34 @@ +From 0c4577fc5796b2824da5629f77bf6bf6bdcd4823 Mon Sep 17 00:00:00 2001 +From: Florian Schmaus +Date: Sat, 29 Apr 2023 20:12:00 +0200 +Subject: [PATCH] tests/cxx/badinc.cc: remove stddef from expected output + +--- a/tests/cxx/badinc.cc b/tests/cxx/badinc.cc +@@ -1415,7 +1415,6 @@ int main() { + typeof(kI1ConstInt) another_const_int = 1; + (void)(another_const_int); + // This is a C standard macro, but is implemented via a gcc extension too. +- // IWYU: offsetof is...* + // IWYU: I1_Struct is...*badinc-i1.h + (void)(offsetof(I1_Struct, c)); + // IWYU: kI1ConstInt is...*badinc-i1.h +@@ -1807,7 +1806,6 @@ int main() { + + tests/cxx/badinc.cc should add these lines: + #include +-#include + #include + #include "tests/cxx/badinc-i1.h" + class D2_Class; +@@ -1836,7 +1834,6 @@ The full include-list for tests/cxx/badinc.cc: + #include "tests/cxx/badinc-inl.h" + #include // for isascii + #include +-#include // for offsetof + #include // for find + #include // for fstream + #include // for list +-- +2.39.2 + diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild index 367e7c6d5101..eb3c6a7e4c82 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild @@ -9,7 +9,11 @@ inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI=" + https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/include-what-you-use/include-what-you-use/commit/62e5e2e35380e46ccbff2c2ed118f8bb5c01755b.patch + -> ${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch +" LICENSE="GPL-2" SLOT="0" @@ -26,6 +30,12 @@ DEPEND="${RDEPEND}" REQUIRED_USE="${PYTHON_REQUIRED_USE}" +PATCHES=( + # https://github.com/include-what-you-use/include-what-you-use/pull/1252 + "${DISTDIR}"/${PN}-0.19-test-util-support-EXTRA_IWYU_ARGS.patch + "${FILESDIR}"/${PN}-0.19-tests-cxx-badinc.cc-remove-stddef-from-expected.patch +) + llvm_check_deps() { has_version "sys-devel/clang:${LLVM_SLOT}" } @@ -54,5 +64,12 @@ src_configure() { } src_test() { - "${EPYTHON}" run_iwyu_tests.py || die + local clang_version=$(best_version sys-devel/clang:${LLVM_MAX_SLOT}) +
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 82d2d0d79ba05ca4ed58527140b565d6ed881af3 Author: Florian Schmaus gentoo org> AuthorDate: Fri Apr 28 06:07:36 2023 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 28 06:09:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82d2d0d7 dev-util/include-what-you-use: add missing 'die' in src_test Thanks to sam for reporting this. Closes: https://bugs.gentoo.org/905198 Signed-off-by: Florian Schmaus gentoo.org> Reported-by: Sam James gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.19.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild index 9a8a73dd3235..367e7c6d5101 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild @@ -54,5 +54,5 @@ src_configure() { } src_test() { - "${EPYTHON}" run_iwyu_tests.py + "${EPYTHON}" run_iwyu_tests.py || die }
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 86745ad33c2eaa3f649dca7c5906f126d1fcac35 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 20:56:35 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 20:56:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86745ad3 dev-util/include-what-you-use: Keyword 0.19 arm64, #905045 Signed-off-by: Sam James gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.19.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild index 82f9046bb921..9a8a73dd3235 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" LLVM_MAX_SLOT=15
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 15fa27e98243caba900d900912796305e3286c70 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 20 19:43:11 2022 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 24 13:13:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15fa27e9 dev-util/include-what-you-use: drop 0.17, 0.18 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-util/include-what-you-use/Manifest | 2 - .../include-what-you-use-0.17.ebuild | 57 - .../include-what-you-use-0.18.ebuild | 58 -- 3 files changed, 117 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index c450699b7280..f5981ea17c80 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1 @@ -DIST include-what-you-use-0.17.tar.gz 747385 BLAKE2B 0f584521b070eec6448d65d6dc4c4fe09110e85099d2696da82be800ee82522185f378c849559d899424a85864878d5b7b4790b900c438ef1f008262d6de6e28 SHA512 2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290 -DIST include-what-you-use-0.18.tar.gz 750341 BLAKE2B 6da65c3613abe36d09a07eb56cbc40054f9176771fea61fe9ad1b662abdb8b6d7e052f6c364d618856a5dbc54655157b2d023fa42cf7e7ddf9db8dc3e736cb67 SHA512 bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc diff --git a/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild deleted file mode 100644 index 16eb95770f77.. --- a/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} ) - -inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" - -LLVM_MAX_SLOT=13 - -RDEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT}= - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -} diff --git a/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild deleted file mode 100644 index f16ca796c0a5.. --- a/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..10} ) - -inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" - -LLVM_MAX_SLOT=14 - -RDEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT} - sys-devel/llvm:${LLVM_MAX_SLOT} - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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 -
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 720b1945bc12ce450c3d20173e677018c8e33ebb Author: Florian Schmaus gentoo org> AuthorDate: Wed Nov 30 09:38:55 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Nov 30 09:39:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=720b1945 dev-util/include-what-you-use: stabilize 0.19 for amd64 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.19.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild index 63d9b1cfea7e..e31eb7f434fc 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" LLVM_MAX_SLOT=15
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 8e59c1f138126690a6fc4d7648baa2f9e116f90e Author: Florian Schmaus gentoo org> AuthorDate: Fri Nov 4 09:09:48 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Nov 4 09:10:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e59c1f1 dev-util/include-what-you-use: add 0.19 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.19.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index abf7d9a61ac2..c450699b7280 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,3 @@ DIST include-what-you-use-0.17.tar.gz 747385 BLAKE2B 0f584521b070eec6448d65d6dc4c4fe09110e85099d2696da82be800ee82522185f378c849559d899424a85864878d5b7b4790b900c438ef1f008262d6de6e28 SHA512 2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290 DIST include-what-you-use-0.18.tar.gz 750341 BLAKE2B 6da65c3613abe36d09a07eb56cbc40054f9176771fea61fe9ad1b662abdb8b6d7e052f6c364d618856a5dbc54655157b2d023fa42cf7e7ddf9db8dc3e736cb67 SHA512 bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e +DIST include-what-you-use-0.19.tar.gz 757761 BLAKE2B 09dfe686db78973059039f878029cda8dea9912127cf7ed9ddc123abe14459e670304fd531760afbebedee8c4992d15add18b75f9b62dc2d9c4b0f4edb8e0a1d SHA512 0847ae898696b51540ab9f5715e69bae67db42409d60205227d543ba6597b12cc2ea5bf68a3315c31f22e7186e05c06a86f5ae5b893c23bfe4cd9ef6f06ccddc diff --git a/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild new file mode 100644 index ..63d9b1cfea7e --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.19.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=15 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 483620423bc329d8e824aaa3c6bec7deb8657271 Author: Florian Schmaus gentoo org> AuthorDate: Mon Jul 4 14:03:29 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Jul 4 14:03:29 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48362042 dev-util/include-what-you-use: stabilize 0.18 for amd64 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.18.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild index 2afa1f67ebcc..f16ca796c0a5 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" LLVM_MAX_SLOT=14
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 133600b48424c8d4a013bb43faa6648d73cd0733 Author: Florian Schmaus gentoo org> AuthorDate: Fri Apr 8 08:29:06 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 8 08:29:06 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133600b4 dev-util/include-what-you-use: drop 0.16 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-0.16.ebuild | 57 -- 2 files changed, 58 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 8dd48d6f4fd0..abf7d9a61ac2 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,2 @@ -DIST include-what-you-use-0.16.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 DIST include-what-you-use-0.17.tar.gz 747385 BLAKE2B 0f584521b070eec6448d65d6dc4c4fe09110e85099d2696da82be800ee82522185f378c849559d899424a85864878d5b7b4790b900c438ef1f008262d6de6e28 SHA512 2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290 DIST include-what-you-use-0.18.tar.gz 750341 BLAKE2B 6da65c3613abe36d09a07eb56cbc40054f9176771fea61fe9ad1b662abdb8b6d7e052f6c364d618856a5dbc54655157b2d023fa42cf7e7ddf9db8dc3e736cb67 SHA512 bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e diff --git a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild deleted file mode 100644 index db8bccadbbf1.. --- a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} ) - -inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~x86" - -LLVM_MAX_SLOT=12 - -RDEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT}= - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: e44df6ee74cb29270f717eca970dfa5409567b8f Author: Florian Schmaus gentoo org> AuthorDate: Fri Apr 8 08:24:17 2022 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Apr 8 08:26:14 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e44df6ee dev-util/include-what-you-use: add 0.18 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.18.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index c5487da81efb..8dd48d6f4fd0 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,3 @@ DIST include-what-you-use-0.16.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 DIST include-what-you-use-0.17.tar.gz 747385 BLAKE2B 0f584521b070eec6448d65d6dc4c4fe09110e85099d2696da82be800ee82522185f378c849559d899424a85864878d5b7b4790b900c438ef1f008262d6de6e28 SHA512 2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290 +DIST include-what-you-use-0.18.tar.gz 750341 BLAKE2B 6da65c3613abe36d09a07eb56cbc40054f9176771fea61fe9ad1b662abdb8b6d7e052f6c364d618856a5dbc54655157b2d023fa42cf7e7ddf9db8dc3e736cb67 SHA512 bfce2ff00b572961dcba83519959cbedaf1c2ec4bd4e0a2b8b6d12f440887ee64a1c9970fa1a80c7517898ce936219436ab709893cfed92891c5c2aa5d76770e diff --git a/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild new file mode 100644 index ..2afa1f67ebcc --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.18.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=14 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT} + sys-devel/llvm:${LLVM_MAX_SLOT} + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: bddb599a0dbead136079224fedc4e55096dc07ba Author: Jakov Smolić gentoo org> AuthorDate: Fri Jan 7 09:37:54 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Fri Jan 7 09:37:54 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddb599a dev-util/include-what-you-use: Stabilize 0.17 amd64, #830722 Signed-off-by: Jakov Smolić gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.17.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild index ab4c265670d8..16eb95770f77 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" LLVM_MAX_SLOT=13
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 06e036ef8f04afe4eac842b7fae63204fe68b47b Author: Florian Schmaus gentoo org> AuthorDate: Mon Dec 6 08:31:56 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Mon Dec 6 08:32:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06e036ef dev-util/include-what-you-use: add 0.17 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-0.17.ebuild | 57 ++ 2 files changed, 58 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index e569aeb6e6bd..c5487da81efb 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ DIST include-what-you-use-0.16.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 +DIST include-what-you-use-0.17.tar.gz 747385 BLAKE2B 0f584521b070eec6448d65d6dc4c4fe09110e85099d2696da82be800ee82522185f378c849559d899424a85864878d5b7b4790b900c438ef1f008262d6de6e28 SHA512 2439e3dd37163d3953fc1e45614fb4325be093a162f25d0f45fa8126b2313942a7c8d45ed12454dfbfeb4cb4fcf2f4e3eebdc0ec5da14dad23533f7a0bf58290 diff --git a/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild new file mode 100644 index ..ab4c265670d8 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-0.17.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..10} ) + +inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=13 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT}= + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 9e1db6dede601f1ad6e799e930672acb3ddeaa4a Author: Florian Schmaus gentoo org> AuthorDate: Sun Nov 21 09:38:09 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Nov 21 09:38:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e1db6de dev-util/include-what-you-use: remove unused flag-o-matic eclass Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.16.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild index c9ef8a6565d6..8790b328d005 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7..10} ) -inherit cmake flag-o-matic llvm python-single-r1 +inherit cmake llvm python-single-r1 DESCRIPTION="Find unused include directives in C/C++ programs" HOMEPAGE="https://include-what-you-use.org/;
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 75e849e45c745e84d7a73d901290281fee02fd03 Author: Florian Schmaus gentoo org> AuthorDate: Sun Nov 21 09:36:31 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Nov 21 09:38:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e849e4 dev-util/include-what-you-use: drop 0.15 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-0.15.ebuild | 57 -- 2 files changed, 58 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index b259f287159f..e569aeb6e6bd 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1 @@ -DIST include-what-you-use-0.15.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 DIST include-what-you-use-0.16.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 diff --git a/dev-util/include-what-you-use/include-what-you-use-0.15.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.15.ebuild deleted file mode 100644 index a67e1c16ad8f.. --- a/dev-util/include-what-you-use/include-what-you-use-0.15.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..10} ) - -inherit cmake 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/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -LLVM_MAX_SLOT=11 - -RDEPEND=" - sys-devel/clang:${LLVM_MAX_SLOT}= - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -llvm_check_deps() { - has_version "sys-devel/clang:${LLVM_SLOT}" -} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 08eeab686dbdf13b1f83de9f7035aa55b4c506df Author: Florian Schmaus gentoo org> AuthorDate: Sun Nov 21 09:36:02 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Sun Nov 21 09:38:28 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08eeab68 dev-util/include-what-you-use: stabilize 0.16 for amd64 Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/include-what-you-use-0.16.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild index 8790b328d005..db8bccadbbf1 100644 --- a/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 ~x86" LLVM_MAX_SLOT=12
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 69077b6b20bc6fb72f56d32510580b568e187960 Author: Florian Schmaus gentoo org> AuthorDate: Wed Aug 18 09:09:25 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Wed Aug 18 09:10:08 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69077b6b dev-util/include-what-you-use: sync verion names with upstream Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/Manifest | 4 ++-- ...t-you-use-11.0-r1.ebuild => include-what-you-use-0.15.ebuild} | 9 ++--- ...what-you-use-12.0.ebuild => include-what-you-use-0.16.ebuild} | 9 ++--- 3 files changed, 6 insertions(+), 16 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 76cb95843f4..b259f287159 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,2 @@ -DIST include-what-you-use-11.0.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 -DIST include-what-you-use-12.0.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 +DIST include-what-you-use-0.15.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 +DIST include-what-you-use-0.16.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 diff --git a/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.15.ebuild similarity index 82% rename from dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild rename to dev-util/include-what-you-use/include-what-you-use-0.15.ebuild index 6530c55be19..a67e1c16ad8 100644 --- a/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.15.ebuild @@ -3,16 +3,13 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit cmake flag-o-matic llvm python-single-r1 -# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 -UPSTREAM_PV=0.15 - DESCRIPTION="Find unused include directives in C/C++ programs" HOMEPAGE="https://include-what-you-use.org/; -SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -28,8 +25,6 @@ DEPEND="${RDEPEND}" REQUIRED_USE=${PYTHON_REQUIRED_USE} -S=${WORKDIR}/${PN}-${UPSTREAM_PV} - llvm_check_deps() { has_version "sys-devel/clang:${LLVM_SLOT}" } diff --git a/dev-util/include-what-you-use/include-what-you-use-12.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild similarity index 82% rename from dev-util/include-what-you-use/include-what-you-use-12.0.ebuild rename to dev-util/include-what-you-use/include-what-you-use-0.16.ebuild index ecd93d6af5f..c9ef8a6565d 100644 --- a/dev-util/include-what-you-use/include-what-you-use-12.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-0.16.ebuild @@ -3,16 +3,13 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9,10} ) +PYTHON_COMPAT=( python3_{7..10} ) inherit cmake flag-o-matic llvm python-single-r1 -# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 -UPSTREAM_PV=0.16 - DESCRIPTION="Find unused include directives in C/C++ programs" HOMEPAGE="https://include-what-you-use.org/; -SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" @@ -28,8 +25,6 @@ DEPEND="${RDEPEND}" REQUIRED_USE=${PYTHON_REQUIRED_USE} -S=${WORKDIR}/${PN}-${UPSTREAM_PV} - llvm_check_deps() { has_version "sys-devel/clang:${LLVM_SLOT}" }
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 18d3af05619f2a68ab6d25b042e391b209e54a8d Author: Florian Schmaus gentoo org> AuthorDate: Fri Jul 30 11:35:18 2021 + Commit: Florian Schmaus gentoo org> CommitDate: Fri Jul 30 11:35:32 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d3af05 dev-util/include-what-you-use: add myself as a maintainer Signed-off-by: Florian Schmaus gentoo.org> dev-util/include-what-you-use/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/metadata.xml b/dev-util/include-what-you-use/metadata.xml index fd40528efff..5fb0fc39368 100644 --- a/dev-util/include-what-you-use/metadata.xml +++ b/dev-util/include-what-you-use/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + + f...@gentoo.org + Florian Schmaus + include-what-you-use/include-what-you-use
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: d4e2a381cf2ee81e42bada60f0f01e7229e6a5e8 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Jul 2 07:13:43 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jul 2 07:17:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4e2a381 dev-util/include-what-you-use: drop myself from maintainers, m-n now Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dev-util/include-what-you-use/metadata.xml b/dev-util/include-what-you-use/metadata.xml index 06df0e17b2d..fd40528efff 100644 --- a/dev-util/include-what-you-use/metadata.xml +++ b/dev-util/include-what-you-use/metadata.xml @@ -1,10 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - sly...@gentoo.org - Sergei Trofimovich - + include-what-you-use/include-what-you-use
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 8ba1f92adf19943d5ef646291e98c338a360c459 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue May 25 21:10:21 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue May 25 21:10:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba1f92a dev-util/include-what-you-use: bump up to 12.0 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-12.0.ebuild | 62 ++ 2 files changed, 63 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 03e0eed1375..76cb95843f4 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ DIST include-what-you-use-11.0.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 +DIST include-what-you-use-12.0.tar.gz 742573 BLAKE2B b8cd90db490d13f140126df8955d0968a9248480da09ca29b82fe1178c779ca75e6f29239bc6fb1556200c7d7c498f2340839e8500455ecaed9e6199fd3d55f7 SHA512 2923e18c40ddc5c03458b896d991adde03d489c6645ecc3cc4f69a508e323534afdef3233943e99533ffc21c64a10a8a5c635dc4797a61edf09d0a7a918a3cd5 diff --git a/dev-util/include-what-you-use/include-what-you-use-12.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-12.0.ebuild new file mode 100644 index 000..ecd93d6af5f --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-12.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7,8,9,10} ) + +inherit cmake flag-o-matic llvm python-single-r1 + +# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 +UPSTREAM_PV=0.16 + +DESCRIPTION="Find unused include directives in C/C++ programs" +HOMEPAGE="https://include-what-you-use.org/; +SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=12 + +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT}= + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${PN}-${UPSTREAM_PV} + +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 2808a84da84e9c0544637a146d33fd95b322533d Author: Sergei Trofimovich gentoo org> AuthorDate: Sat May 15 13:42:05 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat May 15 13:58:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2808a84d dev-util/include-what-you-use: allow python-3.10 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild index dc5b3760f2c..6530c55be19 100644 --- a/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} ) +PYTHON_COMPAT=( python3_{7,8,9,10} ) inherit cmake flag-o-matic llvm python-single-r1
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 517d1e5f010273189e162e4bd64da8c2a58f7c72 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Feb 25 07:48:44 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Feb 25 07:48:57 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=517d1e5f dev-util/include-what-you-use: use clang:= depend include-what-you-use links to clang and llvm libraries. Needs a rebuild when SONAME changes. Reported-by: Daniel M. Weeks Closes: https://bugs.gentoo.org/771792 Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> ...you-use-11.0.ebuild => include-what-you-use-11.0-r1.ebuild} | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-11.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild similarity index 88% rename from dev-util/include-what-you-use/include-what-you-use-11.0.ebuild rename to dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild index 19caadf0f6c..dc5b3760f2c 100644 --- a/dev-util/include-what-you-use/include-what-you-use-11.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-11.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,8 +20,8 @@ KEYWORDS="~amd64 ~x86" LLVM_MAX_SLOT=11 -RDEPEND="sys-devel/llvm:${LLVM_MAX_SLOT} - sys-devel/clang:${LLVM_MAX_SLOT} +RDEPEND=" + sys-devel/clang:${LLVM_MAX_SLOT}= ${PYTHON_DEPS} " DEPEND="${RDEPEND}" @@ -30,6 +30,10 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE} S=${WORKDIR}/${PN}-${UPSTREAM_PV} +llvm_check_deps() { + has_version "sys-devel/clang:${LLVM_SLOT}" +} + pkg_setup() { llvm_pkg_setup python-single-r1_pkg_setup
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 925f57056b647901115fdaac1a081871d325b289 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Nov 26 08:36:25 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Nov 26 08:38:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925f5705 dev-util/include-what-you-use: drop old Package-Manager: Portage-3.0.10, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-10.0.ebuild | 58 -- 2 files changed, 59 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 706b4c0b429..03e0eed1375 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1 @@ -DIST include-what-you-use-10.0.tar.gz 598644 BLAKE2B 36c81bd493edfdfdc4df31c2dcb49d5acd3f6016f706e0c9d2f031d668ca16d71797d40b04fc9dc25a21738f7075320406fd666db74a0baa3832c149fe674e0e SHA512 e54a7c7e3a6d3e0de7c263d1f26b373d95b8fab5f1f7e76f52d80341bda2bad0fb12238a325dc1e2f6d3ab5e6d8e0b4ed60b5a19dc82e06d480bcb461f9aefba DIST include-what-you-use-11.0.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 diff --git a/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild deleted file mode 100644 index b36d998aca9..000 --- a/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8,9} ) - -inherit cmake flag-o-matic llvm python-single-r1 - -# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 -UPSTREAM_PV=0.14 - -DESCRIPTION="Find unused include directives in C/C++ programs" -HOMEPAGE="https://include-what-you-use.org/; -SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -LLVM_MAX_SLOT=10 - -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}-${UPSTREAM_PV} - -pkg_setup() { - llvm_pkg_setup - python-single-r1_pkg_setup -} - -src_prepare() { - cmake_src_prepare - python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - # 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_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: fdcfeb14a0acad5d73da3da738db07cf217f7068 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Nov 22 16:30:50 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Nov 22 16:37:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdcfeb14 dev-util/include-what-you-use: bump up to 0.15 clang-11 compatible release. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-11.0.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 8199d96737b..706b4c0b429 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ DIST include-what-you-use-10.0.tar.gz 598644 BLAKE2B 36c81bd493edfdfdc4df31c2dcb49d5acd3f6016f706e0c9d2f031d668ca16d71797d40b04fc9dc25a21738f7075320406fd666db74a0baa3832c149fe674e0e SHA512 e54a7c7e3a6d3e0de7c263d1f26b373d95b8fab5f1f7e76f52d80341bda2bad0fb12238a325dc1e2f6d3ab5e6d8e0b4ed60b5a19dc82e06d480bcb461f9aefba +DIST include-what-you-use-11.0.tar.gz 603435 BLAKE2B 7bfa37349cc4bf5d07033c28d9d3851f0ce2093f1703a0392ac633ab2761dfdfb7cd923099177747e3389d2d41330351242c6f936399acf73119c201d8776978 SHA512 db15efa9b92015322e9a188be6cf16a5c6fd71271c94fde45245676f2a8f6ffe4c7837e3b0bb5f9be6cbe78aab245129816a3b046c44c261a2b7ab5c3a9ea7b9 diff --git a/dev-util/include-what-you-use/include-what-you-use-11.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-11.0.ebuild new file mode 100644 index 000..662b79bec3f --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-11.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8,9} ) + +inherit cmake flag-o-matic llvm python-single-r1 + +# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 +UPSTREAM_PV=0.15 + +DESCRIPTION="Find unused include directives in C/C++ programs" +HOMEPAGE="https://include-what-you-use.org/; +SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=11 + +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}-${UPSTREAM_PV} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 8ae9c9ff07d4d0edc3a7522cd5afa0909dd5549e Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Nov 10 23:40:15 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Nov 10 23:48:58 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae9c9ff dev-util/include-what-you-use: allow python-3.9, switch to cmake Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/include-what-you-use-10.0.ebuild | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild index da2675ad0e2..b36d998aca9 100644 --- a/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild @@ -3,11 +3,11 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_COMPAT=( python3_{6,7,8,9} ) -inherit cmake-utils flag-o-matic llvm python-single-r1 +inherit cmake flag-o-matic llvm python-single-r1 -# Sometimes the tag is clang_9, timetimes it's IWYU-0.13 +# Sometimes the tag is clang_9, sometimes it's IWYU-0.13 UPSTREAM_PV=0.14 DESCRIPTION="Find unused include directives in C/C++ programs" @@ -36,7 +36,7 @@ pkg_setup() { } src_prepare() { - cmake-utils_src_prepare + cmake_src_prepare python_fix_shebang . } @@ -50,7 +50,7 @@ src_configure() { # as llvm/clang itself. -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" ) - cmake-utils_src_configure + cmake_src_configure } src_test() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 11059f04d49b8247a48ff6732c58f9ad181adfc2 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jun 20 19:44:54 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jun 20 19:49:06 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11059f04 dev-util/include-what-you-use: drop old Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-9.0.ebuild| 55 -- 2 files changed, 56 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 8c52fd8cf1c..8199d96737b 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1 @@ DIST include-what-you-use-10.0.tar.gz 598644 BLAKE2B 36c81bd493edfdfdc4df31c2dcb49d5acd3f6016f706e0c9d2f031d668ca16d71797d40b04fc9dc25a21738f7075320406fd666db74a0baa3832c149fe674e0e SHA512 e54a7c7e3a6d3e0de7c263d1f26b373d95b8fab5f1f7e76f52d80341bda2bad0fb12238a325dc1e2f6d3ab5e6d8e0b4ed60b5a19dc82e06d480bcb461f9aefba -DIST include-what-you-use-9.0.src.tar.gz 589377 BLAKE2B b695354787070948d81e3e80b07bbe47a84b5609262df2220b6a62e6d648865b17e060951819f45956c6ca858977614d6e0401640509599b391a1165521b20de SHA512 f2d6ba05121a9968da9e42e8ac66f83ca0f35bfbe7cb1d616e2c6479cf2833c4668cb86e46a04ffcd5e77f10a575da95272c7609b5afad555d79cb640fb4 diff --git a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild deleted file mode 100644 index 43be4f41050..000 --- a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) - -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=9 - -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=( - # 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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: e24a14097a87b18124fd1a9bca987ede81e3119f Author: Sergei Trofimovich gentoo org> AuthorDate: Sun May 24 23:30:41 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun May 24 23:30:48 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e24a1409 dev-util/include-what-you-use: bump up to 10.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-10.0.ebuild | 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 380480c41d9..8c52fd8cf1c 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ +DIST include-what-you-use-10.0.tar.gz 598644 BLAKE2B 36c81bd493edfdfdc4df31c2dcb49d5acd3f6016f706e0c9d2f031d668ca16d71797d40b04fc9dc25a21738f7075320406fd666db74a0baa3832c149fe674e0e SHA512 e54a7c7e3a6d3e0de7c263d1f26b373d95b8fab5f1f7e76f52d80341bda2bad0fb12238a325dc1e2f6d3ab5e6d8e0b4ed60b5a19dc82e06d480bcb461f9aefba DIST include-what-you-use-9.0.src.tar.gz 589377 BLAKE2B b695354787070948d81e3e80b07bbe47a84b5609262df2220b6a62e6d648865b17e060951819f45956c6ca858977614d6e0401640509599b391a1165521b20de SHA512 f2d6ba05121a9968da9e42e8ac66f83ca0f35bfbe7cb1d616e2c6479cf2833c4668cb86e46a04ffcd5e77f10a575da95272c7609b5afad555d79cb640fb4 diff --git a/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild new file mode 100644 index 000..da2675ad0e2 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-10.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit cmake-utils flag-o-matic llvm python-single-r1 + +# Sometimes the tag is clang_9, timetimes it's IWYU-0.13 +UPSTREAM_PV=0.14 + +DESCRIPTION="Find unused include directives in C/C++ programs" +HOMEPAGE="https://include-what-you-use.org/; +SRC_URI="https://github.com/${PN}/${PN}/archive/${UPSTREAM_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +LLVM_MAX_SLOT=10 + +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}-${UPSTREAM_PV} + +pkg_setup() { + llvm_pkg_setup + python-single-r1_pkg_setup +} + +src_prepare() { + cmake-utils_src_prepare + python_fix_shebang . +} + +src_configure() { + local mycmakeargs=( + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 01613c5793be8686b93c6af877a1545ab5c5c321 Author: Jason A. Donenfeld gentoo org> AuthorDate: Thu May 7 09:33:49 2020 + Commit: Jason A. Donenfeld gentoo org> CommitDate: Thu May 7 09:36:00 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01613c57 dev-util/include-what-you-use: support newer python No real changes needed; works out of the box. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Jason A. Donenfeld gentoo.org> dev-util/include-what-you-use/include-what-you-use-9.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild index 50d5e25f13e..43be4f41050 100644 --- a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit cmake-utils flag-o-matic llvm python-single-r1
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 83f1bfc8f1fb22571203abc238877ab10189aae4 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Apr 1 20:50:35 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Apr 1 21:14:08 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83f1bfc8 dev-util/include-what-you-use: drop old Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 2 - .../include-what-you-use-7.0.ebuild| 55 -- .../include-what-you-use-8.0.ebuild| 55 -- 3 files changed, 112 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 18d3e0bc4e7..380480c41d9 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1 @@ -DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a -DIST include-what-you-use-8.0.src.tar.gz 545788 BLAKE2B 7b70d951b7ab2d62a8a6168ebf86dc76fd406159155dd93a509b8c39953506166ac18da3028be8dc7edfbb39eb96613b0e344067154dd8614fe7c63ad3ef04c6 SHA512 e75e91ce198b1ec446ed34afcf9fdbcb0534c5edc5346e4884f0f589c73512d778c428aa71c1b109d45a45543a952438610ab21e32ef1f03ff1a014823ed8425 DIST include-what-you-use-9.0.src.tar.gz 589377 BLAKE2B b695354787070948d81e3e80b07bbe47a84b5609262df2220b6a62e6d648865b17e060951819f45956c6ca858977614d6e0401640509599b391a1165521b20de SHA512 f2d6ba05121a9968da9e42e8ac66f83ca0f35bfbe7cb1d616e2c6479cf2833c4668cb86e46a04ffcd5e77f10a575da95272c7609b5afad555d79cb640fb4 diff --git a/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild deleted file mode 100644 index a63ca135ef2..000 --- a/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_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=7 - -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=( - # 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 -} diff --git a/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild deleted file mode 100644 index 8c945d51878..000 --- a/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_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=8 - -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=( - # Note [llvm install path] - # Unfortunately all binaries using clang driver - # have to reside at the same path depth as - # 'clang'
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 4c39d9d4318a0033e947a085e029169c0c541c66 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 10 11:41:16 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 10 11:54:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c39d9d4 dev-util/include-what-you-use: Remove py2 Signed-off-by: Michał Górny gentoo.org> dev-util/include-what-you-use/include-what-you-use-7.0.ebuild | 2 +- dev-util/include-what-you-use/include-what-you-use-8.0.ebuild | 2 +- dev-util/include-what-you-use/include-what-you-use-9.0.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild index 4f32b5dd25c..a63ca135ef2 100644 --- a/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit cmake-utils flag-o-matic llvm python-single-r1 diff --git a/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild index 6e0b616cc30..8c945d51878 100644 --- a/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit cmake-utils flag-o-matic llvm python-single-r1 diff --git a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild index 8ef816c7fce..50d5e25f13e 100644 --- a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python2_7 python3_6 ) +PYTHON_COMPAT=( python3_6 ) inherit cmake-utils flag-o-matic llvm python-single-r1
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: e879b815859283782b3502211a3a29792ce1fa57 Author: Michał Górny gentoo org> AuthorDate: Sun Dec 8 09:30:26 2019 + Commit: Michał Górny gentoo org> CommitDate: Mon Dec 9 19:20:17 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e879b815 dev-util/include-what-you-use: Remove old (for llvm:6) Signed-off-by: Michał Górny gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-6.0.ebuild| 58 -- 2 files changed, 59 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 21fd7312d22..18d3e0bc4e7 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,4 +1,3 @@ -DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a DIST include-what-you-use-8.0.src.tar.gz 545788 BLAKE2B 7b70d951b7ab2d62a8a6168ebf86dc76fd406159155dd93a509b8c39953506166ac18da3028be8dc7edfbb39eb96613b0e344067154dd8614fe7c63ad3ef04c6 SHA512 e75e91ce198b1ec446ed34afcf9fdbcb0534c5edc5346e4884f0f589c73512d778c428aa71c1b109d45a45543a952438610ab21e32ef1f03ff1a014823ed8425 DIST include-what-you-use-9.0.src.tar.gz 589377 BLAKE2B b695354787070948d81e3e80b07bbe47a84b5609262df2220b6a62e6d648865b17e060951819f45956c6ca858977614d6e0401640509599b391a1165521b20de SHA512 f2d6ba05121a9968da9e42e8ac66f83ca0f35bfbe7cb1d616e2c6479cf2833c4668cb86e46a04ffcd5e77f10a575da95272c7609b5afad555d79cb640fb4 diff --git a/dev-util/include-what-you-use/include-what-you-use-6.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-6.0.ebuild deleted file mode 100644 index 9872f898908..000 --- a/dev-util/include-what-you-use/include-what-you-use-6.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{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=6 - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 0e59b06032035c32fa7cfb53d60a45b720490dd4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Oct 26 12:25:24 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Oct 26 12:26:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e59b060 dev-util/include-what-you-use: bump up to 9.0 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-9.0.ebuild| 55 ++ 2 files changed, 56 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index d564cfd0573..21fd7312d22 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,4 @@ DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a DIST include-what-you-use-8.0.src.tar.gz 545788 BLAKE2B 7b70d951b7ab2d62a8a6168ebf86dc76fd406159155dd93a509b8c39953506166ac18da3028be8dc7edfbb39eb96613b0e344067154dd8614fe7c63ad3ef04c6 SHA512 e75e91ce198b1ec446ed34afcf9fdbcb0534c5edc5346e4884f0f589c73512d778c428aa71c1b109d45a45543a952438610ab21e32ef1f03ff1a014823ed8425 +DIST include-what-you-use-9.0.src.tar.gz 589377 BLAKE2B b695354787070948d81e3e80b07bbe47a84b5609262df2220b6a62e6d648865b17e060951819f45956c6ca858977614d6e0401640509599b391a1165521b20de SHA512 f2d6ba05121a9968da9e42e8ac66f83ca0f35bfbe7cb1d616e2c6479cf2833c4668cb86e46a04ffcd5e77f10a575da95272c7609b5afad555d79cb640fb4 diff --git a/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild new file mode 100644 index 000..2b95d903555 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-9.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{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=9 + +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=( + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 2f7762d7f7ca91b4d570731f4e37fd01ffe94507 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 2 07:25:33 2019 + Commit: Michał Górny gentoo org> CommitDate: Mon Sep 9 19:02:22 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f7762d7 dev-util/include-what-you-use: Remove 5.0 Signed-off-by: Michał Górny gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-5.0.ebuild| 58 -- 2 files changed, 59 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 93f2803b9c0..d564cfd0573 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,4 +1,3 @@ -DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a DIST include-what-you-use-8.0.src.tar.gz 545788 BLAKE2B 7b70d951b7ab2d62a8a6168ebf86dc76fd406159155dd93a509b8c39953506166ac18da3028be8dc7edfbb39eb96613b0e344067154dd8614fe7c63ad3ef04c6 SHA512 e75e91ce198b1ec446ed34afcf9fdbcb0534c5edc5346e4884f0f589c73512d778c428aa71c1b109d45a45543a952438610ab21e32ef1f03ff1a014823ed8425 diff --git a/dev-util/include-what-you-use/include-what-you-use-5.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-5.0.ebuild deleted file mode 100644 index 9a0851f6568..000 --- a/dev-util/include-what-you-use/include-what-you-use-5.0.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{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=5 - -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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 73aa5c2255c0c28994eb3f7a7e5491eac6eb91b6 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 2 06:53:32 2019 + Commit: Michał Górny gentoo org> CommitDate: Sun Jun 2 07:19:02 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73aa5c22 dev-util/include-what-you-use: Remove 4.0 Signed-off-by: Michał Górny gentoo.org> dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-4.0-r2.ebuild | 58 -- 2 files changed, 59 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 223f43a4405..93f2803b9c0 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,4 +1,3 @@ -DIST include-what-you-use-4.0.src.tar.gz 437340 BLAKE2B 744f7893169a637636107e23cae356db7f12aa01fefd39626600b3fa3dbd77688503e7332a2dbc673339145692625fd8fa3f10e0d405a77e2d5586e6bfeb0378 SHA512 c96b78ec8f8289bfd7830acaf533aea0077bb36311d3b8bb7f31464c1b3a5b3f353b24e81ffc581811b4083d3b5959e4e947e3a3d16cb7c77de00b05b9972a90 DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a 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 deleted file mode 100644 index f36a4f63c3e..000 --- a/dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 python3_{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 -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 28ecdeb42c2eb1913b911dba62f72bc75dfa4cc9 Author: Sergei Trofimovich gentoo org> AuthorDate: Fri Apr 26 15:32:06 2019 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Apr 26 15:32:06 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28ecdeb4 dev-util/include-what-you-use: bump up to 8.0 This release is compatible with llvm-8 \o/ Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-8.0.ebuild| 55 ++ 2 files changed, 56 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 109f68dafce..223f43a4405 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -2,3 +2,4 @@ DIST include-what-you-use-4.0.src.tar.gz 437340 BLAKE2B 744f7893169a637636107e23 DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a +DIST include-what-you-use-8.0.src.tar.gz 545788 BLAKE2B 7b70d951b7ab2d62a8a6168ebf86dc76fd406159155dd93a509b8c39953506166ac18da3028be8dc7edfbb39eb96613b0e344067154dd8614fe7c63ad3ef04c6 SHA512 e75e91ce198b1ec446ed34afcf9fdbcb0534c5edc5346e4884f0f589c73512d778c428aa71c1b109d45a45543a952438610ab21e32ef1f03ff1a014823ed8425 diff --git a/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild new file mode 100644 index 000..b976a734afb --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-8.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{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=8 + +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=( + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 42bd04eecd2904866aa45567601ae0ade3d744dc Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Dec 8 16:37:57 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Dec 8 16:45:25 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42bd04ee dev-util/include-what-you-use: bump up to 7.0 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich gentoo.org> dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-7.0.ebuild| 55 ++ 2 files changed, 56 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 44c429cc6c9..109f68dafce 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,4 @@ DIST include-what-you-use-4.0.src.tar.gz 437340 BLAKE2B 744f7893169a637636107e23cae356db7f12aa01fefd39626600b3fa3dbd77688503e7332a2dbc673339145692625fd8fa3f10e0d405a77e2d5586e6bfeb0378 SHA512 c96b78ec8f8289bfd7830acaf533aea0077bb36311d3b8bb7f31464c1b3a5b3f353b24e81ffc581811b4083d3b5959e4e947e3a3d16cb7c77de00b05b9972a90 DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 +DIST include-what-you-use-7.0.src.tar.gz 541840 BLAKE2B bf20a5598f02f03e5f714582653b8062eab6e414967ef2374c28bb6c1cdce8f73f80e3b2f4953fd943587ce17dc657cf6ab2a9db4208a59030d432f6a40532e5 SHA512 50d186b2e09c3595cc2dc7513e5db74da0038987158c2c45ef4279c67c50de621ca6499b07894ee203f25566aafaddde4b05840946f921678499d2efc131575a diff --git a/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild new file mode 100644 index 000..0defc992f95 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-7.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Authors +# 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=7 + +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=( + # 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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: b36c9fccf0d17204c30aa1fae581c0e60d782c87 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Apr 25 19:06:03 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Apr 25 19:06:47 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b36c9fcc dev-util/include-what-you-use: bump up to 6.0 Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-6.0.ebuild| 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 57b3c2e2b19..44c429cc6c9 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,3 @@ DIST include-what-you-use-4.0.src.tar.gz 437340 BLAKE2B 744f7893169a637636107e23cae356db7f12aa01fefd39626600b3fa3dbd77688503e7332a2dbc673339145692625fd8fa3f10e0d405a77e2d5586e6bfeb0378 SHA512 c96b78ec8f8289bfd7830acaf533aea0077bb36311d3b8bb7f31464c1b3a5b3f353b24e81ffc581811b4083d3b5959e4e947e3a3d16cb7c77de00b05b9972a90 DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 +DIST include-what-you-use-6.0.src.tar.gz 440406 BLAKE2B 485a61dd4f72c158ad9c798c8121d7af9134d79b94c9c30c14674a62007e9fc05acc7e2341cc3282288611beb9138768bf11cd2d73efed372adab83e90b268db SHA512 2bf2593dba252d870074125f976a237e901e969323969f2c8fb030e8376bb230f1d5c2baecc8cd8fad7099e83589c7666c44cd178d2094f6e883cace1e53ad90 diff --git a/dev-util/include-what-you-use/include-what-you-use-6.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-6.0.ebuild new file mode 100644 index 000..7cfe58259cc --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-6.0.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=6 + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 59b02c2f5a0ad329906ecdda9bb851e7af630e84 Author: Sergei Trofimovich gentoo org> AuthorDate: Thu Apr 5 23:08:49 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Thu Apr 5 23:08:49 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59b02c2f dev-util/include-what-you-use: drop old Package-Manager: Portage-2.3.28, Repoman-2.3.9 dev-util/include-what-you-use/Manifest | 1 - .../include-what-you-use-3.9.ebuild| 45 -- .../include-what-you-use-4.0.ebuild| 43 - 3 files changed, 89 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index dac209261ee..57b3c2e2b19 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,2 @@ -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 DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 diff --git a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild deleted file mode 100644 index a5e130971df..000 --- a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild +++ /dev/null @@ -1,45 +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} ) - -inherit cmake-utils flag-o-matic python-single-r1 - -WEIRD_UPSTREAM_VERSION=0.7 - -DESCRIPTION="Find unused include directives in C/C++ programs" -HOMEPAGE="https://include-what-you-use.org/; -SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="=sys-devel/llvm-${PV}* - =sys-devel/clang-${PV}* - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/llvm/tools/clang/tools/${PN} - -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) - ) - 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.ebuild b/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild deleted file mode 100644 index c6aa5cf5d32..000 --- a/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild +++ /dev/null @@ -1,43 +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 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-${PV}* - =sys-devel/clang-${PV}* - ${PYTHON_DEPS} -" -DEPEND="${RDEPEND}" - -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/${PN}-clang_${PV} - -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) - ) - cmake-utils_src_configure -} - -src_test() { - "${EPYTHON}" run_iwyu_tests.py -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 2ca31b638270ad3fea020c6174baf267bb80c1d1 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Feb 14 22:34:52 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Feb 14 22:35:03 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca31b63 dev-util/include-what-you-use: bump up to 5.0, bug #647648 Reported-by: Daniel M. Weeks Closes: https://bugs.gentoo.org/647648 Package-Manager: Portage-2.3.24, Repoman-2.3.6 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-5.0.ebuild| 58 ++ 2 files changed, 59 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index fc718194e55..dac209261ee 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,2 +1,3 @@ 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 +DIST include-what-you-use-5.0.src.tar.gz 439081 BLAKE2B 85246aa5333a073bb195b873d7bfe084a56c343cece92322706717ce699bcd75b737203858277202791ec0eb91f560b06a371e902cb175cdb2858562a4830e74 SHA512 9d4a9717a3a3f6752f8bdd1392b6d7a5e8b8dc277ef46a50f24185a089360380e1da92a61fd150598843f5c24cff03e74bc674e57579960d977acde755e34c52 diff --git a/dev-util/include-what-you-use/include-what-you-use-5.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-5.0.ebuild new file mode 100644 index 000..92dc8c8d191 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-5.0.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=5 + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 2cf547b0488752f4de600b0e9a82a70aa5584bf6 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Jan 16 22:35:34 2018 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jan 16 22:50:39 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cf547b0 dev-util/include-what-you-use: set LLVM_MAX_SLOT=4 to use correct directory Noticed by Michał Górny Package-Manager: Portage-2.3.19, Repoman-2.3.6 ...ou-use-4.0-r1.ebuild => include-what-you-use-4.0-r2.ebuild} | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) 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-r2.ebuild similarity index 85% rename from dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild rename to dev-util/include-what-you-use/include-what-you-use-4.0-r2.ebuild index 5b23f35f1cb..f278652a524 100644 --- 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-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,8 +15,10 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND="sys-devel/llvm:4 - sys-devel/clang:4 +LLVM_MAX_SLOT=4 + +RDEPEND="sys-devel/llvm:${LLVM_MAX_SLOT} + sys-devel/clang:${LLVM_MAX_SLOT} ${PYTHON_DEPS} " DEPEND="${RDEPEND}" @@ -46,7 +48,7 @@ src_configure() { # '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)" + -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix "${LLVM_MAX_SLOT}")" ) cmake-utils_src_configure }
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 586afe94b071c8f5086bd39f79b4768fefb451ad Author: David Seifert gentoo org> AuthorDate: Sun Oct 15 23:36:10 2017 + Commit: David Seifert gentoo org> CommitDate: Mon Oct 16 00:06:52 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=586afe94 dev-util/include-what-you-use: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 dev-util/include-what-you-use/include-what-you-use-3.9.ebuild| 2 +- dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild | 2 +- dev-util/include-what-you-use/include-what-you-use-4.0.ebuild| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild index d70ae3b9f7e..a5e130971df 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild @@ -28,8 +28,8 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE} S=${WORKDIR}/llvm/tools/clang/tools/${PN} src_prepare() { + cmake-utils_src_prepare python_fix_shebang . - default } src_configure() { 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 index 4876be74098..5b23f35f1cb 100644 --- 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 @@ -31,8 +31,8 @@ pkg_setup() { } src_prepare() { + cmake-utils_src_prepare python_fix_shebang . - default } src_configure() { diff --git a/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild index cb7b16cd717..c6aa5cf5d32 100644 --- a/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild @@ -26,8 +26,8 @@ REQUIRED_USE=${PYTHON_REQUIRED_USE} S=${WORKDIR}/${PN}-clang_${PV} src_prepare() { + cmake-utils_src_prepare python_fix_shebang . - default } src_configure() {
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: c3759ec007c6cda0a7c1100247d455f33a2a1314 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Jul 29 17:34:08 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Jul 29 17:34:41 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3759ec0 dev-util/include-what-you-use: worjaround lookup failure, bug #625972 libclangDriver treats path to include files as stable relative to clang binary: when we run /usr/lib64/llvm/4/bin/clang it resolves the following way: "/usr/lib64/llvm/4/bin/" + "../../../../lib/clang/4.0.1/include/stddef.h" Unfortunately when someone reuses clang driver to build a new tool heared lookup breaks if final tool resides in "/usr/bin": "/usr/bin/" + "../../../../lib/clang/4.0.1/include/stddef.h" causing file open failures in case of include-what-you-use: /usr/include/wchar.h:39:11: fatal error: 'stdarg.h' file not found # include ^~ The workaround is to install executable to the same directory as clang itself. Reported-by: Michał Bartoszkiewicz Bug: https://bugs.gentoo.org/625972 Package-Manager: Portage-2.3.6, Repoman-2.3.3 .../include-what-you-use-4.0-r1.ebuild | 56 ++ 1 file changed, 56 insertions(+) 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 new file mode 100644 index 000..4876be74098 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-4.0-r1.ebuild @@ -0,0 +1,56 @@ +# 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() { + python_fix_shebang . + default +} + +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 +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 78579a637842b8fbca0df36d32a83183f53fea28 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jul 19 08:27:24 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 19 08:27:38 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78579a63 dev-util/include-what-you-use: bump up to 4.0, clang-4 compatible, bug #625528 Upstream did not yet publish the release on it's site. We might need to update the ebuild if release re-cut happens. Reported-by: Daniel M. Weeks Bug: https://bugs.gentoo.org/625528 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-4.0.ebuild| 43 ++ 2 files changed, 44 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 23c05a1d0b8..78604e47b64 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1 +1,2 @@ DIST include-what-you-use-3.9.src.tar.gz 446773 SHA256 bbea3ddbd2e0990f4edd92a994a94ca24e2ee0edba6bd5612f62e872554d777a SHA512 dd7990fa4112ddb0434807efd9dcf0f77bbecaa61eab51be24428f8e45b9321c7647a979278f3f1266ba9be05c6f1de536fc084613d38638b795248001ce4b44 WHIRLPOOL 67b4acabb887cb80c290817ab848a115b2559bcc5187f05e320ea4bdef6e9915766d824069ce1f060058ba3597b85223419fb4d932ebb536d25ef0a6de64aee2 +DIST include-what-you-use-4.0.src.tar.gz 437340 SHA256 8f6d4a279afcbbfa7247a97a03d9abc1d6834954eec7ba733519401392b328c6 SHA512 c96b78ec8f8289bfd7830acaf533aea0077bb36311d3b8bb7f31464c1b3a5b3f353b24e81ffc581811b4083d3b5959e4e947e3a3d16cb7c77de00b05b9972a90 WHIRLPOOL 63fc4df0ca3be81a8856aec22bffe3dbdebde060a91c85b38ad2e1202d8e20291d006c1739851434cc5c98dc6b3b66b9287623a8576976c741dfd6c08f5677c6 diff --git a/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild b/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild new file mode 100644 index 000..cb7b16cd717 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-4.0.ebuild @@ -0,0 +1,43 @@ +# 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 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-${PV}* + =sys-devel/clang-${PV}* + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/${PN}-clang_${PV} + +src_prepare() { + python_fix_shebang . + default +} + +src_configure() { + local mycmakeargs=( + -DIWYU_LLVM_INCLUDE_PATH=$(llvm-config --includedir) + -DIWYU_LLVM_LIB_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 35f5eacf470fa90459b88c4ccfd1ead398ea7422 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue Jul 4 21:37:57 2017 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue Jul 4 21:56:10 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f5eacf dev-util/include-what-you-use: switch HOMEPAGE to https:// Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-util/include-what-you-use/include-what-you-use-3.9.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild index c4dcc6b85fc..d70ae3b9f7e 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -10,7 +10,7 @@ inherit cmake-utils flag-o-matic python-single-r1 WEIRD_UPSTREAM_VERSION=0.7 DESCRIPTION="Find unused include directives in C/C++ programs" -HOMEPAGE="http://include-what-you-use.org/; +HOMEPAGE="https://include-what-you-use.org/; SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" LICENSE="GPL-2"
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 657a3359480beb7de63bc0aab9430f8444addc3e Author: Michał Górny gentoo org> AuthorDate: Wed May 24 11:21:47 2017 + Commit: Michał Górny gentoo org> CommitDate: Sat Jun 3 08:27:27 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=657a3359 dev-util/include-what-you-use: Clean old up Remove versions requiring LLVM older than the current stable (3.9). dev-util/include-what-you-use/Manifest | 4 --- .../include-what-you-use-3.5.ebuild| 32 .../include-what-you-use-3.6.ebuild| 34 -- .../include-what-you-use-3.7-r1.ebuild | 31 .../include-what-you-use-3.8.ebuild| 31 5 files changed, 132 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 4bf20b0f832..23c05a1d0b8 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,5 +1 @@ -DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1 -DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58 -DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336 -DIST include-what-you-use-3.8.src.tar.gz 434980 SHA256 ab2faddc5c80faaa52462abd2e90fad6c9cab6277ae588c6a019f8b5dc257f58 SHA512 9dcc37666819084a0e084513c62599b8ffb6f9eb8a9de759d4b1e2813ae759f2aed2e2233fdc6428dc676668102b738fe7bd990561293626d9aa427849ccec35 WHIRLPOOL 4e7176977a9db0d824ccaa7dfc82f592bfa1b3225d7f270d6f20271bc9a9953cd9fade3322bbf7e44fc1e846c0a48fe901025de866828c101e6938ab9ac27bde DIST include-what-you-use-3.9.src.tar.gz 446773 SHA256 bbea3ddbd2e0990f4edd92a994a94ca24e2ee0edba6bd5612f62e872554d777a SHA512 dd7990fa4112ddb0434807efd9dcf0f77bbecaa61eab51be24428f8e45b9321c7647a979278f3f1266ba9be05c6f1de536fc084613d38638b795248001ce4b44 WHIRLPOOL 67b4acabb887cb80c290817ab848a115b2559bcc5187f05e320ea4bdef6e9915766d824069ce1f060058ba3597b85223419fb4d932ebb536d25ef0a6de64aee2 diff --git a/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild deleted file mode 100644 index 5ae300882cc..000 --- a/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils cmake-utils flag-o-matic - -DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; -SRC_URI="http://include-what-you-use.com/downloads/include-what-you-use-3.5.src.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="=sys-devel/llvm-3.5* - =sys-devel/clang-3.5*" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch_user -} - -src_configure() { - append-ldflags -L$(llvm-config --libdir) - - local mycmakeargs=( - -DLLVM_PATH=$(llvm-config --libdir) - ) - cmake-utils_src_configure -} diff --git a/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild deleted file mode 100644 index d8dd0992d75..000 --- a/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils cmake-utils flag-o-matic - -WEIRD_UPSREAM_VERSION=0.4 - -DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; -SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND="=sys-devel/llvm-3.6* - =sys-devel/clang-3.6*"
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: a8ee461d9a6a803e73ac89c92392ef6a4b532aa4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 5 20:21:00 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 5 20:21:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ee461d dev-util/include-what-you-use: bump up to 3.9, bug #598778 I've only slightly tweaked nado@'s ebuild. Bug: https://bugs.gentoo.org/598778 Reported-by: nado troglodyte.be Package-Manager: portage-2.3.2 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-3.9.ebuild| 46 ++ 2 files changed, 47 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 3215c15..4bf20b0 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -2,3 +2,4 @@ DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58 DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336 DIST include-what-you-use-3.8.src.tar.gz 434980 SHA256 ab2faddc5c80faaa52462abd2e90fad6c9cab6277ae588c6a019f8b5dc257f58 SHA512 9dcc37666819084a0e084513c62599b8ffb6f9eb8a9de759d4b1e2813ae759f2aed2e2233fdc6428dc676668102b738fe7bd990561293626d9aa427849ccec35 WHIRLPOOL 4e7176977a9db0d824ccaa7dfc82f592bfa1b3225d7f270d6f20271bc9a9953cd9fade3322bbf7e44fc1e846c0a48fe901025de866828c101e6938ab9ac27bde +DIST include-what-you-use-3.9.src.tar.gz 446773 SHA256 bbea3ddbd2e0990f4edd92a994a94ca24e2ee0edba6bd5612f62e872554d777a SHA512 dd7990fa4112ddb0434807efd9dcf0f77bbecaa61eab51be24428f8e45b9321c7647a979278f3f1266ba9be05c6f1de536fc084613d38638b795248001ce4b44 WHIRLPOOL 67b4acabb887cb80c290817ab848a115b2559bcc5187f05e320ea4bdef6e9915766d824069ce1f060058ba3597b85223419fb4d932ebb536d25ef0a6de64aee2 diff --git a/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild new file mode 100644 index ..60635ba --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.9.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5} ) + +inherit cmake-utils flag-o-matic python-single-r1 + +WEIRD_UPSTREAM_VERSION=0.7 + +DESCRIPTION="Find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/; +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sys-devel/llvm-${PV}* + =sys-devel/clang-${PV}* + ${PYTHON_DEPS} +" +DEPEND="${RDEPEND}" + +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +S=${WORKDIR}/llvm/tools/clang/tools/${PN} + +src_prepare() { + python_fix_shebang . + default +} + +src_configure() { + local mycmakeargs=( + -DIWYU_LLVM_INCLUDE_PATH=$(llvm-config --includedir) + -DIWYU_LLVM_LIB_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +} + +src_test() { + "${EPYTHON}" run_iwyu_tests.py +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 76bb2a8a95ecfdb03602bb2b491478df98f86a54 Author: Sergei Trofimovich gentoo org> AuthorDate: Tue May 17 07:29:32 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Tue May 17 07:29:32 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76bb2a8a dev-util/include-what-you-use: bump up to 3.8 (upstream 0.6), bug #583172 Reported-by: mbartoszkiewicz at gmail.com Bug: https://bugs.gentoo.org/583172 Package-Manager: portage-2.3.0_rc1 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-3.8.ebuild| 32 ++ 2 files changed, 33 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 21c7c79..3215c15 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,3 +1,4 @@ DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1 DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58 DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336 +DIST include-what-you-use-3.8.src.tar.gz 434980 SHA256 ab2faddc5c80faaa52462abd2e90fad6c9cab6277ae588c6a019f8b5dc257f58 SHA512 9dcc37666819084a0e084513c62599b8ffb6f9eb8a9de759d4b1e2813ae759f2aed2e2233fdc6428dc676668102b738fe7bd990561293626d9aa427849ccec35 WHIRLPOOL 4e7176977a9db0d824ccaa7dfc82f592bfa1b3225d7f270d6f20271bc9a9953cd9fade3322bbf7e44fc1e846c0a48fe901025de866828c101e6938ab9ac27bde diff --git a/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild new file mode 100644 index 000..4fbc1d1 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.8.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils flag-o-matic + +WEIRD_UPSTREAM_VERSION=0.6 + +DESCRIPTION="find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/; +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="=sys-devel/llvm-3.8* + =sys-devel/clang-3.8* +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_configure() { + append-libs -L$(llvm-config --libdir) + + local mycmakeargs=( + -DLLVM_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/, dev-util/include-what-you-use/files/
commit: 0dd81960c5f1ab8cd4115282f534300c6314962b Author: Sergei Trofimovich gentoo org> AuthorDate: Fri May 13 07:52:00 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 13 07:52:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd81960 dev-util/include-what-you-use: drop old Package-Manager: portage-2.2.28 dev-util/include-what-you-use/Manifest | 2 - ...de-what-you-use-3.3-issue-110-elaboration.patch | 299 - .../include-what-you-use-3.3-r1.ebuild | 35 --- .../include-what-you-use-3.4.ebuild| 34 --- 4 files changed, 370 deletions(-) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index 0c260f7..21c7c79 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -1,5 +1,3 @@ -DIST include-what-you-use-3.3.tar.gz 287279 SHA256 4aa3a4b1f9450c731c9cb125db6906d2b6bce093297dd1811bdc191c35a443be SHA512 70d7052a0cd5d82fc9d8fcec2fa222f38a02517ad1f6aa6bcff1b9a5170372dd090aebe3989746727ec883a21bf44c5d5602ebe0f8a021cfc2124fb81a14a238 WHIRLPOOL 04fbc8bef3b176327f88eb5edae8a14a046803b06a7782c548690e222b00c9f3e8aace71395bbc41ed5b928e60fe2531bbcb9650655386dc5499da14e746f255 -DIST include-what-you-use-3.4.src.tar.gz 291851 SHA256 73cf2c715c8604c4e832d0a63773210a2cd396988c970ddcbe8fe35bc026d0a4 SHA512 bf02abeb3df27d319db8c6ff7d8319f9cfb301206c77378f8a18d2be7b82ecc6179a034eeb52c18cade6d98288abaf9efc534c221fb2ab93730567c41e77ad11 WHIRLPOOL 5e39837909ac36bfc45868723f93593c0366020d3f4f6de3f0258497ad01184e6ae17e9aa8bace1d2b27b77c4351856adf9f07eb9a6ec2d39d23bf9672f30e39 DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1 DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58 DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336 diff --git a/dev-util/include-what-you-use/files/include-what-you-use-3.3-issue-110-elaboration.patch b/dev-util/include-what-you-use/files/include-what-you-use-3.3-issue-110-elaboration.patch deleted file mode 100644 index 70a2a5d..000 --- a/dev-util/include-what-you-use/files/include-what-you-use-3.3-issue-110-elaboration.patch +++ /dev/null @@ -1,299 +0,0 @@ -Upstream-bug: http://code.google.com/p/include-what-you-use/issues/detail?id=110 -Index: tests/elaboration-struct.h -=== tests/elaboration-struct.h (revision 0) -+++ tests/elaboration-struct.h (revision 0) -@@ -0,0 +1,10 @@ -+//===--- elaboration-struct.h - test input file for iwyu --===// -+// -+// The LLVM Compiler Infrastructure -+// -+// This file is distributed under the University of Illinois Open Source -+// License. See LICENSE.TXT for details. -+// -+//===--===// -+ -+struct ElaborationStruct {}; - -Property changes on: tests\elaboration-struct.h -___ -Added: svn:eol-style - + native - -Index: tests/elaboration.cc -=== tests/elaboration.cc (revision 0) -+++ tests/elaboration.cc (revision 0) -@@ -0,0 +1,79 @@ -+//===--- elaboration.cc - test input file for iwyu ===// -+// -+// The LLVM Compiler Infrastructure -+// -+// This file is distributed under the University of Illinois Open Source -+// License. See LICENSE.TXT for details. -+// -+//===--===// -+ -+// Test that elaborated types are handled correctly. -+// -+// An elaborated type is a type prefixed by type kind, e.g. 'class Foo', -+// 'struct Bar' or 'enum Baz'. -+// -+// Clang considers namespace-qualified types elaborated as well, even if they -+// lack actual elaboration, e.g. 'ns::Foo'. -+ -+
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 428934910d0e8b9868398e2b872a75081cf7632b Author: Sergei Trofimovich gentoo org> AuthorDate: Fri May 13 07:49:49 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 13 07:49:49 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42893491 dev-util/include-what-you-use: drop old Package-Manager: portage-2.2.28 .../include-what-you-use-3.6-r1.ebuild | 36 -- 1 file changed, 36 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild deleted file mode 100644 index a959f45..000 --- a/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils cmake-utils flag-o-matic - -WEIRD_UPSREAM_VERSION=0.4 - -DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="http://include-what-you-use.org/; -SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -RDEPEND=">=sys-devel/llvm-3.6 - >=sys-devel/clang-3.6 -" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch_user -} - -src_configure() { - append-ldflags -L$(llvm-config --libdir) - - local mycmakeargs=( - -DLLVM_PATH=$(llvm-config --libdir) - ) - cmake-utils_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 9556dfe8f7b8a991b56a670943ff6d043f0bfd5b Author: Sergei Trofimovich gentoo org> AuthorDate: Fri May 13 07:41:36 2016 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri May 13 07:41:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9556dfe8 dev-util/include-what-you-use: set upper bound to clang-3.7 Fails to build with clang-3.8 Package-Manager: portage-2.2.28 ...ude-what-you-use-3.7.ebuild => include-what-you-use-3.7-r1.ebuild} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild similarity index 92% rename from dev-util/include-what-you-use/include-what-you-use-3.7.ebuild rename to dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild index 9c1ef63..4adfce3 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.7-r1.ebuild @@ -15,8 +15,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -RDEPEND=">=sys-devel/llvm-3.7 - >=sys-devel/clang-3.7 +RDEPEND="=sys-devel/llvm-3.7* + =sys-devel/clang-3.7* " DEPEND="${RDEPEND}"
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: a37c7711aac92f6b8267c4d0d08dd87d5439eda1 Author: David Seifert gentoo org> AuthorDate: Wed Mar 2 08:47:11 2016 + Commit: David Seifert gentoo org> CommitDate: Wed Mar 2 08:47:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37c7711 dev-util/include-what-you-use: version bump to match sys-devel/clang-3.7 * EAPI=6 * Fix typo in WEIRD_UPSTREAM_VERSION Package-Manager: portage-2.2.27 dev-util/include-what-you-use/Manifest | 1 + .../include-what-you-use-3.7.ebuild| 32 ++ 2 files changed, 33 insertions(+) diff --git a/dev-util/include-what-you-use/Manifest b/dev-util/include-what-you-use/Manifest index e971995..0c260f7 100644 --- a/dev-util/include-what-you-use/Manifest +++ b/dev-util/include-what-you-use/Manifest @@ -2,3 +2,4 @@ DIST include-what-you-use-3.3.tar.gz 287279 SHA256 4aa3a4b1f9450c731c9cb125db690 DIST include-what-you-use-3.4.src.tar.gz 291851 SHA256 73cf2c715c8604c4e832d0a63773210a2cd396988c970ddcbe8fe35bc026d0a4 SHA512 bf02abeb3df27d319db8c6ff7d8319f9cfb301206c77378f8a18d2be7b82ecc6179a034eeb52c18cade6d98288abaf9efc534c221fb2ab93730567c41e77ad11 WHIRLPOOL 5e39837909ac36bfc45868723f93593c0366020d3f4f6de3f0258497ad01184e6ae17e9aa8bace1d2b27b77c4351856adf9f07eb9a6ec2d39d23bf9672f30e39 DIST include-what-you-use-3.5.src.tar.gz 302759 SHA256 bc8475fc853a4b60941eb30ea31c62d096e131e359ac69a5d6a2a237393ad4f1 SHA512 5e5c310dbb673eab7c5e2234fa6a35eebdb208b6b779fcd38503e15617a7a6bea6d6dce081c4620f7ec5895628ed037a091e8917d28538c2fe936d848459ea53 WHIRLPOOL 452ae42b39a4fffbb462bc9e33244bf2dca1e0b8676b015fb08f350ec9249f15aadc706e3dcd62e12b511c2daf96fdbcd2aa97145f64a7d183be2428111af5a1 DIST include-what-you-use-3.6.src.tar.gz 308678 SHA256 0571fe55c0af5d38bfd5e71d8d4743f09f2d404e3725a027b20665b7f983fca6 SHA512 3d8c80e6f60f24774cb7b6fae53f4fac2ef368737a1cd8646c3b80029b2b1d0e439aa4185935759dc37e2b9a3ee06e79af8b262af8bbfd38597d8c509942356b WHIRLPOOL c886169f7bb1bc1ff8f89e25452558607f1ad9cff5b45bbf5e9a0ee129695a2741baa2c144d1198a488fa0455b055722db4404f8b0e843100891aa19fd2abe58 +DIST include-what-you-use-3.7.src.tar.gz 404081 SHA256 ef2b6a62bf82455148bbe2a711245a7fd3ee36a9b8ab431d50d683fd6346e538 SHA512 805395873b59e4f4236853ba9ac6818d60968190ad485d580ea80d69c518eb8c44822a4281a4219b4ccc02e2dc8f3db5c470170e27e67ea0d8e04ef78da9078c WHIRLPOOL d83d26afb1ffed8652b2c15b38fc5546f1302999009778d7e116abfe2ee574206fcded09712f26fd6d0f1d509a0a1cfa40ae37bd3d18e1c5b63a2ce457f23336 diff --git a/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild new file mode 100644 index 000..9c1ef63 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.7.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit cmake-utils flag-o-matic + +WEIRD_UPSTREAM_VERSION=0.5 + +DESCRIPTION="find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/; +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSTREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=sys-devel/llvm-3.7 + >=sys-devel/clang-3.7 +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_configure() { + append-libs -L$(llvm-config --libdir) + + local mycmakeargs=( + -DLLVM_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 815c333bc8a05d9284d2b8f3c1fb6cb3aed87f45 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Nov 29 21:34:13 2015 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Nov 29 21:34:57 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=815c333b dev-util/include-what-you-use: allow clang-3.7 Package-Manager: portage-2.2.25 .../include-what-you-use-3.6-r1.ebuild | 36 ++ 1 file changed, 36 insertions(+) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild new file mode 100644 index 000..a959f45 --- /dev/null +++ b/dev-util/include-what-you-use/include-what-you-use-3.6-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils cmake-utils flag-o-matic + +WEIRD_UPSREAM_VERSION=0.4 + +DESCRIPTION="find unused include directives in C/C++ programs" +HOMEPAGE="http://include-what-you-use.org/; +SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=sys-devel/llvm-3.6 + >=sys-devel/clang-3.6 +" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +src_prepare() { + epatch_user +} + +src_configure() { + append-ldflags -L$(llvm-config --libdir) + + local mycmakeargs=( + -DLLVM_PATH=$(llvm-config --libdir) + ) + cmake-utils_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/
commit: 858ea473c2b61ac1c8b709e20fa54832382a02e3 Author: Tobias Klausmann gentoo org> AuthorDate: Tue Sep 1 19:29:05 2015 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Sep 1 19:29:05 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=858ea473 dev-util/include-what-you-use: Fixing HOMEPAGE move due to code.google.com shutdown Package-Manager: portage-2.2.20.1 dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild | 2 +- dev-util/include-what-you-use/include-what-you-use-3.4.ebuild| 2 +- dev-util/include-what-you-use/include-what-you-use-3.5.ebuild| 2 +- dev-util/include-what-you-use/include-what-you-use-3.6.ebuild| 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild index 5850352..d7ae2b4 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.3-r1.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils cmake-utils flag-o-matic DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://code.google.com/p/include-what-you-use/; +HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; # picked from google drive SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.tar.gz; diff --git a/dev-util/include-what-you-use/include-what-you-use-3.4.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.4.ebuild index 2356e79..83494f7 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.4.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.4.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils cmake-utils flag-o-matic DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://code.google.com/p/include-what-you-use/; +HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; # picked from google drive SRC_URI="https://dev.gentoo.org/~slyfox/distfiles/${P}.src.tar.gz; diff --git a/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild index 167af75..6f3bfe7 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.5.ebuild @@ -6,7 +6,7 @@ EAPI=5 inherit eutils cmake-utils flag-o-matic DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://code.google.com/p/include-what-you-use/; +HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; SRC_URI="http://include-what-you-use.com/downloads/include-what-you-use-3.5.src.tar.gz; LICENSE="GPL-2" diff --git a/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild b/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild index f39f4f0..ff33319 100644 --- a/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild +++ b/dev-util/include-what-you-use/include-what-you-use-3.6.ebuild @@ -8,7 +8,7 @@ inherit eutils cmake-utils flag-o-matic WEIRD_UPSREAM_VERSION=0.4 DESCRIPTION="find unused include directives in C/C++ programs" -HOMEPAGE="https://code.google.com/p/include-what-you-use/; +HOMEPAGE="https://github.com/include-what-you-use/include-what-you-use; SRC_URI="http://include-what-you-use.org/downloads/${PN}-${WEIRD_UPSREAM_VERSION}.src.tar.gz -> ${P}.src.tar.gz" LICENSE="GPL-2"