mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-25 09:58:41 +01:00
Updated imports
This commit is contained in:
parent
078410138a
commit
d86716183c
12 changed files with 27 additions and 15 deletions
|
@ -8,11 +8,11 @@
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
slpkg: slpkg (Slackware Packaging Tool)
|
slpkg: slpkg (Slackware Packaging Tool)
|
||||||
slpkg:
|
slpkg:
|
||||||
slpkg: Slpkg is a software package manager that installs, updates,
|
slpkg: Slpkg is a software package manager that installs, updates and
|
||||||
slpkg: and removes packages on Slackware based systems. It automatically
|
slpkg: removes packages on Slackware-based systems. It automatically
|
||||||
slpkg: computes dependencies and figures out what things should occur
|
slpkg: calculates dependencies and figures out what things need to
|
||||||
slpkg: to install packages. Slpkg makes it easier to maintain groups of
|
slpkg: happen to install packages. Slpkg makes it easier to manage
|
||||||
slpkg: of machines without having to manually update.
|
slpkg: groups of machines without the need for manual updates.
|
||||||
slpkg:
|
slpkg:
|
||||||
slpkg: Homepage: https://dslackw.gitlab.io/slpkg/
|
slpkg: Homepage: https://dslackw.gitlab.io/slpkg/
|
||||||
slpkg:
|
slpkg:
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
import os
|
import os
|
||||||
import json
|
import json
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.queries import SBoQueries
|
from slpkg.queries import SBoQueries
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,12 +1,14 @@
|
||||||
#!/usr/bin/python3
|
#!/usr/bin/python3
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from sqlalchemy.orm import sessionmaker
|
from sqlalchemy.orm import sessionmaker
|
||||||
from sqlalchemy.ext.declarative import declarative_base
|
from sqlalchemy.ext.declarative import declarative_base
|
||||||
from sqlalchemy import create_engine, Column, Integer, Text
|
from sqlalchemy import create_engine, Column, Integer, Text
|
||||||
|
|
||||||
|
from slpkg.configs import Configs
|
||||||
|
|
||||||
|
|
||||||
db_path = Configs.db_path
|
db_path = Configs.db_path
|
||||||
database = Configs.database
|
database = Configs.database
|
||||||
|
|
|
@ -2,11 +2,12 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
|
||||||
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
from slpkg.blacklist import Blacklist
|
||||||
from slpkg.models.models import SBoTable
|
from slpkg.models.models import SBoTable
|
||||||
from slpkg.models.models import session as Session
|
from slpkg.models.models import session as Session
|
||||||
from dataclasses import dataclass
|
|
||||||
from slpkg.blacklist import Blacklist
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
|
|
||||||
import subprocess
|
import subprocess
|
||||||
from slpkg.configs import Configs
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
|
from slpkg.configs import Configs
|
||||||
from slpkg.views.views import ViewMessage
|
from slpkg.views.views import ViewMessage
|
||||||
from slpkg.models.models import LogsDependencies
|
from slpkg.models.models import LogsDependencies
|
||||||
from slpkg.models.models import session as Session
|
from slpkg.models.models import session as Session
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import subprocess
|
import subprocess
|
||||||
from collections import OrderedDict
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
from collections import OrderedDict
|
||||||
|
|
||||||
from slpkg.downloader import Wget
|
from slpkg.downloader import Wget
|
||||||
from slpkg.checksum import Md5sum
|
from slpkg.checksum import Md5sum
|
||||||
|
|
|
@ -3,13 +3,15 @@
|
||||||
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
from os import path
|
from os import path
|
||||||
from slpkg.create_data import CreateData
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.downloader import Wget
|
from slpkg.downloader import Wget
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
from slpkg.create_data import CreateData
|
||||||
from slpkg.models.models import SBoTable
|
from slpkg.models.models import SBoTable
|
||||||
from slpkg.models.models import session as Session
|
from slpkg.models.models import session as Session
|
||||||
from dataclasses import dataclass
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
|
@ -5,7 +5,9 @@
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import tarfile
|
import tarfile
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
import os
|
import os
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
from slpkg.queries import SBoQueries
|
|
||||||
from slpkg.configs import Configs
|
from slpkg.configs import Configs
|
||||||
|
from slpkg.queries import SBoQueries
|
||||||
from slpkg.utilities import Utilities
|
from slpkg.utilities import Utilities
|
||||||
|
from slpkg.blacklist import Blacklist
|
||||||
from slpkg.models.models import LogsDependencies
|
from slpkg.models.models import LogsDependencies
|
||||||
from slpkg.models.models import session as Session
|
from slpkg.models.models import session as Session
|
||||||
from slpkg.blacklist import Blacklist
|
|
||||||
|
|
||||||
|
|
||||||
@dataclass
|
@dataclass
|
||||||
|
|
Loading…
Reference in a new issue