From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1062692-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 439B3138334
	for <garchives@archives.gentoo.org>; Mon, 17 Dec 2018 17:12:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 07390E0A93;
	Mon, 17 Dec 2018 17:12:39 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id D082AE0A93
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Dec 2018 17:12:38 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 2D6CA335C39
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Dec 2018 17:12:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D7C1C42F
	for <gentoo-commits@lists.gentoo.org>; Mon, 17 Dec 2018 17:12:34 +0000 (UTC)
From: "Mart Raudsepp" <leio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mart Raudsepp" <leio@gentoo.org>
Message-ID: <1545066673.fc5f4a2b71e859085da69fee87116f3444fcb03c.leio@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gdbus-codegen/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild dev-util/gdbus-codegen/gdbus-codegen-2.58.1.ebuild
X-VCS-Directories: dev-util/gdbus-codegen/
X-VCS-Committer: leio
X-VCS-Committer-Name: Mart Raudsepp
X-VCS-Revision: fc5f4a2b71e859085da69fee87116f3444fcb03c
X-VCS-Branch: master
Date: Mon, 17 Dec 2018 17:12:34 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 839e81d9-8f9c-457f-8567-6131ecb7eb15
X-Archives-Hash: 3b6044337fe88428083ee63e0e2fc404

commit:     fc5f4a2b71e859085da69fee87116f3444fcb03c
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 17 17:10:04 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 17 17:11:13 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc5f4a2b

dev-util/gdbus-codegen-2.58.1: fix bump to actually work

Upstream migrated getting the version number from config file,
so that it is filled from version from build system only there
via an *.in file. Adapt to that, fixing gdbus-codegen to
actually be usable, instead of erroring on "import config" on
launch.

Closes: https://bugs.gentoo.org/673344
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11

 .../{gdbus-codegen-2.58.1.ebuild => gdbus-codegen-2.58.1-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-util/gdbus-codegen/gdbus-codegen-2.58.1.ebuild b/dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild
similarity index 97%
rename from dev-util/gdbus-codegen/gdbus-codegen-2.58.1.ebuild
rename to dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild
index 107019484b9..9f7004d0f1c 100644
--- a/dev-util/gdbus-codegen/gdbus-codegen-2.58.1.ebuild
+++ b/dev-util/gdbus-codegen/gdbus-codegen-2.58.1-r1.ebuild
@@ -35,6 +35,7 @@ python_prepare_all() {
 	distutils-r1_python_prepare_all
 
 	sed -e 's:@PYTHON@:python:' gdbus-codegen.in > gdbus-codegen || die
+	sed -e "s:@VERSION@:${PV}:" config.py.in > config.py || 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"
 }