From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RvP0K-0007gq-Oq for garchives@archives.gentoo.org; Thu, 09 Feb 2012 08:05:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D65D9E0778; Thu, 9 Feb 2012 08:05:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id AB85DE0772 for ; Thu, 9 Feb 2012 08:05:10 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0B93B1B4038 for ; Thu, 9 Feb 2012 08:05:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9DBF3E53FF for ; Thu, 9 Feb 2012 08:05:07 +0000 (UTC) From: "Fabian Groffen" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabian Groffen" Message-ID: <9554b8be1fa3e72b3634954e0f57bc232b184441.grobian@gentoo> Subject: [gentoo-commits] proj/portage:prefix commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/BinpkgChpathtoolAsync.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: grobian X-VCS-Committer-Name: Fabian Groffen X-VCS-Revision: 9554b8be1fa3e72b3634954e0f57bc232b184441 Date: Thu, 9 Feb 2012 08:05:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3b18a807-5035-47ab-ac6d-6cb1cd3e979b X-Archives-Hash: 322f12193be3fb8ab063e0e4619edaee commit: 9554b8be1fa3e72b3634954e0f57bc232b184441 Author: Fabian Groffen gentoo org> AuthorDate: Thu Feb 9 08:04:34 2012 +0000 Commit: Fabian Groffen gentoo org> CommitDate: Thu Feb 9 08:04:34 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D9554b8be BinpkgChpathtoolAsync.py: remove now it's obsolete --- pym/_emerge/BinpkgChpathtoolAsync.py | 35 ----------------------------= ------ 1 files changed, 0 insertions(+), 35 deletions(-) diff --git a/pym/_emerge/BinpkgChpathtoolAsync.py b/pym/_emerge/BinpkgChp= athtoolAsync.py deleted file mode 100644 index 26f4fd5..0000000 --- a/pym/_emerge/BinpkgChpathtoolAsync.py +++ /dev/null @@ -1,35 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -from _emerge.SpawnProcess import SpawnProcess -# for an explanation on this logic, see pym/_emerge/__init__.py -import os -import sys -if os.environ.__contains__("PORTAGE_PYTHONPATH"): - sys.path.insert(0, os.environ["PORTAGE_PYTHONPATH"]) -else: - sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(os.path= .realpath(__file__))), "pym")) -import portage -class BinpkgChpathtoolAsync(SpawnProcess): - - __slots__ =3D ("buildprefix", "eprefix", "image_dir", "pkg", "work_dir"= ) - - _shell_binary =3D portage.const.BASH_BINARY - _chpathtool_binary =3D \ - os.path.join(portage.const.PORTAGE_BIN_PATH, "chpathtool") - - def _start(self): - b =3D os.path.join(self.work_dir, self.buildprefix.lstrip(os.path.sep)= ) - i =3D os.path.join(self.image_dir, self.eprefix.lstrip(os.path.sep)) - # make sure the directory structure for EPREFIX is set up in - # the image, but avoid the last directory being there, - # otherwise chpathtool will complain - portage.util.ensure_dirs(i) - os.rmdir(i) - self.args =3D [self._shell_binary, "-c", - "%s -q '%s' '%s' '%s' '%s'" % \ - (self._chpathtool_binary, b, i, self.buildprefix, self.eprefix)] - - self.env =3D self.pkg.root_config.settings.environ() - SpawnProcess._start(self) -