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: Tue,  6 Oct 2020 22:59:57 +0000 (UTC)	[thread overview]
Message-ID: <1602025169.22e104ccc5baf2cb3285a367a0d160ac5d50c39d.nerdboy@gentoo> (raw)

commit:     22e104ccc5baf2cb3285a367a0d160ac5d50c39d
Author:     Stephen L Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  6 22:46:54 2020 +0000
Commit:     Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Tue Oct  6 22:59:29 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e104cc

dev-util/cccc: fix doc install, remove cruft left by melting HD

Closes: https://bugs.gentoo.org/746587
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>

 dev-util/cccc/cccc-3.1.5-r1.ebuild | 17 +++++++++--------
 dev-util/cccc/cccc-3.1.6.ebuild    | 22 +++++++++++-----------
 2 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild b/dev-util/cccc/cccc-3.1.5-r1.ebuild
index 1d3cdf4bc73..b7c46d713a8 100644
--- a/dev-util/cccc/cccc-3.1.5-r1.ebuild
+++ b/dev-util/cccc/cccc-3.1.5-r1.ebuild
@@ -53,18 +53,19 @@ src_install() {
 	dodoc README.md
 
 	if use mfc ; then
-		insinto /usr/share/doc/${PF}
-		doins "${FILESDIR}"/cccc-MFC-dialect.opt
+		docinto examples
+		dodoc "${FILESDIR}"/cccc-MFC-dialect.opt
+		docompress -x "/usr/share/doc/${PF}/examples"
 	fi
 
 	if use doc ; then
-		insinto /usr/share/doc/${PF}/html
-		doins cccc/*.html || die "html docs failed"
+		docinto html
+		dodoc cccc/*.html || die "html docs failed"
 		if use apidoc ; then
-			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"
+			docinto html/api
+			dodoc -r doxygen/html/. || die "apidocs failed"
+			docinto html/metrics
+			dodoc ccccout/* || die "metrics failed"
 		fi
 	fi
 }

diff --git a/dev-util/cccc/cccc-3.1.6.ebuild b/dev-util/cccc/cccc-3.1.6.ebuild
index 5100eea55bb..b7c46d713a8 100644
--- a/dev-util/cccc/cccc-3.1.6.ebuild
+++ b/dev-util/cccc/cccc-3.1.6.ebuild
@@ -9,14 +9,15 @@ DESCRIPTION="Source metrics (line counts, complexity, etc) for Java and C++"
 HOMEPAGE="http://sarnold.github.io/cccc/"
 if [[ ${PV} = 9999* ]]; then
 	EGIT_REPO_URI="https://github.com/sarnold/cccc.git"
+	EGIT_BRANCH="master"
 	inherit git-r3
 else
 	SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="apidoc debug doc mfc"
 
 RDEPEND=""
@@ -24,8 +25,6 @@ DEPEND="${RDEPEND}
 	apidoc? ( app-doc/doxygen[dot] )
 	"
 
-PATCHES=( "${FILESDIR}/${PN}-fix-tests-for-name-swap.patch" )
-
 src_prepare() {
 	is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
 	use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
@@ -54,18 +53,19 @@ src_install() {
 	dodoc README.md
 
 	if use mfc ; then
-		insinto /usr/share/doc/${PF}
-		doins "${FILESDIR}"/cccc-MFC-dialect.opt
+		docinto examples
+		dodoc "${FILESDIR}"/cccc-MFC-dialect.opt
+		docompress -x "/usr/share/doc/${PF}/examples"
 	fi
 
 	if use doc ; then
-		insinto /usr/share/doc/${PF}/html
-		doins cccc/*.html || die "html docs failed"
+		docinto html
+		dodoc cccc/*.html || die "html docs failed"
 		if use apidoc ; then
-			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"
+			docinto html/api
+			dodoc -r doxygen/html/. || die "apidocs failed"
+			docinto html/metrics
+			dodoc ccccout/* || die "metrics failed"
 		fi
 	fi
 }


             reply	other threads:[~2020-10-06 23:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06 22:59 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-04 17:20 Steve Arnold
2020-02-09 13:14 David Seifert
2019-05-05 18:31 Steve Arnold
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=1602025169.22e104ccc5baf2cb3285a367a0d160ac5d50c39d.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