Gentoo Archives: gentoo-commits

From: Fabian Groffen <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:prefix commit in: /
Date: Sun, 21 Feb 2016 16:17:59
Message-Id: 1456071463.24d8f4014fa2ac555202dd1a4f83f4518950e1bd.grobian@gentoo
1 commit: 24d8f4014fa2ac555202dd1a4f83f4518950e1bd
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 21 16:17:43 2016 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 21 16:17:43 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=24d8f401
7
8 tarball: set version in setup.py too
9
10 tarball.sh | 1 +
11 1 file changed, 1 insertion(+)
12
13 diff --git a/tarball.sh b/tarball.sh
14 index b9f7841..930a4ef 100755
15 --- a/tarball.sh
16 +++ b/tarball.sh
17 @@ -27,6 +27,7 @@ fi
18 install -d -m0755 ${DEST}
19 rsync -a --exclude='.git' --exclude='.hg' . ${DEST}
20 sed -i -e '/^VERSION\s*=/s/^.*$/VERSION = "'${V}-prefix'"/' ${DEST}/pym/portage/__init__.py
21 +sed -i -e "/version = /s/'[^']\+'/'${V}-prefix'/" ${DEST}/setup.py
22 sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/man/{,ru/}*.[15]
23 sed -i -e "s/@version@/${V}/" ${DEST}/configure.ac