From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EA071395E2 for ; Sat, 5 Nov 2016 20:21:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 25FB7E0C3E; Sat, 5 Nov 2016 20:21:19 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EE32FE0C3E for ; Sat, 5 Nov 2016 20:21:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5F9BB34108B for ; Sat, 5 Nov 2016 20:21:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C5CC02EE for ; Sat, 5 Nov 2016 20:21:14 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1478377266.a8ee461d9a6a803e73ac89c92392ef6a4b532aa4.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/include-what-you-use/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/include-what-you-use/Manifest dev-util/include-what-you-use/include-what-you-use-3.9.ebuild X-VCS-Directories: dev-util/include-what-you-use/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: a8ee461d9a6a803e73ac89c92392ef6a4b532aa4 X-VCS-Branch: master Date: Sat, 5 Nov 2016 20:21:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0a57b008-956d-44a3-9f44-524f30b168cf X-Archives-Hash: 4354100c3a7fd2590fa2038f7f233d64 commit: a8ee461d9a6a803e73ac89c92392ef6a4b532aa4 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Nov 5 20:21:00 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Nov 5 20:21:06 2016 +0000 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 00000000..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 +}