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 1R7unA-0000Iu-N1 for garchives@archives.gentoo.org; Sun, 25 Sep 2011 19:55:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4A7F21C202; Sun, 25 Sep 2011 19:55:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 997B721C202 for ; Sun, 25 Sep 2011 19:55:04 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 162941B4013 for ; Sun, 25 Sep 2011 19:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 71DF780042 for ; Sun, 25 Sep 2011 19:55:03 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: Subject: [gentoo-commits] proj/gnome:gnome-next commit in: dev-util/gdbus-codegen/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-util/gdbus-codegen/gdbus-codegen-2.29.92.ebuild X-VCS-Directories: dev-util/gdbus-codegen/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: f4ef34a94f812a41d3bd5ff82c646139d7b1043d Date: Sun, 25 Sep 2011 19:55:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 0ce98b88ce6a0dae92e9a4490f35de08 commit: f4ef34a94f812a41d3bd5ff82c646139d7b1043d Author: Alexandre Rostovtsev gmail com> AuthorDate: Sun Sep 25 19:53:07 2011 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Sun Sep 25 19:53:07 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3Df4ef34a9 dev-util/gdbus-codegen: QA Reorder ebuild phases (thanks to Nirbheek for noticing). Drop the old blockers (all gnome-next users should have upgraded to a newer version of glib by now); add glib to PDEPEND after discussion with Nirbheek. --- .../gdbus-codegen/gdbus-codegen-2.29.92.ebuild | 26 +++++++-------= ----- 1 files changed, 10 insertions(+), 16 deletions(-) diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.29.92.ebuild b/dev-ut= il/gdbus-codegen/gdbus-codegen-2.29.92.ebuild index a46d52d..c9aeb52 100644 --- a/dev-util/gdbus-codegen/gdbus-codegen-2.29.92.ebuild +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.29.92.ebuild @@ -18,18 +18,16 @@ KEYWORDS=3D"~amd64 ~x86" IUSE=3D"" =20 DEPEND=3D"" -RDEPEND=3D"${DEPEND} - !!=3Ddev-libs/glib-2.29.16" - -# There is no good way to specify a block on a range of versions in an e= build, -# hence the below horror. Remove it in early 2011-09, since by that time= , -# hopefully overlay users will have upgraded to a compatible glib. -for (( i=3D4; i<16; i++ )); do - RDEPEND=3D"${RDEPEND} !!~dev-libs/glib-2.29.${i}" -done +RDEPEND=3D"${DEPEND}" +# To prevent circular dependencies with glib[test] +PDEPEND=3D">=3Ddev-libs/glib-${PV}:2" =20 S=3D"${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" =20 +pkg_setup() { + python_set_active_version 2 +} + src_prepare() { python_convert_shebangs 2 gdbus-codegen.in sed -e "s:@libdir@:${EPREFIX}/usr/$(get_libdir):" \ @@ -38,8 +36,9 @@ src_prepare() { -i config.py || die "sed config.py failed" } =20 -pkg_setup() { - python_set_active_version 2 +src_test() { + elog "Skipping tests. To test ${PN}, emerge dev-libs/glib" + elog "with FEATURES=3Dtest" } =20 src_install() { @@ -58,11 +57,6 @@ src_install() { die "doman failed" } =20 -src_test() { - elog "Skipping tests. To test ${PN}, emerge dev-libs/glib" - elog "with FEATURES=3Dtest" -} - pkg_postinst() { python_need_rebuild python_mod_optimize /usr/$(get_libdir)/gdbus-2.0/codegen