summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-10-16 19:24:10 +0000
committerPacho Ramos <pacho@gentoo.org>2011-10-16 19:24:10 +0000
commit74666a4b37f8ec9f996cb62b4211f434a039c312 (patch)
treea32a3596dc94fac0ded9bc0352b5bd7b2478226e /dev-util
parentunp version bump (diff)
downloadgentoo-2-74666a4b37f8ec9f996cb62b4211f434a039c312.tar.gz
gentoo-2-74666a4b37f8ec9f996cb62b4211f434a039c312.tar.bz2
gentoo-2-74666a4b37f8ec9f996cb62b4211f434a039c312.zip
Version bump.
(Portage version: 2.1.10.27/cvs/Linux x86_64)
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gdbus-codegen/ChangeLog7
-rw-r--r--dev-util/gdbus-codegen/gdbus-codegen-2.30.1.ebuild71
2 files changed, 77 insertions, 1 deletions
diff --git a/dev-util/gdbus-codegen/ChangeLog b/dev-util/gdbus-codegen/ChangeLog
index 53408a6fca92..ba77eaaf7252 100644
--- a/dev-util/gdbus-codegen/ChangeLog
+++ b/dev-util/gdbus-codegen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/gdbus-codegen
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/ChangeLog,v 1.1 2011/09/27 13:02:37 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gdbus-codegen/ChangeLog,v 1.2 2011/10/16 19:24:10 pacho Exp $
+
+*gdbus-codegen-2.30.1 (16 Oct 2011)
+
+ 16 Oct 2011; Pacho Ramos <pacho@gentoo.org> +gdbus-codegen-2.30.1.ebuild:
+ Version bump.
*gdbus-codegen-2.30.0 (27 Sep 2011)
diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.30.1.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.30.1.ebuild
new file mode 100644
index 000000000000..5f6d175b6e7e
--- /dev/null
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.30.1.ebuild
@@ -0,0 +1,71 @@
+# 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.1.ebuild,v 1.1 2011/10/16 19:24:10 pacho Exp $
+
+EAPI="4"
+GNOME_ORG_MODULE="glib"
+PYTHON_DEPEND="2:2.5"
+PYTHON_USE_WITH="xml"
+
+inherit gnome.org multilib python
+
+DESCRIPTION="GDBus code and documentation generator"
+HOMEPAGE="http://www.gtk.org/"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
+~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-linux"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+# To prevent circular dependencies with glib[test]
+PDEPEND=">=dev-libs/glib-${PV}:2"
+
+S="${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=test"
+}
+
+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
+}