Refactored for sbos

This commit is contained in:
Dimitris Zlatanidis 2023-03-25 17:52:37 +02:00
parent f23e9a0bcb
commit 16f7daf2bd
15 changed files with 14 additions and 14 deletions

View file

@ -4,7 +4,7 @@
from pathlib import Path
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.blacklist import Blacklist
from slpkg.utilities import Utilities
from slpkg.repositories import Repositories

View file

@ -4,7 +4,7 @@
from typing import Generator
from slpkg.configs import Configs
from slpkg.views.ascii import Ascii
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.repositories import Repositories
from slpkg.models.models import session as Session

View file

@ -1,7 +1,7 @@
#!/usr/bin/python3
# -*- coding: utf-8 -*-
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
class Requires:

View file

@ -6,7 +6,7 @@ import shutil
from pathlib import Path
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.downloader import Downloader
from slpkg.views.views import ViewMessage

View file

@ -9,7 +9,7 @@ from slpkg.checks import Check
from slpkg.upgrade import Upgrade
from slpkg.configs import Configs
from slpkg.tracking import Tracking
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.dependees import Dependees
from slpkg.utilities import Utilities
from slpkg.search import SearchPackage
@ -17,7 +17,7 @@ from slpkg.views.cli_menu import Usage
from slpkg.dialog_box import DialogBox
from slpkg.views.version import Version
from slpkg.download_only import Download
from slpkg.slackbuild import Slackbuilds
from slpkg.sbos.slackbuild import Slackbuilds
from slpkg.views.views import ViewMessage
from slpkg.form_configs import FormConfigs
from slpkg.views.help_commands import Help

0
slpkg/sbos/__init__.py Normal file
View file

View file

@ -13,7 +13,7 @@ from multiprocessing import Process, cpu_count
from slpkg.checksum import Md5sum
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.dialog_box import DialogBox
from slpkg.dependencies import Requires

View file

@ -2,7 +2,7 @@
# -*- coding: utf-8 -*-
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
class SearchPackage(Configs):

View file

@ -3,7 +3,7 @@
from slpkg.configs import Configs
from slpkg.views.ascii import Ascii
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.dependencies import Requires

View file

@ -4,7 +4,7 @@
from typing import Generator
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.dependencies import Requires

View file

@ -11,7 +11,7 @@ from distutils.version import LooseVersion
# from packaging.version import Version
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.blacklist import Blacklist
from slpkg.repositories import Repositories

View file

@ -4,7 +4,7 @@
from pathlib import Path
from slpkg.configs import Configs
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.repositories import Repositories
from slpkg.models.models import session as Session

View file

@ -7,7 +7,7 @@ from pathlib import Path
from slpkg.configs import Configs
from slpkg.views.ascii import Ascii
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
from slpkg.utilities import Utilities
from slpkg.dialog_box import DialogBox
from slpkg.repositories import Repositories

View file

@ -1,5 +1,5 @@
import unittest
from slpkg.queries import SBoQueries
from slpkg.sbos.queries import SBoQueries
class TestSBoQueries(unittest.TestCase):