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 1RgpN0-0007xF-3A for garchives@archives.gentoo.org; Sat, 31 Dec 2011 03:12:30 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3037121C01F; Sat, 31 Dec 2011 03:12:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 63A8921C01F for ; Sat, 31 Dec 2011 03:12:17 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AEEE61B400F for ; Sat, 31 Dec 2011 03:12:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 181978004A for ; Sat, 31 Dec 2011 03:12:16 +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: <1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:master commit in: dev-util/gdbus-codegen/ X-VCS-Repository: proj/gnome X-VCS-Files: dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild X-VCS-Directories: dev-util/gdbus-codegen/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: 1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3 Date: Sat, 31 Dec 2011 03:12:16 +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: d4b36978-615b-4b35-a850-66eafe992925 X-Archives-Hash: 3dc15ca1cff5df0e165dca71234b11e1 commit: 1acdb5df5c14fbe284607cc34c4a5eabe8de7cb3 Author: Alexandre Rostovtsev gentoo org> AuthorDate: Sat Dec 31 03:11:45 2011 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Sat Dec 31 03:11:45 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D1acdb5df dev-util/gdbus-codegen: add 2.31.6 --- dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild | 70 ++++++++++++++= ++++++ 1 files changed, 70 insertions(+), 0 deletions(-) diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild b/dev-uti= l/gdbus-codegen/gdbus-codegen-2.31.6.ebuild new file mode 100644 index 0000000..25622a9 --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.31.6.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-= 2.30.2.ebuild,v 1.3 2011/12/29 17:36:36 pacho Exp $ + +EAPI=3D"4" +GNOME_ORG_MODULE=3D"glib" +PYTHON_DEPEND=3D"2:2.5" +PYTHON_USE_WITH=3D"xml" + +inherit gnome.org multilib python + +DESCRIPTION=3D"GDBus code and documentation generator" +HOMEPAGE=3D"http://www.gtk.org/" + +LICENSE=3D"LGPL-2" +SLOT=3D"0" +KEYWORDS=3D"~alpha amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~= sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux" +IUSE=3D"" + +DEPEND=3D"" +RDEPEND=3D"${DEPEND}" +# To prevent circular dependencies with glib[test] +PDEPEND=3D">=3Ddev-libs/glib-${PV}:2" + +S=3D"${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + python_convert_shebangs 2 gdbus-codegen.in + sed -e "s:@libdir@:${EPREFIX}/usr/$(get_libdir):" \ + -i gdbus-codegen.in || die "sed gdbus-codegen.in failed" + sed -e "s:\"/usr/local\":\"${EPREFIX}/usr\":" \ + -i config.py || die "sed config.py failed" +} + +src_test() { + elog "Skipping tests. To test ${PN}, emerge dev-libs/glib" + elog "with FEATURES=3Dtest" +} + +src_install() { + insinto "/usr/$(get_libdir)/gdbus-2.0/codegen" + + # Keep in sync with Makefile.am! + doins __init__.py \ + codegen.py \ + codegen_main.py \ + codegen_docbook.py \ + config.py \ + dbustypes.py \ + parser.py \ + utils.py + + newbin gdbus-codegen.in gdbus-codegen + + doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" +} + +pkg_postinst() { + python_need_rebuild + python_mod_optimize /usr/$(get_libdir)/gdbus-2.0/codegen +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/gdbus-2.0/codegen +}