public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-misc/can-utils/
Date: Sat, 27 Feb 2021 21:21:40 +0000 (UTC)	[thread overview]
Message-ID: <1614460891.d21ed1af4d2742d718e4db1bda6715080f5d04e8.andrewammerlaan@gentoo> (raw)
Message-ID: <20210227212140.swVNuJARrbD-nXuXplrh4GXdA6dkHbRyh4shs2Kvopo@z> (raw)

commit:     d21ed1af4d2742d718e4db1bda6715080f5d04e8
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Feb 27 21:21:31 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Feb 27 21:21:31 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d21ed1af

net-misc/can-utils: just call einstalldocs instead of copying it

(or call 'default' in tsrc_install)

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 net-misc/can-utils/can-utils-2020.02.04.ebuild | 12 +-----------
 net-misc/can-utils/can-utils-2020.12.0.ebuild  | 12 +-----------
 net-misc/can-utils/can-utils-9999-r3.ebuild    | 12 +-----------
 3 files changed, 3 insertions(+), 33 deletions(-)

diff --git a/net-misc/can-utils/can-utils-2020.02.04.ebuild b/net-misc/can-utils/can-utils-2020.02.04.ebuild
index eff9dabb..a1eb63c7 100644
--- a/net-misc/can-utils/can-utils-2020.02.04.ebuild
+++ b/net-misc/can-utils/can-utils-2020.02.04.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"

diff --git a/net-misc/can-utils/can-utils-2020.12.0.ebuild b/net-misc/can-utils/can-utils-2020.12.0.ebuild
index eff9dabb..a1eb63c7 100644
--- a/net-misc/can-utils/can-utils-2020.12.0.ebuild
+++ b/net-misc/can-utils/can-utils-2020.12.0.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"

diff --git a/net-misc/can-utils/can-utils-9999-r3.ebuild b/net-misc/can-utils/can-utils-9999-r3.ebuild
index 1af5ac07..12916d25 100644
--- a/net-misc/can-utils/can-utils-9999-r3.ebuild
+++ b/net-misc/can-utils/can-utils-9999-r3.ebuild
@@ -27,17 +27,7 @@ src_install() {
 
 	emake DESTDIR="${D}" install
 
-	if ! declare -p DOCS >/dev/null 2>&1 ; then
-		local d
-		for d in README* ChangeLog AUTHORS NEWS TODO CHANGES THANKS BUGS \
-				FAQ CREDITS CHANGELOG ; do
-			[[ -s "${d}" ]] && dodoc "${d}"
-		done
-	elif declare -p DOCS | grep -q "^declare -a " ; then
-		dodoc "${DOCS[@]}"
-	else
-		dodoc ${DOCS}
-	fi
+	einstalldocs
 
 	if use systemd ; then
 		systemd_dounit "${FILESDIR}/slcan.service"


             reply	other threads:[~2021-02-27 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27 21:23 Andrew Ammerlaan [this message]
2021-02-27 21:21 ` [gentoo-commits] repo/proj/guru:dev commit in: net-misc/can-utils/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-03-05 12:10 [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-08-20 18:48 Florian Schmaus

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=1614460891.d21ed1af4d2742d718e4db1bda6715080f5d04e8.andrewammerlaan@gentoo \
    --to=andrewammerlaan@riseup.net \
    --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