# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
#!@PYTHON@ -O
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: $
+# $Id$
import sys
# This block ensures that ^C interrupts are handled quietly.
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: __init__.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: anydbm.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
anydbm_module = __import__("anydbm")
try:
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: cache_errors.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
class CacheError(Exception): pass
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: flat_list.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
from portage.cache import fs_template
from portage.cache import cache_errors
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: fs_template.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
import os
from portage.cache import template
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: mappings.py 2015 2005-09-20 23:14:26Z ferringb $
+# $Id$
import UserDict
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: metadata.py 1964 2005-09-03 00:16:16Z ferringb $
+# $Id$
import os, stat
from portage.cache import flat_hash
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: sql_template.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
from portage.cache import template, cache_errors
from portage.cache.template import reconstruct_eclasses
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: template.py 1911 2005-08-25 03:44:21Z ferringb $
+# $Id$
from portage.cache import cache_errors
from portage.cache.cache_errors import InvalidRestriction
# Copyright: 2005 Gentoo Foundation
# Author(s): Brian Harring (ferringb@gentoo.org)
# License: GPL2
-# $Id: $
+# $Id$
from itertools import chain
from portage.cache import cache_errors
# checksum.py -- core Portage functionality
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_checksum.py 3835 2006-07-11 00:59:10Z zmedico $
+# $Id$
from portage.const import PRIVATE_PATH,PRELINK_BINARY,HASHING_BLOCKSIZE
import os
# portage: Constants
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_const.py 3483 2006-06-10 21:40:40Z genone $
+# $Id$
import os
# ===========================================================================
# Copyright: 2005-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: $
+# $Id$
# all vars that are to wind up in portage_const must have their name listed in __all__
# cvstree.py -- cvs tree utilities
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: /var/cvsroot/gentoo-src/portage/pym/cvstree.py,v 1.12.2.1 2005/01/16 02:35:33 carpaski Exp $
+# $Id$
import os,time,sys,re
# data.py -- Calculated/Discovered Data Values
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: $
+# $Id$
import os, sys, pwd, grp
from portage.util import writemsg
# deps.py -- Portage dependency resolution functions
# Copyright 2003-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_dep.py 4598 2006-10-05 11:52:50Z zmedico $
+# $Id$
# DEPEND SYNTAX:
# archive_conf.py -- functionality common to archive-conf and dispatch-conf
# Copyright 2003-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: /var/cvsroot/gentoo-src/portage/pym/dispatch_conf.py,v 1.3.2.3 2005/04/29 03:37:30 jstubbs Exp $
+# $Id$
# Library by Wayne Davison <gentoo@blorf.net>, derived from code
# elog/messages.py - elog core functions
# Copyright 2006-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: __init__.py 6458 2007-04-30 02:31:30Z genone $
+# $Id$
from portage.const import EBUILD_PHASES
# elog/messages.py - elog core functions
# Copyright 2006-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: __init__.py 6458 2007-04-30 02:31:30Z genone $
+# $Id$
from portage.output import colorize
from portage.const import EBUILD_PHASES
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_exception.py 3483 2006-06-10 21:40:40Z genone $
+# $Id$
class PortageException(Exception):
# getbinpkg.py -- Portage binary-package helper functions
# Copyright 2003-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: getbinpkg.py 3483 2006-06-10 21:40:40Z genone $
+# $Id$
from portage.output import red, yellow, green
import portage.xpak
# gpg.py -- core Portage functionality
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_gpg.py 3483 2006-06-10 21:40:40Z genone $
+# $Id$
import os
# localization.py -- Code to manage/help portage localization.
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_localization.py 3483 2006-06-10 21:40:40Z genone $
+# $Id$
# We define this to make the transition easier for us.
# portage: Lock management code
# Copyright 2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_locks.py 4449 2006-09-14 07:52:39Z zmedico $
+# $Id$
import errno, os, stat, time, types
# Copyright 1998-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: output.py 4554 2006-09-29 02:10:29Z zmedico $
+# $Id$
__docformat__ = "epytext"
# Copyright 2001-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: /var/cvsroot/gentoo-src/portage/pym/xpak.py,v 1.13.2.3 2005/02/26 11:22:38 carpaski Exp $
+# $Id$
# The format for a tbz2/xpak:
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5782 2007-01-25 17:07:32Z genone $
+# $Id$
"""
Special edition of portage_compat_namespace.py as for this module we can't translate
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load
# portage_compat_namespace.py -- provide compability layer with new namespace
# Copyright 2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: portage_compat_namespace.py 5981 2007-02-17 13:11:28Z genone $
+# $Id$
"""
This module checks the name under which it is imported and attempts to load