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 45F33139694 for ; Thu, 2 Mar 2017 08:48:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAE5921C100; Thu, 2 Mar 2017 08:48:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BC2AE21C100 for ; Thu, 2 Mar 2017 08:48:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B6A1234164A for ; Thu, 2 Mar 2017 08:48:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E3085999 for ; Thu, 2 Mar 2017 08:48:15 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <1488444484.12fa6743561e164442b35bbadc2c264370138ccb.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: / X-VCS-Repository: proj/portage X-VCS-Files: tarball.sh X-VCS-Directories: / X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 12fa6743561e164442b35bbadc2c264370138ccb X-VCS-Branch: prefix Date: Thu, 2 Mar 2017 08:48:15 +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: 7821c6a9-397d-4ab9-97cd-0b936d3eccfd X-Archives-Hash: 0f9d5f4182a54ec12adefd0d4cd96490 commit: 12fa6743561e164442b35bbadc2c264370138ccb Author: Fabian Groffen gentoo org> AuthorDate: Thu Mar 2 08:48:04 2017 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Mar 2 08:48:04 2017 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=12fa6743 tarball: exclude repoman sources tarball.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tarball.sh b/tarball.sh index 930a4efc3..9c3f64785 100755 --- a/tarball.sh +++ b/tarball.sh @@ -15,8 +15,11 @@ export DEST="${TMP}/${PKG}-${V}" ./tabcheck.py $( find ./ -name .git -o -name .hg -prune -o -type f ! -name '*.py' -print \ - | xargs grep -l "#\!@PREFIX_PORTAGE_PYTHON@" - find ./ -name .git -o -name .hg -prune -o -type f -name '*.py' -print + | xargs grep -l "#\!@PREFIX_PORTAGE_PYTHON@" \ + | grep -v "^\./repoman/" + find ./ -name .git -o -name .hg -prune -o -type f -name '*.py' -print \ + | grep -v "^\./repoman/" + ) if [[ -e ${DEST} ]]; then @@ -25,7 +28,7 @@ if [[ -e ${DEST} ]]; then fi install -d -m0755 ${DEST} -rsync -a --exclude='.git' --exclude='.hg' . ${DEST} +rsync -a --exclude='.git' --exclude='.hg' --exclude="repoman/" . ${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]