From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 D233C138334 for ; Fri, 26 Oct 2018 14:58:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D9DCEE0917; Fri, 26 Oct 2018 14:58:41 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AF2F9E0917 for ; Fri, 26 Oct 2018 14:58:41 +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 DBA63335C8D for ; Fri, 26 Oct 2018 14:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3266C3F0 for ; Fri, 26 Oct 2018 14:58:38 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1540565912.0e187eee1a015ef61d6d261f9c30aa25541a0906.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/stgit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/stgit/stgit-0.18.ebuild X-VCS-Directories: dev-vcs/stgit/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 0e187eee1a015ef61d6d261f9c30aa25541a0906 X-VCS-Branch: master Date: Fri, 26 Oct 2018 14:58:38 +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: 1712e166-9d98-49d3-9c97-2f340c92416a X-Archives-Hash: fa47eb13d8fd8bb03fb401de1e78d399 commit: 0e187eee1a015ef61d6d261f9c30aa25541a0906 Author: Yixun Lan gentoo org> AuthorDate: Fri Oct 26 14:36:46 2018 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Oct 26 14:58:32 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e187eee dev-vcs/stgit: fix show version err Closes: https://bugs.gentoo.org/657736 Signed-off-by: Yixun Lan gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-vcs/stgit/stgit-0.18.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-vcs/stgit/stgit-0.18.ebuild b/dev-vcs/stgit/stgit-0.18.ebuild index e56d0dbace5..11e95e4ec16 100644 --- a/dev-vcs/stgit/stgit-0.18.ebuild +++ b/dev-vcs/stgit/stgit-0.18.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -52,7 +52,7 @@ python_prepare_all() { # this will be a noop, as we are working with a tarball, # but throws git errors --> just get rid of it - sed -i -e 's/version\.write_builtin_version()//' setup.py || die + echo "version=\"${PV}\"" > "${S}"/stgit/builtin_version.py distutils-r1_python_prepare_all }