From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id EC3251388C0 for ; Sun, 21 Feb 2016 16:17:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82B1921C027; Sun, 21 Feb 2016 16:17:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2D16421C027 for ; Sun, 21 Feb 2016 16:17:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DD43340C21 for ; Sun, 21 Feb 2016 16:17:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1BD01607 for ; Sun, 21 Feb 2016 16:17:53 +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: <1456071463.24d8f4014fa2ac555202dd1a4f83f4518950e1bd.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: 24d8f4014fa2ac555202dd1a4f83f4518950e1bd X-VCS-Branch: prefix Date: Sun, 21 Feb 2016 16:17:53 +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: b1054978-3632-48c5-bdbe-835e1a78899e X-Archives-Hash: 49bb343aa9d3da08d4b7a4ff188025c6 commit: 24d8f4014fa2ac555202dd1a4f83f4518950e1bd Author: Fabian Groffen gentoo org> AuthorDate: Sun Feb 21 16:17:43 2016 +0000 Commit: Fabian Groffen gentoo 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