public inbox for gentoo-dev-announce@lists.gentoo.org
 help / color / mirror / Atom feed
From: hasufell <hasufell@gentoo.org>
To: gentoo-dev-announce@lists.gentoo.org
Subject: [gentoo-dev-announce] multilib-minimal.eclass: change in behavior
Date: Sun, 20 Oct 2013 18:35:41 +0200	[thread overview]
Message-ID: <5264065D.60308@gentoo.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The patch from bug 483304 has been applied to multilib-minimal.eclass.

That means two things:
* DOCS variable/array is now handled by "einstalldocs"
* einstalldocs is _only_ carried out automatically if
multilib_src_install_all is not overwritten (previously it was carried
out unconditionally through multilib-minimal_src_install)

Consumers of multilib-minimal have already been fixed.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSZAZdAAoJEFpvPKfnPDWz0n4H/0b/3LU3LHSRnbn+klBPH8ky
b59pt0a/G/KhQ0JwD+hKw388e+OqbUVSXxY1ZTzOhOE2McOU5zY1F4u9hG+G/Lwi
zal6KCV+nqfAW7/3lq0t9EfFegwljOjxunGSJphOwg9k8kUIq0H2ebpnhXAHY5uN
+mG4ksEyFAPfIiVucREu3s8/5jBqMp3UriaTKeWEkokQVzydKJheaP/3drYQOZK4
o+cqPRdg740jZxIUD5OcDTVKMQsu/2R1zTS/96VbsQ9qFJcEUBfY+pc+hXNmXJFa
8o1MwTNk8noaWEhO/gTmIcICeQEHeYwhbB86NEMuWcSMIG2Dm+Se2ha7AvXAGPg=
=lxER
-----END PGP SIGNATURE-----

[-- Attachment #2: multilib-minimal.eclass.patch --]
[-- Type: text/x-patch, Size: 695 bytes --]

--- multilib-minimal.eclass
+++ multilib-minimal.eclass
@@ -30,7 +30,7 @@
 esac
 
 
-inherit multilib-build
+inherit eutils multilib-build
 
 EXPORT_FUNCTIONS src_configure src_compile src_test src_install
 
@@ -104,18 +104,7 @@
 
 	if declare -f multilib_src_install_all >/dev/null ; then
 		multilib_src_install_all
-	fi
-
-	# this is synced with __eapi4_src_install
-	if ! declare -p DOCS &>/dev/null ; 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) == "declare -a "* ]] ; then
-		dodoc "${DOCS[@]}"
 	else
-		dodoc ${DOCS}
+		einstalldocs
 	fi
 }

                 reply	other threads:[~2013-10-20 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=5264065D.60308@gentoo.org \
    --to=hasufell@gentoo.org \
    --cc=gentoo-dev-announce@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