commit: 43dd38f715a91ea28aa4341cc0144c13850443d2
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 07:21:28 2016 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 07:21:28 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43dd38f7
readme.gentoo.eclass: QA warn for deprecation of readme.gentoo.eclass
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
eclass/readme.gentoo.eclass | 3 +++
1 file changed, 3 insertions(+)
diff --git a/eclass/readme.gentoo.eclass b/eclass/readme.gentoo.eclass
index 0ab9e89..4c921fc 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