summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2018-10-26 22:36:46 +0800
committerYixun Lan <dlan@gentoo.org>2018-10-26 22:58:32 +0800
commit0e187eee1a015ef61d6d261f9c30aa25541a0906 (patch)
treef5ba073a56ab88ce4921250a2f628bf57eb1aea1 /dev-vcs
parentdev-util/lttng-ust: amd64 stable wrt bug #664316 (diff)
downloadgentoo-0e187eee1a015ef61d6d261f9c30aa25541a0906.tar.gz
gentoo-0e187eee1a015ef61d6d261f9c30aa25541a0906.tar.bz2
gentoo-0e187eee1a015ef61d6d261f9c30aa25541a0906.zip
dev-vcs/stgit: fix show version err
Closes: https://bugs.gentoo.org/657736 Signed-off-by: Yixun Lan <dlan@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/stgit/stgit-0.18.ebuild4
1 files 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
}