mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-16 03:41:11 +01:00
Updated for version print
This commit is contained in:
parent
05d7d4ca60
commit
721a239b70
2 changed files with 5 additions and 5 deletions
|
@ -53,7 +53,7 @@ class Dependees(Configs):
|
||||||
else:
|
else:
|
||||||
version: str = SBoQueries(pkg).version()
|
version: str = SBoQueries(pkg).version()
|
||||||
|
|
||||||
package: str = f'{self.byellow}{pkg}-{version}{self.endc}'
|
package: str = f'{self.byellow}{pkg} {version}{self.endc}'
|
||||||
|
|
||||||
print(package)
|
print(package)
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ class Dependees(Configs):
|
||||||
else:
|
else:
|
||||||
version: str = SBoQueries(dep[0]).version()
|
version: str = SBoQueries(dep[0]).version()
|
||||||
|
|
||||||
dependency: str = (f'{self.cyan}{dep[0]}{self.endc}-{self.yellow}'
|
dependency: str = (f'{self.cyan}{dep[0]}{self.endc} {self.yellow}'
|
||||||
f'{version}{self.endc}')
|
f'{version}{self.endc}')
|
||||||
|
|
||||||
if i == 1:
|
if i == 1:
|
||||||
|
|
|
@ -47,7 +47,7 @@ class Tracking(Configs):
|
||||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
||||||
version: str = BinQueries(package, repo).version()
|
version: str = BinQueries(package, repo).version()
|
||||||
|
|
||||||
pkg = f'{self.yellow}{package}-{version}{self.endc}'
|
pkg = f'{self.yellow}{package} {version}{self.endc}'
|
||||||
|
|
||||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
||||||
requires: list = Required(package, repo).resolve()
|
requires: list = Required(package, repo).resolve()
|
||||||
|
@ -67,9 +67,9 @@ class Tracking(Configs):
|
||||||
|
|
||||||
if self.utils.is_option(self.flag_pkg_version, self.flags):
|
if self.utils.is_option(self.flag_pkg_version, self.flags):
|
||||||
|
|
||||||
version: str = f"-{self.yellow}{SBoQueries(req).version()}{self.endc}"
|
version: str = f" {self.yellow}{SBoQueries(req).version()}{self.endc}"
|
||||||
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
if self.utils.is_option(self.flag_bin_repository, self.flags):
|
||||||
version: str = f"-{self.yellow}{BinQueries(req, repo).version()}{self.endc}"
|
version: str = f" {self.yellow}{BinQueries(req, repo).version()}{self.endc}"
|
||||||
|
|
||||||
require: str = f'{self.cyan}{req}{self.endc}{version}'
|
require: str = f'{self.cyan}{req}{self.endc}{version}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue