* [gentoo-commits] gentoo-x86 commit in dev-util/gdbus-codegen: metadata.xml ChangeLog gdbus-codegen-2.30.0.ebuild
@ 2011-09-27 13:02 Nirbheek Chauhan (nirbheek)
0 siblings, 0 replies; only message in thread
From: Nirbheek Chauhan (nirbheek) @ 2011-09-27 13:02 UTC (permalink / raw
To: gentoo-commits
nirbheek 11/09/27 13:02:37
Added: metadata.xml ChangeLog gdbus-codegen-2.30.0.ebuild
Log:
Move from GNOME overlay for GNOME 3.2. Ebuild by tetromino.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-util/gdbus-codegen/metadata.xml
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/metadata.xml?rev=1.1&content-type=text/plain
Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
</pkgmetadata>
1.1 dev-util/gdbus-codegen/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/ChangeLog?rev=1.1&content-type=text/plain
Index: ChangeLog
===================================================================
# 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 $
*gdbus-codegen-2.30.0 (27 Sep 2011)
27 Sep 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+gdbus-codegen-2.30.0.ebuild, +metadata.xml:
Move from GNOME overlay for GNOME 3.2. Ebuild by tetromino.
1.1 dev-util/gdbus-codegen/gdbus-codegen-2.30.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.0.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/gdbus-codegen/gdbus-codegen-2.30.0.ebuild?rev=1.1&content-type=text/plain
Index: gdbus-codegen-2.30.0.ebuild
===================================================================
# 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.0.ebuild,v 1.1 2011/09/27 13:02:37 nirbheek Exp $
EAPI="3"
GNOME_ORG_MODULE="glib"
GNOME_TARBALL_SUFFIX="xz"
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
}
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 || die "doins failed"
newbin gdbus-codegen.in gdbus-codegen || die "dobin failed"
doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" ||
die "doman failed"
}
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
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2011-09-27 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-27 13:02 [gentoo-commits] gentoo-x86 commit in dev-util/gdbus-codegen: metadata.xml ChangeLog gdbus-codegen-2.30.0.ebuild Nirbheek Chauhan (nirbheek)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox