From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4412D138A6C for ; Sat, 18 Apr 2015 09:00:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 90EE6E094A; Sat, 18 Apr 2015 09:00:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A1FA5E093E for ; Sat, 18 Apr 2015 09:00:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C97DC3409D3 for ; Sat, 18 Apr 2015 09:00:09 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B0A1162E5 for ; Sat, 18 Apr 2015 09:00:04 +0000 (UTC) From: "Ole Reifschneider" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ole Reifschneider" Message-ID: <1429346963.f239068e4e3287e6063275306a018e76af604dd4.tranquility@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.44.0.ebuild dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild X-VCS-Directories: dev-util/gdbus-codegen/ X-VCS-Committer: tranquility X-VCS-Committer-Name: Ole Reifschneider X-VCS-Revision: f239068e4e3287e6063275306a018e76af604dd4 X-VCS-Branch: master Date: Sat, 18 Apr 2015 09:00:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e80d4c42-002b-4ebd-a5cd-f8be393c4448 X-Archives-Hash: c1c70950f7a6004557180f385897706f commit: f239068e4e3287e6063275306a018e76af604dd4 Author: Ole Reifschneider gentoo org> AuthorDate: Thu Apr 16 19:48:05 2015 +0000 Commit: Ole Reifschneider gentoo org> CommitDate: Sat Apr 18 08:49:23 2015 +0000 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=f239068e Add dev-util/gdbus-codegen-2.44.0 Package-Manager: portage-2.2.14 Manifest-Sign-Key: 7E8B4D42 dev-util/gdbus-codegen/gdbus-codegen-2.44.0.ebuild | 47 ++++++++++++++++++++++ dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild | 4 +- 2 files changed, 49 insertions(+), 2 deletions(-) diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.44.0.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.44.0.ebuild new file mode 100644 index 0000000..70c2a85 --- /dev/null +++ b/dev-util/gdbus-codegen/gdbus-codegen-2.44.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 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.42.2.ebuild,v 1.6 2015/03/29 10:12:52 jer Exp $ + +EAPI="5" +GNOME_ORG_MODULE="glib" +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="xml" + +inherit eutils gnome.org distutils-r1 + +DESCRIPTION="GDBus code and documentation generator" +HOMEPAGE="http://www.gtk.org/" + +LICENSE="LGPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos" +IUSE="" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +# To prevent circular dependencies with glib[test] +PDEPEND=">=dev-libs/glib-${PV}:2" + +S="${WORKDIR}/glib-${PV}/gio/gdbus-2.0/codegen" + +python_prepare_all() { + PATCHES=( + "${FILESDIR}/${PN}-2.40.0-sitedir.patch" + ) + distutils-r1_python_prepare_all + + sed -e 's:#!@PYTHON@:#!/usr/bin/env python:' gdbus-codegen.in > gdbus-codegen || die + cp "${FILESDIR}/setup.py-2.32.4" setup.py || die "cp failed" + sed -e "s/@PV@/${PV}/" -i setup.py || die "sed setup.py failed" +} + +src_test() { + einfo "Skipping tests. This package is tested by dev-libs/glib" + einfo "when merged with FEATURES=test" +} + +python_install_all() { + distutils-r1_python_install_all # no-op, but prevents QA warning + doman "${WORKDIR}/glib-${PV}/docs/reference/gio/gdbus-codegen.1" +} diff --git a/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild index 3314918..d5a9d4d 100644 --- a/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild +++ b/dev-util/gdbus-codegen/gdbus-codegen-9999.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2014 Gentoo Foundation +# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="5" GNOME_ORG_MODULE="glib" -PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} ) +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) PYTHON_REQ_USE="xml" inherit eutils python-r1