From: Justin Lecher Date: Mon, 25 Jan 2016 07:21:28 +0000 (+0100) Subject: readme.gentoo.eclass: QA warn for deprecation of readme.gentoo.eclass X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=43dd38f715a91ea28aa4341cc0144c13850443d2;p=gentoo.git readme.gentoo.eclass: QA warn for deprecation of readme.gentoo.eclass Signed-off-by: Justin Lecher --- diff --git a/eclass/readme.gentoo.eclass b/eclass/readme.gentoo.eclass index 0ab9e8957a12..4c921fc6a3e8 100644 --- a/eclass/readme.gentoo.eclass +++ b/eclass/readme.gentoo.eclass @@ -106,6 +106,9 @@ readme.gentoo_create_doc() { readme.gentoo_print_elog() { debug-print-function ${FUNCNAME} "${@}" + eqawarn "${CATEGORY}/${PN} is using the deprecated readme.gentoo.eclass." + eqawarn "Please use readme.gentoo-r1 instead." + if [[ -z "${README_GENTOO_DOC_VALUE}" ]]; then die "readme.gentoo_print_elog invoked without matching readme.gentoo_create_doc call!" elif ! [[ -n "${REPLACING_VERSIONS}" ]] || [[ -n "${FORCE_PRINT_ELOG}" ]]; then