public inbox for gentoo-dev-announce@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev-announce] multilib-minimal.eclass: change in behavior
@ 2013-10-20 16:35 hasufell
  0 siblings, 0 replies; only message in thread
From: hasufell @ 2013-10-20 16:35 UTC (permalink / raw
  To: gentoo-dev-announce

[-- 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
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-20 16:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-20 16:35 [gentoo-dev-announce] multilib-minimal.eclass: change in behavior hasufell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox