From cfee6a895bc7ebce123e711b507b85b815ec10e9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 27 Feb 2018 19:13:26 +0000 Subject: app-portage/sisyphus : revision bump --- .../sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app-portage/sisyphus/files') diff --git a/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch b/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch index 2d0befa0..bcbf0d87 100644 --- a/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch +++ b/app-portage/sisyphus/files/sisyphus-1.1801-remove-csv-hardcode.patch @@ -1,5 +1,5 @@ diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py -index defc5cf..6a89563 100755 +index defc5cf..5944ef4 100755 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -10,15 +10,14 @@ @@ -26,7 +26,7 @@ index defc5cf..6a89563 100755 + portage_call = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE) + for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): + if "PORTAGE_BINHOST" in portage_output.rstrip(): -+ sisyphus_remote_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').strip('/packages') + '/csv' + '/remote_packages_pre.csv') ++ sisyphus_remote_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').replace('packages', 'csv') + 'remote_packages_pre.csv') + http = urllib3.PoolManager() @@ -38,7 +38,7 @@ index defc5cf..6a89563 100755 + portage_call = subprocess.Popen(['emerge', '--info', '--verbose'], stdout=subprocess.PIPE) + for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): + if "PORTAGE_BINHOST" in portage_output.rstrip(): -+ sisyphus_removable_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').strip('/packages') + '/csv' + '/removable_packages_pre.csv') ++ sisyphus_removable_csv_url = str(portage_output.rstrip().split("=")[1].strip('\"').replace('packages', 'csv') + 'removable_packages_pre.csv') + http = urllib3.PoolManager() -- cgit v1.2.3