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: Thu, 02 Mar 2017 08:48:51
Message-Id: 1488444484.12fa6743561e164442b35bbadc2c264370138ccb.grobian@gentoo
1 commit: 12fa6743561e164442b35bbadc2c264370138ccb
2 Author: Fabian Groffen <grobian <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 2 08:48:04 2017 +0000
4 Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 2 08:48:04 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=12fa6743
7
8 tarball: exclude repoman sources
9
10 tarball.sh | 9 ++++++---
11 1 file changed, 6 insertions(+), 3 deletions(-)
12
13 diff --git a/tarball.sh b/tarball.sh
14 index 930a4efc3..9c3f64785 100755
15 --- a/tarball.sh
16 +++ b/tarball.sh
17 @@ -15,8 +15,11 @@ export DEST="${TMP}/${PKG}-${V}"
18
19 ./tabcheck.py $(
20 find ./ -name .git -o -name .hg -prune -o -type f ! -name '*.py' -print \
21 - | xargs grep -l "#\!@PREFIX_PORTAGE_PYTHON@"
22 - find ./ -name .git -o -name .hg -prune -o -type f -name '*.py' -print
23 + | xargs grep -l "#\!@PREFIX_PORTAGE_PYTHON@" \
24 + | grep -v "^\./repoman/"
25 + find ./ -name .git -o -name .hg -prune -o -type f -name '*.py' -print \
26 + | grep -v "^\./repoman/"
27 +
28 )
29
30 if [[ -e ${DEST} ]]; then
31 @@ -25,7 +28,7 @@ if [[ -e ${DEST} ]]; then
32 fi
33
34 install -d -m0755 ${DEST}
35 -rsync -a --exclude='.git' --exclude='.hg' . ${DEST}
36 +rsync -a --exclude='.git' --exclude='.hg' --exclude="repoman/" . ${DEST}
37 sed -i -e '/^VERSION\s*=/s/^.*$/VERSION = "'${V}-prefix'"/' ${DEST}/pym/portage/__init__.py
38 sed -i -e "/version = /s/'[^']\+'/'${V}-prefix'/" ${DEST}/setup.py
39 sed -i -e "1s/VERSION/${V}-prefix/" ${DEST}/man/{,ru/}*.[15]