nxpakactions
index
/home/andrew/Projects/nxpak/src/nxpakactions.py

# $Id: nxpakactions.html,v 1.6 2003/08/16 02:07:06 merlin262 Exp $

# (C)opyright 2002, 2003 Andrew McCall
#
# nxpakactions.py: Actions for nxpak
#
# NxPak is small, yet extremely powerful package manager.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

# Contributors:
#    andrew@textux.com
#

 
Modules
       
nxpackage
nxpk
os
pkgbuilder
string
sys

 
Classes
       
Act_Actions
Act_Archive
Act_Build
Act_Dump
Act_Extract
Act_Help
Act_Query
Act_Remove
Act_Requirements
Act_TestCreate
Act_Update
Act_Upgrade
Act_Version
ArgumentParser
InvalidOption
InvalidOptionFormat

 
class Act_Actions
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Archive
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Build
    #######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Dump
    #######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Extract
    #######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Help
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Query
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Remove
     Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Requirements
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_TestCreate
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Update
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Upgrade
    #######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self)
shortdesc(self)

 
class Act_Version
    ######################################################################
 
  Methods defined here:
__init__(self)
exec_action(self, arguments)
help(self, arguments)
shortdesc(self)

 
class ArgumentParser
    #######################################################################
 
  Methods defined here:
__init__(self, arg_dict, arg_defaults)
parse_options(self, arguments)
print_help(self, actname)

 
class InvalidOption
     Methods defined here:
__init__(self, option)

 
class InvalidOptionFormat
    #######################################################################
 
  Methods defined here:
__init__(self)

 
Functions
       
print_header()

 
Data
        CPU_ARCH = 'i686'
MasterActionList = {'actions': <nxpakactions.Act_Actions instance>, 'archive': <nxpakactions.Act_Archive instance>, 'build': <nxpakactions.Act_Build instance>, 'dump': <nxpakactions.Act_Dump instance>, 'extract': <nxpakactions.Act_Extract instance>, 'help': <nxpakactions.Act_Help instance>, 'install': <nxactinstall.Act_Install instance>, 'query': <nxpakactions.Act_Query instance>, 'remove': <nxpakactions.Act_Remove instance>, 'requirements': <nxpakactions.Act_Requirements instance>, ...}
NCONS_BUILD_ROOT = '/tmp/nxpackage/build/'
NCONS_CHROOT_ROOT = '/tmp/nxpackage/chroot/'
NCONS_CLASSES = {'': 'Uncategorized Software', 'application': 'Uncategorized application', 'devel': 'Software development', 'editors': 'Text editors', 'games': 'Fun and games', 'gui': 'GUI toolkits and support', 'media': 'Multimedia Applications', 'service': 'Provides a server or system service', 'system': 'Basic system software', 'util': 'General uncategorized utilities', ...}
NCONS_DEST_ROOT = '/system/nxpkg//packages/'
NCONS_DOWNLOAD_ROOT = '/system/nxpkg/download/'
NCONS_NCONS_BUILD = '/tmp/nxpackage/'
NCONS_NCONS_ROOT = '/system/nxpkg/'
NCONS_SCRIPT_ROOT = '/tmp/nxpackage/script/'
NCONS_SERVICE_TYPES = ['service']
NCONS_TYPE_CONF = 'c'
NCONS_TYPE_DEVEL = 'd'
NCONS_TYPE_DEVICE = 'v'
NCONS_TYPE_EXE = 'e'
NCONS_TYPE_GENERAL = 'g'
NCONS_TYPE_INFO = 'i'
NCONS_TYPE_LIB = 'l'
NCONS_TYPE_LOCALES = 'o'
NCONS_TYPE_MAN = 'm'
NCONS_TYPE_SHARE = 's'
NCONS_VERBOSE = 1
NXPAK_VERSION = '0.2.5'
SYS_ARCH = 'i686-pc-linux-gnu'