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 7E3D9138334 for ; Sun, 5 May 2019 18:32:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 24C25E0886; Sun, 5 May 2019 18:32:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 EE8A5E0886 for ; Sun, 5 May 2019 18:31:59 +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 2704A3436D2 for ; Sun, 5 May 2019 18:31:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A03E9566 for ; Sun, 5 May 2019 18:31:55 +0000 (UTC) From: "Steve Arnold" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Steve Arnold" Message-ID: <1557081090.ef188ada4d7af85d45a874a1a3da2547312280f4.nerdboy@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/cccc/cccc-3.1.5-r1.ebuild dev-util/cccc/cccc-3.1.5.ebuild X-VCS-Directories: dev-util/cccc/ X-VCS-Committer: nerdboy X-VCS-Committer-Name: Steve Arnold X-VCS-Revision: ef188ada4d7af85d45a874a1a3da2547312280f4 X-VCS-Branch: master Date: Sun, 5 May 2019 18:31:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 90141d82-5e96-4a88-be6f-d8616fabcb8b X-Archives-Hash: 184d82322c44d024cd23cd0d107cee98 commit: ef188ada4d7af85d45a874a1a3da2547312280f4 Author: Stephen Arnold gentoo org> AuthorDate: Sun May 5 18:31:30 2019 +0000 Commit: Steve Arnold gentoo org> CommitDate: Sun May 5 18:31:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef188ada dev-util/cccc: rev-bump for eapi migration and QA cleanup * use EAPI 6, filter lto flags, clean up QA issues Bug: https://bugs.gentoo.org/651446 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: Steve Arnold gentoo.org> .../{cccc-3.1.5.ebuild => cccc-3.1.5-r1.ebuild} | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/dev-util/cccc/cccc-3.1.5.ebuild b/dev-util/cccc/cccc-3.1.5-r1.ebuild similarity index 60% rename from dev-util/cccc/cccc-3.1.5.ebuild rename to dev-util/cccc/cccc-3.1.5-r1.ebuild index 07042e9343c..a26523720d4 100644 --- a/dev-util/cccc/cccc-3.1.5.ebuild +++ b/dev-util/cccc/cccc-3.1.5-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=6 inherit eutils toolchain-funcs flag-o-matic @@ -17,7 +17,7 @@ fi LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="apidoc debug doc mfc" RDEPEND="" @@ -25,15 +25,16 @@ DEPEND="${RDEPEND} apidoc? ( app-doc/doxygen[dot] ) " -MAKEOPTS="-j1" - src_prepare() { - use mfc && epatch "${FILESDIR}"/${PN}-c_dialect.patch + is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin + use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch + default + } src_compile() { + tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY if use debug ; then - export STRIP_MASK="*/bin/*" DEBUG="true" emake CCC=$(tc-getCXX) CC=$(tc-getCC) cccc else emake CCC=$(tc-getCXX) CC=$(tc-getCC) cccc @@ -52,19 +53,18 @@ src_install() { dodoc README.md if use mfc ; then - dodoc "${FILESDIR}"/cccc-MFC-dialect.opt - docompress -x "/usr/share/doc/${PF}/cccc-MFC-dialect.opt" + insinto /usr/share/doc/${PF} + doins "${FILESDIR}"/cccc-MFC-dialect.opt fi if use doc ; then - dodoc CHANGELOG.md HISTORY.md - dohtml cccc/*.html || die "html docs failed" + insinto /usr/share/doc/${PF}/html + doins cccc/*.html || die "html docs failed" if use apidoc ; then - docinto api - dohtml -A svg -r doxygen/html || die "dox failed" - docompress -x "/usr/share/doc/${PF}/api" - docinto metrics - dohtml ccccout/* || die "metrics failed" + insinto /usr/share/doc/${PF}/html/api + doins -r doxygen/html/* || die "dox failed" + insinto /usr/share/doc/${PF}/html/metrics + doins ccccout/* || die "metrics failed" fi fi }