* if you want to make the email addresses unparseable or remove them, feel free to do that, but don't remove the goddamn author names please
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
# PiSi version
|
# PiSi version
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import pisi
|
import pisi
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
import shutil
|
import shutil
|
||||||
import string
|
|
||||||
import pwd
|
import pwd
|
||||||
import grp
|
import grp
|
||||||
|
|
||||||
@@ -200,5 +199,5 @@ def dirName(sourceFile):
|
|||||||
return os.path.dirname(sourceFile)
|
return os.path.dirname(sourceFile)
|
||||||
|
|
||||||
def system(command):
|
def system(command):
|
||||||
command = string.join(string.split(command))
|
command = command.replace(" ", "")
|
||||||
run_batch(command, True)
|
run_batch(command, True)
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
|
||||||
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"Atomic package operations such as install/remove/upgrade"
|
"Atomic package operations such as install/remove/upgrade"
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# package bulding stuff
|
# package bulding stuff
|
||||||
|
# maintainer: baris and meren
|
||||||
|
|
||||||
# python standard library
|
# python standard library
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import locale
|
import locale
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
# Colors module provides some color codes for console output.
|
# Colors module provides some color codes for console output.
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from optparse import OptionParser
|
from optparse import OptionParser
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Baris Metin <baris@uludag.org.tr>
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
|
||||||
import comar
|
import comar
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
__trans = gettext.translation('pisi', fallback=True)
|
__trans = gettext.translation('pisi', fallback=True)
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Baris Metin <baris@uludag.org.tr>
|
||||||
|
# Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
PISI Configuration module is used for gathering and providing
|
PISI Configuration module is used for gathering and providing
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- conding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2005, TUBITAK/UEKAE
|
# Copyright (C) 2005, TUBITAK/UEKAE
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -14,6 +14,8 @@
|
|||||||
# If you have a "magic" constant value this is where it should be
|
# If you have a "magic" constant value this is where it should be
|
||||||
# defined.
|
# defined.
|
||||||
|
|
||||||
|
# Author: Baris Metin <baris@uludag.org.tr
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
__trans = gettext.translation('pisi', fallback=True)
|
__trans = gettext.translation('pisi', fallback=True)
|
||||||
_ = __trans.ugettext
|
_ = __trans.ugettext
|
||||||
|
|||||||
@@ -12,6 +12,9 @@
|
|||||||
|
|
||||||
# Context module.
|
# Context module.
|
||||||
|
|
||||||
|
# Authors: Baris Metin <baris@uludag.org.tr
|
||||||
|
# Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
# global variables here
|
# global variables here
|
||||||
|
|
||||||
import pisi.constants
|
import pisi.constants
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"""dependency analyzer"""
|
"""dependency analyzer"""
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
"""Yet another Pisi module for fetching files from various sources. Of
|
"""Yet another Pisi module for fetching files from various sources. Of
|
||||||
course, this is not limited to just fetching source files. We fetch
|
course, this is not limited to just fetching source files. We fetch
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
generic file abstraction that allows us to use URIs for everything
|
generic file abstraction that allows us to use URIs for everything
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
'''Files module provides access to files.xml. files.xml is generated
|
'''Files module provides access to files.xml. files.xml is generated
|
||||||
during the build process of a package and used in installation.'''
|
during the build process of a package and used in installation.'''
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
|
|
||||||
"""PISI source/package index"""
|
"""PISI source/package index"""
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
# installation database
|
# installation database
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
# System
|
# System
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
import bsddb3.db as db
|
import bsddb3.db as db
|
||||||
import bsddb3.dbobj as dbobj
|
import bsddb3.dbobj as dbobj
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Metadata module provides access to metadata.xml. metadata.xml is
|
Metadata module provides access to metadata.xml. metadata.xml is
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"Package Operations: install/remove/upgrade"
|
"Package Operations: install/remove/upgrade"
|
||||||
|
|
||||||
|
|||||||
@@ -13,6 +13,8 @@
|
|||||||
# package abstraction
|
# package abstraction
|
||||||
# provides methods to add/remove files, extract control files
|
# provides methods to add/remove files, extract control files
|
||||||
|
|
||||||
|
# maintainer: baris and meren
|
||||||
|
|
||||||
from os.path import join, exists
|
from os.path import join, exists
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
|||||||
@@ -13,6 +13,9 @@
|
|||||||
# package database
|
# package database
|
||||||
# interface for update/query to local package repository
|
# interface for update/query to local package repository
|
||||||
|
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
|
||||||
# we basically store everything in PackageInfo class
|
# we basically store everything in PackageInfo class
|
||||||
# yes, we are cheap
|
# yes, we are cheap
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import locale
|
import locale
|
||||||
|
|||||||
@@ -8,6 +8,13 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
# Bahadir Kandemir <bahadir@haftalik.net>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
autoxml is a metaclass for automatic XML translation, using
|
autoxml is a metaclass for automatic XML translation, using
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
try:
|
try:
|
||||||
zimbabwe # comment out to disable piks
|
zimbabwe # comment out to disable piks
|
||||||
|
|||||||
@@ -8,6 +8,11 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
# Faik Uygur <faikuygur@gmail.com>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
xmlext is a helper module for accessing XML files using
|
xmlext is a helper module for accessing XML files using
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
xmlext is a helper module for accessing XML files using
|
xmlext is a helper module for accessing XML files using
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
some helper functions for high-level access to XML structures
|
some helper functions for high-level access to XML structures
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
import pisi.context
|
import pisi.context
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
# Faik Uygur <faikuygur@gmail.com>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
XmlFile class further abstracts a dom object using the
|
XmlFile class further abstracts a dom object using the
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
XmlFile class further abstracts a dom object using the
|
XmlFile class further abstracts a dom object using the
|
||||||
|
|||||||
@@ -8,6 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Gurer Ozen <gurer@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr
|
||||||
|
|
||||||
"""
|
"""
|
||||||
XmlFile class further abstracts a dom object using the
|
XmlFile class further abstracts a dom object using the
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
|
# Author: Eray Ozkural
|
||||||
|
|
||||||
import os, fcntl
|
import os, fcntl
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
import pisi
|
import pisi
|
||||||
import pisi.context as ctx
|
import pisi.context as ctx
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
import types
|
import types
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,7 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
|
||||||
import tokenize
|
import tokenize
|
||||||
|
|
||||||
|
|||||||
@@ -9,6 +9,8 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
#
|
||||||
# rev 1: very simple tokenization, for testing
|
# rev 1: very simple tokenization, for testing
|
||||||
|
|
||||||
import string
|
import string
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Baris Metin <baris@uludag.org.tr>
|
||||||
|
# Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
# python standard library
|
# python standard library
|
||||||
|
|
||||||
|
|||||||
@@ -8,6 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Author: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
package source database
|
package source database
|
||||||
|
|||||||
@@ -8,6 +8,9 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Specfile module is our handler for PSPEC files. PSPEC (PISI SPEC)
|
Specfile module is our handler for PSPEC files. PSPEC (PISI SPEC)
|
||||||
|
|||||||
@@ -10,6 +10,9 @@
|
|||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# generic user interface
|
# generic user interface
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# A. Murat Eren <meren@uludag.org.tr>
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|||||||
@@ -12,6 +12,11 @@
|
|||||||
|
|
||||||
# misc. utility functions, including process and file utils
|
# misc. utility functions, including process and file utils
|
||||||
|
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
# S. Caglar Onur <caglar@uludag.org.tr>
|
||||||
|
# A. Murat Eren <meren@uludag.org.tr>
|
||||||
|
|
||||||
# standard python modules
|
# standard python modules
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
|
|||||||
+4
-1
@@ -8,7 +8,10 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
|
#
|
||||||
|
# Authors: Eray Ozkural <eray@uludag.org.tr>
|
||||||
|
# Baris Metin <baris@uludag.org.tr>
|
||||||
|
#
|
||||||
# History:
|
# History:
|
||||||
# Eray wrote the first version
|
# Eray wrote the first version
|
||||||
# Baris added support for the fancy keywords and
|
# Baris added support for the fancy keywords and
|
||||||
|
|||||||
Reference in New Issue
Block a user