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 6D206139694 for ; Wed, 19 Jul 2017 08:27:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C830CE0DA6; Wed, 19 Jul 2017 08:27:44 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BAFDE0DA6 for ; Wed, 19 Jul 2017 08:27:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9711F341862 for ; Wed, 19 Jul 2017 08:27:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5D86A746A for ; Wed, 19 Jul 2017 08:27:42 +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: <1500452858.78579a637842b8fbca0df36d32a83183f53fea28.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-4.0.ebuild X-VCS-Directories: dev-util/include-what-you-use/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 78579a637842b8fbca0df36d32a83183f53fea28 X-VCS-Branch: master Date: Wed, 19 Jul 2017 08:27:42 +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: a47f53b7-797c-4af2-b6b0-5d977dba446f X-Archives-Hash: ffd450ac9903e09b1a89ed81b46a19b5 commit: 78579a637842b8fbca0df36d32a83183f53fea28 Author: Sergei Trofimovich gentoo org> AuthorDate: Wed Jul 19 08:27:24 2017 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jul 19 08:27:38 2017 +0000 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 00000000000..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 +}