Browse Source

Перенос модуля в calculate-lib

tags/3.2.2_beta3
Mike Khiretskiy 6 years ago
parent
commit
2e7922fa01
9 changed files with 8 additions and 1019 deletions
  1. +1
    -1
      pym/update/emerge_parser.py
  2. +0
    -1011
      pym/update/package_tools.py
  3. +1
    -1
      pym/update/profile.py
  4. +1
    -1
      pym/update/update.py
  5. +1
    -1
      pym/update/utils/cl_setup_update.py
  6. +1
    -1
      pym/update/utils/cl_update.py
  7. +1
    -1
      pym/update/utils/cl_update_profile.py
  8. +1
    -1
      pym/update/variables/update.py
  9. +1
    -1
      pym/update/wsdl_update.py

+ 1
- 1
pym/update/emerge_parser.py View File

@@ -22,7 +22,7 @@ import re
import sys
from calculate.lib.utils.colortext.palette import TextState
from calculate.lib.utils.tools import ignore
from package_tools import EmergePackage, PackageList, EmergeUpdateInfo, \
from calculate.lib.utils.portage import EmergePackage, PackageList, EmergeUpdateInfo, \
EmergeRemoveInfo, Git, GitError

Colors = TextState.Colors


+ 0
- 1011
pym/update/package_tools.py
File diff suppressed because it is too large
View File


+ 1
- 1
pym/update/profile.py View File

@@ -19,7 +19,7 @@ import shutil
import os
from calculate.lib.utils.files import listDirectory, readFile, readLinesFile, \
makeDirectory, removeDir
from package_tools import Git
from calculate.lib.utils.portage import Git
from update import UpdateError

from calculate.lib.cl_lang import setLocalTranslate, _


+ 1
- 1
pym/update/update.py View File

@@ -32,7 +32,7 @@ from calculate.update.datavars import DataVarsUpdate
import re
from collections import MutableSet

from package_tools import Git, Layman,\
from calculate.lib.utils.portage import Git, Layman,\
EmergeLogNamedTask, EmergeLog, GitError, \
PackageInformation, PackageList, EmergePackage



+ 1
- 1
pym/update/utils/cl_setup_update.py View File

@@ -19,7 +19,7 @@ from calculate.core.server.func import Action, Tasks
from calculate.lib.cl_lang import setLocalTranslate, getLazyLocalTranslate
from calculate.lib.utils.files import FilesError
from calculate.update.update import UpdateError
from calculate.update.package_tools import GitError
from calculate.lib.utils.portage import GitError

setLocalTranslate('cl_update3', sys.modules[__name__])
__ = getLazyLocalTranslate(_)


+ 1
- 1
pym/update/utils/cl_update.py View File

@@ -21,7 +21,7 @@ from calculate.lib.utils.colortext import get_color_print, Colors
from calculate.lib.utils.files import FilesError
from calculate.update.update import UpdateError
from calculate.update.emerge_parser import EmergeError
from calculate.update.package_tools import GitError, Eix, EmergeLog, \
from calculate.lib.utils.portage import GitError, Eix, EmergeLog, \
EmergeLogNamedTask, PackageList

setLocalTranslate('cl_update3', sys.modules[__name__])


+ 1
- 1
pym/update/utils/cl_update_profile.py View File

@@ -19,7 +19,7 @@ from calculate.core.server.func import Action, Tasks
from calculate.lib.cl_lang import setLocalTranslate, getLazyLocalTranslate
from calculate.lib.utils.files import FilesError
from calculate.update.update import UpdateError
from calculate.update.package_tools import GitError
from calculate.lib.utils.portage import GitError

setLocalTranslate('cl_update3', sys.modules[__name__])
__ = getLazyLocalTranslate(_)


+ 1
- 1
pym/update/variables/update.py View File

@@ -27,7 +27,7 @@ from calculate.lib.utils.files import readLinesFile, readFile, makeDirectory, \

from calculate.lib.cl_lang import setLocalTranslate
from calculate.lib.utils.text import simplify_profiles
from calculate.update.package_tools import Git, GitError, Layman
from calculate.lib.utils.portage import Git, GitError, Layman
from calculate.update.profile import RepositoryStorageSet, DEFAULT_BRANCH

from calculate.lib.variables.linux import VariableOsLinuxName, \


+ 1
- 1
pym/update/wsdl_update.py View File

@@ -21,7 +21,7 @@ from calculate.lib.datavars import VariableError,DataVarsError,DataVars
from calculate.core.server.func import WsdlBase
from calculate.install.install import InstallError
from calculate.update.update import Update,UpdateError
from calculate.update.package_tools import GitError
from calculate.lib.utils.portage import GitError
from utils.cl_update import ClUpdateAction
from utils.cl_update_profile import ClUpdateProfileAction
from utils.cl_setup_update import ClSetupUpdateAction


Loading…
Cancel
Save