From ee8bbd0c972aac19e01ca783b9c59697b858733b Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 28 May 2015 05:20:04 +0300 Subject: [PATCH] fix binary dependencies and sizes --- CHANGELOG | 2 ++ slpkg/binary/install.py | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index fbfe1629..b8b6b4d7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) diff --git a/slpkg/binary/install.py b/slpkg/binary/install.py index 331dda19..0af0fb37 100644 --- a/slpkg/binary/install.py +++ b/slpkg/binary/install.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))