summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-12-13 23:18:41 +0100
committerPacho Ramos <pacho@gentoo.org>2015-12-13 23:24:37 +0100
commitefe8736bf3c14b3fe693493d4fdb2b33a4ec7f10 (patch)
treeba3f721e0ad2cbeb8631fd64ce4bee5e69645602 /eclass/readme.gentoo.eclass
parentdev-db/mysql: Bump patch version (diff)
downloadgentoo-efe8736bf3c14b3fe693493d4fdb2b33a4ec7f10.tar.gz
gentoo-efe8736bf3c14b3fe693493d4fdb2b33a4ec7f10.tar.bz2
gentoo-efe8736bf3c14b3fe693493d4fdb2b33a4ec7f10.zip
eclass/readme.gentoo.eclass: force people to use readme.gentoo-r1 for eapi6 support (#520094#c6)
Diffstat (limited to 'eclass/readme.gentoo.eclass')
-rw-r--r--eclass/readme.gentoo.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/readme.gentoo.eclass b/eclass/readme.gentoo.eclass
index 741287ab4736..0ab9e8957a12 100644
--- a/eclass/readme.gentoo.eclass
+++ b/eclass/readme.gentoo.eclass
@@ -14,6 +14,8 @@
# shown via elog messages. With this eclass, those elog messages will only be
# shown at first package installation and a file for later reviewing will be
# installed under /usr/share/doc/${PF}
+#
+# This eclass is DEPRECATED. Please use readme.gentoo-r1 instead.
if [[ -z ${_README_GENTOO_ECLASS} ]]; then
_README_GENTOO_ECLASS=1
@@ -31,8 +33,11 @@ case "${EAPI:-0}" in
EXPORT_FUNCTIONS src_install pkg_postinst
;;
6)
- # Stop exporting default functions as discussed at:
- # https://bugs.gentoo.org/show_bug.cgi?id=520094
+ die "Unsupported EAPI=${EAPI} for ${ECLASS}"
+ die "Please migrate to readme.gentoo-r1.eclass and note that"
+ die "it stops to export any ebuild phases and, then, you will"
+ die "need to ensure readme.gentoo_create_doc is called in"
+ die "src_install and readme.gentoo_print_elog in pkg_postinst"
;;
*)
die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"