commit: 24d8f4014fa2ac555202dd1a4f83f4518950e1bd
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 21 16:17:43 2016 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sun Feb 21 16:17:43 2016 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=24d8f401
tarball: set version in setup.py too
tarball.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/tarball.sh b/tarball.sh
index b9f7841..930a4ef 100755
--- a/tarball.sh
+++ b/tarball.sh
@@ -27,6 +27,7 @@ fi
install -d -m0755 ${DEST}
rsync -a --exclude='.git' --exclude='.hg' . ${DEST}
sed -i -e '/^VERSION\s*=/s/^.*$/VERSION = "'${V}-prefix'"/'
${DEST}/pym/portage/__init__.py
+sed -i -e "/version = /s/'[^']\+'/'${V}-prefix'/" ${DEST}/setup.py
sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/man/{,ru/}*.[15]
sed -i -e "s/@version@/${V}/" ${DEST}/configure.ac