diff --git a/ChangeLog.txt b/ChangeLog.txt index ec763f91..a63abd51 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,4 +1,7 @@ -4.5.9 - 10/03/2023 +4.6.0 - 14/03/2023 +Updated: +- Dialog text help for dependencies + BugFixed: - Default build path /tmp/slpkg/build - Build a package with multiple sources diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index 09d1d7e9..c32873aa 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -349,7 +349,7 @@ class Slackbuilds(Configs): if self.output != 0: raise SystemExit(f"\n[{self.bred}FAILED{self.endc}]: {self.output}: {self.process_message}.\n") - def choose_dependencies(self, dependencies: list) -> list: + def choose_dependencies(self, dependencies: list, description=None) -> list: """ Choose packages for install. """ height: int = 10 width: int = 70 @@ -361,14 +361,8 @@ class Slackbuilds(Configs): status: bool = False repo_ver: str = SBoQueries(package).version() - help_text: str = f'Package: {package}-{repo_ver}' - - inst_pkg: str = self.utils.is_package_installed(package, self.file_pattern) - inst_pkg_ver: str = self.utils.split_installed_pkg(inst_pkg)[1] - - if inst_pkg and self.utils.is_package_upgradeable(package, self.file_pattern): - help_text: str = f'Installed: {package}-{inst_pkg_ver} -> Available: {repo_ver}' - repo_ver: str = f'{inst_pkg_ver} -> {repo_ver}' + description: str = SBoQueries(package).description() + help_text: str = f'Description: {description}' if self.mode == 'build': status: bool = True