mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
Updated help text
This commit is contained in:
parent
6a10d3fbeb
commit
1536e4d578
2 changed files with 7 additions and 10 deletions
|
@ -1,4 +1,7 @@
|
||||||
4.5.9 - 10/03/2023
|
4.6.0 - 14/03/2023
|
||||||
|
Updated:
|
||||||
|
- Dialog text help for dependencies
|
||||||
|
|
||||||
BugFixed:
|
BugFixed:
|
||||||
- Default build path /tmp/slpkg/build
|
- Default build path /tmp/slpkg/build
|
||||||
- Build a package with multiple sources
|
- Build a package with multiple sources
|
||||||
|
|
|
@ -349,7 +349,7 @@ class Slackbuilds(Configs):
|
||||||
if self.output != 0:
|
if self.output != 0:
|
||||||
raise SystemExit(f"\n[{self.bred}FAILED{self.endc}]: {self.output}: {self.process_message}.\n")
|
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. """
|
""" Choose packages for install. """
|
||||||
height: int = 10
|
height: int = 10
|
||||||
width: int = 70
|
width: int = 70
|
||||||
|
@ -361,14 +361,8 @@ class Slackbuilds(Configs):
|
||||||
status: bool = False
|
status: bool = False
|
||||||
|
|
||||||
repo_ver: str = SBoQueries(package).version()
|
repo_ver: str = SBoQueries(package).version()
|
||||||
help_text: str = f'Package: {package}-{repo_ver}'
|
description: str = SBoQueries(package).description()
|
||||||
|
help_text: str = f'Description: {description}'
|
||||||
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}'
|
|
||||||
|
|
||||||
if self.mode == 'build':
|
if self.mode == 'build':
|
||||||
status: bool = True
|
status: bool = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue