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

On Thu, 13 Jun 2013 17:49:24 -0400
Chris Reffett <[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> All,
> At the beginning of July, the KDE team will be removing EAPI 0/1
> support from cmake-utils.eclass and inlining the functions from
> base.eclass in order to remove that inherit [1]. The modified eclass
> is currently available in the KDE overlay. There is one package [2]
> remaining in-tree which has EAPI<2 which will be handled soon, but
> please update any overlay packages using the eclass. I have also added
> a deprecation warning to the in-tree cmake-utils.eclass for packages
> using EAPI 0/1.

Running egencache manually on gentoo-x86 finishes as:

build metadata cache for '::gentoo'
 * EAPI 0 and 1 support is now deprecated.
 * If you are the package maintainer, please
 * update this package to a newer EAPI.
 * Support for EAPI 0-1 will be dropped at the beginning of July.

May I ask you to make message a bit clearer to include eclass
name and ebuild name? Like in patch attached.

The output will look like:
build metadata cache for '::gentoo'
 * app-text/zpspell-0.4.1: EAPI 0 and 1 support is now deprecated.
 * If you are the package maintainer, please
 * update this package to a newer EAPI.
 * Support for EAPI 0-1 for 'cmake-utils.eclass' will be dropped at the 
beginning of July.

'eqawarn' might suit better for those warnings as well.

Thanks!

- -- 

  Sergei
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iEYEARECAAYFAlG7WGUACgkQcaHudmEf86psfwCfbZ1c+fIz80Jo4a+xaYGs0oiW
RbkAn0mVqv/wXxcRTXMB14mXRmv8LYMW
=b6P1
-----END PGP SIGNATURE-----
Index: cmake-utils.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/cmake-utils.eclass,v
retrieving revision 1.95
diff -u -u -r1.95 cmake-utils.eclass
--- cmake-utils.eclass	13 Jun 2013 21:16:53 -0000	1.95
+++ cmake-utils.eclass	14 Jun 2013 17:28:13 -0000
@@ -65,10 +65,10 @@
 CMAKE_EXPF="src_compile src_test src_install"
 case ${EAPI:-0} in
 	2|3|4|5) CMAKE_EXPF+=" src_prepare src_configure" ;;
-	1|0) ewarn "EAPI 0 and 1 support is now deprecated."
+	1|0) ewarn "${CATEGORY}/${PF}: EAPI 0 and 1 support is now deprecated."
 		ewarn "If you are the package maintainer, please"
 		ewarn "update this package to a newer EAPI."
-		ewarn "Support for EAPI 0-1 will be dropped at the beginning of July."
+		ewarn "Support for EAPI 0-1 for 'cmake-utils.eclass' will be dropped at the beginning of July."
     ;;
 	
 	*) die "Unknown EAPI, Bug eclass maintainers." ;;

Reply via email to