Skip to content

Commit

Permalink
pisi.struct -> pisi.data
Browse files Browse the repository at this point in the history
$ greptile -l -r -i -g pisi.data pisi.struct pisi
  • Loading branch information
examachine committed Feb 22, 2017
1 parent 7648123 commit b58ccf1
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 21 deletions.
12 changes: 6 additions & 6 deletions pisi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,23 +29,23 @@
import pisi.context as ctx
from pisi.uri import URI
import pisi.util as util
import pisi.struct as struct
import pisi.struct.dependency as dependency
import pisi.data as struct
import pisi.data.dependency as dependency
import pisi.pgraph as pgraph
import pisi.operations as operations
import pisi.db as db
#.package as packagedb
#import pisi.db.repo as repodb
#import pisi.db.install as installdb
#import pisi.db.source as sourcedb
import pisi.struct.component as component
from pisi.struct.index import Index
import pisi.data.component as component
from pisi.data.index import Index
import pisi.cli
from pisi.operations import install, remove, upgrade, emerge
from pisi.build import build_until
from pisi.atomicoperations import resurrect_package, build
from pisi.struct.metadata import MetaData
from pisi.struct.files import Files
from pisi.data.metadata import MetaData
from pisi.data.files import Files
from pisi.file import File
import pisi.search
import pisi.db.lockeddbshelve as shelve
Expand Down
8 changes: 4 additions & 4 deletions pisi/atomicoperations.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
import pisi
import pisi.context as ctx
import pisi.db.package as packagedb
import pisi.struct.dependency as dependency
import pisi.data.dependency as dependency
import pisi.util as util
from pisi.struct.specfile import *
from pisi.struct.metadata import MetaData
from pisi.struct.files import Files
from pisi.data.specfile import *
from pisi.data.metadata import MetaData
from pisi.data.files import Files
from pisi.uri import URI
import pisi.ui
from pisi.version import Version
Expand Down
10 changes: 5 additions & 5 deletions pisi/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@
_ = __trans.ugettext

import pisi
from pisi.struct.specfile import SpecFile
from pisi.data.specfile import SpecFile
import pisi.util as util
from pisi.util import join_path as join, parenturi
from pisi.file import File
import pisi.context as ctx
import pisi.struct.dependency as dependency
import pisi.data.dependency as dependency
import pisi.operations as operations
from pisi.sourcearchive import SourceArchive
from pisi.struct.files import Files, FileInfo
from pisi.data.files import Files, FileInfo
from pisi.fetcher import fetch_url
from pisi.uri import URI
from pisi.struct.metadata import MetaData
import pisi.struct.component as component
from pisi.data.metadata import MetaData
import pisi.data.component as component
from pisi.package import Package
import pisi.archive as archive
import pisi.actionsapi.variables
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pisi/struct/specfile.py → pisi/data/specfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def pkg_dir(self):
def installable(self):
"""calculate if pkg is installable currently"""
deps = self.runtimeDependencies()
return pisi.struct.dependency.satisfies_dependencies(self.name, deps)
return pisi.data.dependency.satisfies_dependencies(self.name, deps)

def __str__(self):
if self.build:
Expand Down
2 changes: 1 addition & 1 deletion pisi/db/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import pisi
import pisi.context as ctx
import lockeddbshelve as shelve
from pisi.struct.files import Files
from pisi.data.files import Files
import pisi.util as util
from pisi.util import join_path as join

Expand Down
4 changes: 2 additions & 2 deletions pisi/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
import pisi.context as ctx
from pisi.uri import URI
import pisi.util as util
import pisi.struct.dependency as dependency
import pisi.data.dependency as dependency
import pisi.pgraph as pgraph
import pisi.db.package as packagedb
import pisi.db.repo as repodb
import pisi.db.install as installdb
from pisi.struct.index import Index
from pisi.data.index import Index
import pisi.cli
import pisi.atomicoperations as atomicoperations
import pisi.ui as ui
Expand Down
4 changes: 2 additions & 2 deletions pisi/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
import pisi.context as ctx
import pisi.archive as archive
from pisi.uri import URI
from pisi.struct.metadata import MetaData
from pisi.struct.files import Files
from pisi.data.metadata import MetaData
from pisi.data.files import Files
import pisi.util as util

class Error(pisi.Error):
Expand Down

0 comments on commit b58ccf1

Please sign in to comment.