From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SbVi7-0007KZ-Sx for garchives@archives.gentoo.org; Mon, 04 Jun 2012 11:44:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2656FE0655; Mon, 4 Jun 2012 11:44:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E6FEAE0710; Mon, 4 Jun 2012 11:43:39 +0000 (UTC) Received: from sera-17.lan (238-58.203-62.cust.bluewin.ch [62.203.58.238]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sera) by smtp.gentoo.org (Postfix) with ESMTPSA id A0CFB1B4070; Mon, 4 Jun 2012 11:43:38 +0000 (UTC) Date: Mon, 4 Jun 2012 13:43:04 +0200 From: Ralph Sennhauser To: gentoo-dev@lists.gentoo.org, gentoo-dev-announce@lists.gentoo.org Subject: [gentoo-dev] [java-utils-2.eclass] - removal of java-pkg_ensure-test and java-pkg_ensure-gcj Message-ID: <20120604134304.7684d1fe@sera-17.lan> Organization: Gentoo Linux X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/YC.3.CSXFpe2z48OlA=71Or"; protocol="application/pgp-signature" X-Archives-Salt: 3da61994-14fe-467e-b571-37f40cdfe636 X-Archives-Hash: c05df96e7af3e9aec13204e04068c332 --Sig_/YC.3.CSXFpe2z48OlA=71Or Content-Type: multipart/mixed; boundary="MP_/qYAWRxRZzJnuQEmugcZuOGN" --MP_/qYAWRxRZzJnuQEmugcZuOGN Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Both java-pkg_ensure-test and java-pkg_ensure-gcj will be removed from java-utils-2.eclass after the 4 of July 2012. See attached patch. java-pkg_ensure-test: [1] Was used to enforce USE=3Dtest if FEATURES=3Dtest. For quite some time this is handled by package managers. Relies on the env var FEATURES [2]. There are no known consumers any more. Solution: Remove the call to java-pkg_ensure-test and rely on the package manager handling this. java-pkg_ensure-gcj: Uses built_with_use [3] and ebeep [4] and is no longer needed with EAPI 2 or later. There are no known consumers for quite some time. Solution: Migrate to EAPI 2 or later and depend on sys-devel/gcc[gcj] instead. [1] https://bugs.gentoo.org/show_bug.cgi?id=3D278965 [2] https://bugs.gentoo.org/show_bug.cgi?id=3D174335 [3] https://bugs.gentoo.org/show_bug.cgi?id=3D261562 [4] https://bugs.gentoo.org/show_bug.cgi?id=3D377943 --MP_/qYAWRxRZzJnuQEmugcZuOGN Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=java-utils-2.eclass-remove-unused-functions.patch Index: java-utils-2.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v retrieving revision 1.150 diff -u -b -B -r1.150 java-utils-2.eclass --- java-utils-2.eclass 13 Mar 2012 10:05:46 -0000 1.150 +++ java-utils-2.eclass 4 Jun 2012 10:15:57 -0000 @@ -1686,23 +1686,13 @@ } =20 java-pkg_ensure-gcj() { - if ! built_with_use sys-devel/gcc gcj ; then - ewarn - ewarn "You must build gcc with the gcj support to build with gcj" - ewarn - ebeep 5 - die "No GCJ support found!" - fi + # was enforcing sys-devel/gcc[gcj} + die "${FUNCNAME} was removed. Use use-deps available as of EAPI 2 instead= . #261562" } =20 java-pkg_ensure-test() { - if has test ${FEATURES} && ! has -test ${FEATURES} \ - && has test ${IUSE} && ! use test; - then - eerror "You specified FEATURES=3Dtest, but USE=3Dtest is needed" - eerror "to pull in the additional dependencies for testing" - die "Need USE=3Dtest enabled" - fi + # was enforcing USE=3Dtest if FEATURES=3Dtest + die "${FUNCNAME} was removed. Package mangers handle this already. #27896= 5" } =20 # ------------------------------------------------------------------------= ------ --MP_/qYAWRxRZzJnuQEmugcZuOGN-- --Sig_/YC.3.CSXFpe2z48OlA=71Or Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQEcBAEBAgAGBQJPzJ9lAAoJEIUJ+svaV163ycIH/RJXRyxFm/9csVYvf8iXZm3a IppzKau2EoQUUkW7g5mNbjSeJgDTab6K0NbrGnEpEK0yhPtAXWvfU0R+MgFH4cJ8 +2qjJDem3UyYZfoe0qlMKHVb4hGffi7PJhbwx0ArWvGvAnMnYALXs+xcdiAKE9Qk pySD6RCBzuM9RWPsKjAaK2l0OB16pxNChuTMv7+/cqsqTIwakhynzHMJyC0SHpEH lYB8jaa6dsafsTYdia3+vOSObRZZhKBTg6VXtAXR8pAnTIWf/I4TM4lGLsy6x4ZX Y/iB5IqoIDVC7dckyNAcTv04ZiQYgc11CMXPZmdrG1das3YRq+XvncpbECJXOrw= =BvLu -----END PGP SIGNATURE----- --Sig_/YC.3.CSXFpe2z48OlA=71Or--