Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/
Date: Sun, 09 Feb 2020 13:14:04
Message-Id: 1581253966.6f734b5357be1603c21ca9a98e5b5764d54ba4b6.soap@gentoo
1 commit: 6f734b5357be1603c21ca9a98e5b5764d54ba4b6
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 9 13:12:46 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 9 13:12:46 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f734b53
7
8 dev-util/cccc: [QA] Fix DeprecatedInsinto
9
10 Package-Manager: Portage-2.3.88, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-util/cccc/cccc-3.1.5-r1.ebuild | 19 ++++++++-----------
14 1 file changed, 8 insertions(+), 11 deletions(-)
15
16 diff --git a/dev-util/cccc/cccc-3.1.5-r1.ebuild b/dev-util/cccc/cccc-3.1.5-r1.ebuild
17 index 856607a6df2..47a91aadc54 100644
18 --- a/dev-util/cccc/cccc-3.1.5-r1.ebuild
19 +++ b/dev-util/cccc/cccc-3.1.5-r1.ebuild
20 @@ -1,4 +1,4 @@
21 -# Copyright 1999-2019 Gentoo Authors
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26 @@ -52,19 +52,16 @@ src_install() {
27
28 dodoc README.md
29
30 - if use mfc ; then
31 - insinto /usr/share/doc/${PF}
32 - doins "${FILESDIR}"/cccc-MFC-dialect.opt
33 - fi
34 + use mfc && dodoc "${FILESDIR}"/cccc-MFC-dialect.opt
35
36 if use doc ; then
37 - insinto /usr/share/doc/${PF}/html
38 - doins cccc/*.html
39 + docinto html
40 + dodoc cccc/*.html
41 if use apidoc ; then
42 - insinto /usr/share/doc/${PF}/html/api
43 - doins -r doxygen/html/*
44 - insinto /usr/share/doc/${PF}/html/metrics
45 - doins ccccout/*
46 + docinto html/api
47 + dodoc -r doxygen/html/.
48 + docinto html/metrics
49 + dodoc -r ccccout/.
50 fi
51 fi
52 }