* clean headers
This commit is contained in:
@@ -8,9 +8,6 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
|
||||||
# Authors: Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
# Baris Metin <baris at pardus.org.tr>
|
|
||||||
|
|
||||||
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
"""Top level PISI interfaces. a facade to the entire PISI system"""
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -9,8 +9,8 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Archive module provides access to regular archive file types.
|
|
||||||
# maintainer baris and meren
|
"""Archive module provides access to regular archive file types."""
|
||||||
|
|
||||||
# standard library modules
|
# standard library modules
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -8,10 +8,8 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
"Atomic package operations such as install/remove/upgrade"
|
"""Atomic package operations such as install/remove/upgrade"""
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
__trans = gettext.translation('pisi', fallback=True)
|
__trans = gettext.translation('pisi', fallback=True)
|
||||||
|
|||||||
@@ -8,10 +8,6 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
|
||||||
# Authors: Baris Metin <baris at pardus.org.tr>
|
|
||||||
# A. Murat Eren <meren at pardus.org.tr>
|
|
||||||
# Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
|
|
||||||
"""package building code"""
|
"""package building code"""
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@
|
|||||||
# 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."""
|
||||||
|
|
||||||
import pisi.context as ctx
|
import pisi.context as ctx
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
__trans = gettext.translation('pisi', fallback=True)
|
__trans = gettext.translation('pisi', fallback=True)
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Baris Metin <baris@pardus.org.tr>
|
|
||||||
# Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
PISI Configuration module is used for gathering and providing
|
PISI Configuration module is used for gathering and providing
|
||||||
|
|||||||
@@ -10,11 +10,6 @@
|
|||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Context module.
|
|
||||||
|
|
||||||
# Authors: Baris Metin <baris@pardus.org.tr
|
|
||||||
# Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
# global variables here
|
# global variables here
|
||||||
|
|
||||||
import pisi.constants
|
import pisi.constants
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
"""dependency analyzer"""
|
"""dependency analyzer"""
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
generic file abstraction that allows us to use URIs for everything
|
generic file abstraction that allows us to use URIs for everything
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.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.'''
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
|
|
||||||
"""PISI source/package index"""
|
"""PISI source/package index"""
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
#
|
#
|
||||||
# installation database
|
# installation database
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
# System
|
# System
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import fcntl
|
import fcntl
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import fcntl
|
import fcntl
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Metadata module provides access to metadata.xml. metadata.xml is
|
Metadata module provides access to metadata.xml. metadata.xml is
|
||||||
|
|||||||
+1
-2
@@ -9,9 +9,8 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
|
|
||||||
"Package Operations: install/remove/upgrade"
|
"""Package Operations: install/remove/upgrade"""
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import sys
|
import sys
|
||||||
|
|||||||
+1
-4
@@ -10,10 +10,7 @@
|
|||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
|
|
||||||
# package abstraction
|
"""package abstraction 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, basename, dirname
|
from os.path import join, exists, basename, dirname
|
||||||
|
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
# Baris Metin <baris at pardus.org.tr>
|
|
||||||
|
|
||||||
"""package database
|
"""package database
|
||||||
interface for update/query to local package repository
|
interface for update/query to local package repository
|
||||||
|
|||||||
@@ -9,12 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Gurer Ozen <gurer@pardus.org.tr>
|
|
||||||
# Bahadir Kandemir <bahadir@haftalik.net>
|
|
||||||
# Baris Metin <baris@pardus.org.tr>
|
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
autoxml is a metaclass for automatic XML translation, using
|
autoxml is a metaclass for automatic XML translation, using
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from xmlextpiks import *
|
from xmlextpiks import *
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr
|
|
||||||
# Gurer Ozen <gurer@pardus.org.tr>
|
|
||||||
# Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
xmlext is a helper module for accessing XML files using
|
xmlext is a helper module for accessing XML files using
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr
|
|
||||||
# Gurer Ozen <gurer@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
xmlext is a helper module for accessing XML files using
|
xmlext is a helper module for accessing XML files using
|
||||||
|
|||||||
@@ -9,10 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray at pardus.org.tr>
|
|
||||||
# Gurer Ozen <gurer at pardus.org.tr>
|
|
||||||
#
|
|
||||||
# piksemel written by Gurer Ozen <gurer at pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
xmlext is a helper module for accessing XML files using
|
xmlext is a helper module for accessing XML files using
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
import pisi.context
|
import pisi.context
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr
|
|
||||||
# Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
XmlFile class further abstracts a dom object using the
|
XmlFile class further abstracts a dom object using the
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr
|
|
||||||
# Gurer Ozen <gurer@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
XmlFile class further abstracts a dom object using the
|
XmlFile class further abstracts a dom object using the
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Author: Eray Ozkural
|
|
||||||
|
|
||||||
import os, fcntl
|
import os, fcntl
|
||||||
|
|
||||||
import gettext
|
import gettext
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
class Actions:
|
class Actions:
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import pisi.util as util
|
import pisi.util as util
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
from pisi.specfile import SpecFile, Package, Update, Path
|
from pisi.specfile import SpecFile, Package, Update, Path
|
||||||
from pisi.dependency import Dependency
|
from pisi.dependency import Dependency
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Faik Uygur <faik@pardus.org.tr>
|
|
||||||
|
|
||||||
ADDED, REMOVED, INIT = range(3)
|
ADDED, REMOVED, INIT = range(3)
|
||||||
PARTOF, VERSION, CONFLICT, DEPENDENCY = range(4)
|
PARTOF, VERSION, CONFLICT, DEPENDENCY = range(4)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
n# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2005, TUBITAK/UEKAE
|
# Copyright (C) 2005, TUBITAK/UEKAE
|
||||||
#
|
#
|
||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
#
|
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
import pisi
|
import pisi
|
||||||
import pisi.context as ctx
|
import pisi.context as ctx
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
import types
|
import types
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
#
|
|
||||||
# rev 1: very simple tokenization, for testing
|
|
||||||
|
|
||||||
import string
|
import string
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
# any later version.
|
# any later version.
|
||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
|
||||||
# Authors: Baris Metin <baris@pardus.org.tr>
|
|
||||||
# Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
# python standard library
|
# python standard library
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Author: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
package source database
|
package source database
|
||||||
|
|||||||
@@ -9,8 +9,6 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr>
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Specfile module is our handler for PSPEC files. PSPEC (PISI SPEC)
|
Specfile module is our handler for PSPEC files. PSPEC (PISI SPEC)
|
||||||
|
|||||||
@@ -11,8 +11,6 @@
|
|||||||
#
|
#
|
||||||
# generic user interface
|
# generic user interface
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# A. Murat Eren <meren@pardus.org.tr>
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
|||||||
+3
-2
@@ -9,8 +9,9 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Simplifies working with URLs, purl module provides common URL
|
|
||||||
# parsing and processing
|
"""Simplifies working with URLs, purl module provides common URL
|
||||||
|
parsing and processing"""
|
||||||
|
|
||||||
from urlparse import urlparse
|
from urlparse import urlparse
|
||||||
from os.path import basename
|
from os.path import basename
|
||||||
|
|||||||
+1
-6
@@ -10,12 +10,7 @@
|
|||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
|
|
||||||
# misc. utility functions, including process and file utils
|
"""misc. utility functions, including process and file utils"""
|
||||||
|
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr>
|
|
||||||
# S. Caglar Onur <caglar@pardus.org.tr>
|
|
||||||
# A. Murat Eren <meren@pardus.org.tr>
|
|
||||||
|
|
||||||
# standard python modules
|
# standard python modules
|
||||||
import os
|
import os
|
||||||
|
|||||||
@@ -9,18 +9,9 @@
|
|||||||
#
|
#
|
||||||
# Please read the COPYING file.
|
# Please read the COPYING file.
|
||||||
#
|
#
|
||||||
# Authors: Eray Ozkural <eray@pardus.org.tr>
|
|
||||||
# Baris Metin <baris@pardus.org.tr>
|
|
||||||
#
|
|
||||||
# History:
|
|
||||||
# Eray wrote the first version
|
|
||||||
# Baris added support for the fancy keywords and
|
|
||||||
# alphanumeric version string components
|
|
||||||
|
|
||||||
|
|
||||||
"""version structure"""
|
"""version structure"""
|
||||||
|
|
||||||
|
|
||||||
import re
|
import re
|
||||||
import string
|
import string
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user