mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-28 09:58:21 +01:00
fix binary dependencies and sizes
This commit is contained in:
parent
352eeed699
commit
ee8bbd0c97
2 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,8 @@ Version 2.3.4
|
|||
28-05-2014
|
||||
|
||||
[Updated] - Fix arguments comments.
|
||||
- Update compression slackbuild package.
|
||||
- Fix binary dependecies and sizes.
|
||||
|
||||
[Feature] - Added to find packages from enabled repositories.
|
||||
- Added script to remove data. (clean.py)
|
||||
|
|
|
@ -95,7 +95,8 @@ class BinaryInstall(object):
|
|||
# sums[1] --> upgraded
|
||||
# sums[2] --> uninstall
|
||||
sums = [sum(i) for i in zip(mas_sum, dep_sum)]
|
||||
unit, size = units(self.comp_sum, self.uncomp_sum)
|
||||
unit, size = units(self.comp_sum + self.dep_comp_sum,
|
||||
self.uncomp_sum + self.dep_uncomp_sum)
|
||||
print("\nInstalling summary")
|
||||
print("=" * 79)
|
||||
print("{0}Total {1} {2}.".format(_m.color['GREY'], sum(sums),
|
||||
|
@ -203,9 +204,6 @@ class BinaryInstall(object):
|
|||
requires = []
|
||||
Msg().resolving()
|
||||
for dep in self.packages:
|
||||
dep_ver = '-'.join(dep.split('-')[:-1]) # fix if input pkg name
|
||||
if not len(dep_ver) == 0: # with version
|
||||
dep = dep_ver
|
||||
dependencies = []
|
||||
dependencies = Utils().dimensional_list(Dependencies(
|
||||
self.PACKAGES_TXT, self.repo).binary(dep))
|
||||
|
|
Loading…
Reference in a new issue