public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Steve Arnold" <nerdboy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/
Date: Sun,  5 May 2019 18:31:55 +0000 (UTC)	[thread overview]
Message-ID: <1557081090.ef188ada4d7af85d45a874a1a3da2547312280f4.nerdboy@gentoo> (raw)

commit:     ef188ada4d7af85d45a874a1a3da2547312280f4
Author:     Stephen Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun May  5 18:31:30 2019 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> 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 <nerdboy <AT> 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
 }


             reply	other threads:[~2019-05-05 18:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05 18:31 Steve Arnold [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-24  6:55 [gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/ Sam James
2023-06-24  2:59 Sam James
2022-07-12 20:19 Steve Arnold
2022-07-10 15:45 Sam James
2022-04-17 19:00 Sam James
2022-03-20  0:38 Sam James
2020-10-06 22:59 Steve Arnold
2020-10-04 17:20 Steve Arnold
2020-02-09 13:14 David Seifert
2016-03-02  4:25 Ian Delaney
2016-02-12 18:55 Steve Arnold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1557081090.ef188ada4d7af85d45a874a1a3da2547312280f4.nerdboy@gentoo \
    --to=nerdboy@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox